Skip to content

Commit fd0a8e5

Browse files
committed
chore: add upgrade docs for 1.33
Signed-off-by: Reza Abbasalipour <[email protected]>
1 parent 37c62d2 commit fd0a8e5

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

docs/canonicalk8s/snap/reference/releases.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and backwards-incompatible changes.
1111
:titlesonly:
1212
:maxdepth: 2
1313
/snap/reference/versions/1.32
14+
/snap/reference/upgrading.md
1415
```
1516

1617

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Upgrade notes
2+
3+
## Upgrade Instructions
4+
5+
### 1.32 -> 1.33
6+
Updating the {{product}} snap to version 1.33 is straightforward in most cases.
7+
If you are not using dual stack networking, you can simply run:
8+
9+
```bash
10+
sudo snap refresh k8s --channel=1.33/stable
11+
```
12+
All components, including Cilium, will be updated automatically.
13+
14+
#### Additional Steps for Dual Stack Environments
15+
If your cluster is configured with dual stack networking (IPv4 and IPv6),
16+
you’ll need to make a manual adjustment before refreshing. {{product}} 1.33
17+
includes Cilium v1.17, which introduces a stricter requirement for dual stack:
18+
Each node must report both IPv4 and IPv6 addresses to the API server.
19+
If this is not satisfied, the Cilium agent pods will fail to start.
20+
For each node in the cluster, perform the following steps:
21+
- Edit the kubelet configuration:
22+
```bash
23+
sudo nano /var/snap/k8s/common/args/kubelet
24+
```
25+
- Locate the --node-ip flag.
26+
- Add both the IPv4 and IPv6 addresses (comma-separated) from the same interface:
27+
```bash
28+
--node-ip=<IPv4>,<IPv6>
29+
```
30+
- Restart the `kubelet` service
31+
```bash
32+
sudo systemctl restart snap.k8s.kubelet.service
33+
```
34+
- Restart the Cilium daemonset:
35+
```bash
36+
sudo k8s kubectl rollout restart daemonset cilium -n kube-system
37+
```
38+
39+
Now you can run the snap `refresh` command to perform the upgrade.

0 commit comments

Comments
 (0)