File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
docs/canonicalk8s/snap/reference Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ and backwards-incompatible changes.
11
11
:titlesonly:
12
12
:maxdepth: 2
13
13
/snap/reference/versions/1.32
14
+ /snap/reference/upgrading.md
14
15
```
15
16
16
17
Original file line number Diff line number Diff line change
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.
You can’t perform that action at this time.
0 commit comments