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