-
Notifications
You must be signed in to change notification settings - Fork 32
chore: add upgrade docs for 1.33 #1520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fd0a8e5
5746ed9
c7809f5
977b8a7
a88602d
50ab009
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,55 @@ | ||||||
# Upgrade notes | ||||||
|
||||||
## Upgrade 1.32 to 1.33 | ||||||
|
||||||
If you are not using dual stack networking, you can simply run: | ||||||
|
||||||
```bash | ||||||
sudo snap refresh k8s --channel=1.33/stable | ||||||
``` | ||||||
|
||||||
All components will be updated automatically. | ||||||
|
||||||
### Additional steps for dual-stack environments | ||||||
|
||||||
If your cluster is configured with dual stack networking (IPv4 and IPv6), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
you’ll need to make a manual adjustment before refreshing. {{product}} 1.33 | ||||||
includes Cilium v1.17, which introduces a stricter requirement for dual stack: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
each node must report both IPv4 and IPv6 addresses to the API server. | ||||||
If this is not satisfied, the Cilium agent pods will fail to start. | ||||||
For each node in the cluster: | ||||||
|
||||||
- Update the `--node-ip` flag in the kubelet configuration file | ||||||
`/var/snap/k8s/common/args/kubelet` to include both the IPv4 and IPv6 addresses | ||||||
(comma-separated) from the network interface that is used to connect the node | ||||||
to the cluster network: | ||||||
|
||||||
```bash | ||||||
--node-ip=<IPv4>,<IPv6> | ||||||
``` | ||||||
|
||||||
- Restart the `kubelet` service | ||||||
|
||||||
```bash | ||||||
sudo systemctl restart snap.k8s.kubelet.service | ||||||
``` | ||||||
|
||||||
- Restart the Cilium DaemonSet: | ||||||
|
||||||
```bash | ||||||
sudo k8s kubectl rollout restart daemonset cilium -n kube-system | ||||||
``` | ||||||
|
||||||
Now you can run the snap `refresh` command to perform the upgrade. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to add in a verify step? Like to check the version has updated and the cluster is ready? Verify the upgradeCheck the
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great idea, I added it with a separate heading to emphasize the steps for all the users regardless of their networking environment. WDYT? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good! |
||||||
|
||||||
### Verify the upgrade | ||||||
|
||||||
Check the `k8s` snap version has been updated and the cluster is back in the | ||||||
`Ready` state. | ||||||
|
||||||
``` | ||||||
snap info k8s | ||||||
sudo k8s status --wait-ready | ||||||
``` | ||||||
|
||||||
|
Uh oh!
There was an error while loading. Please reload this page.