Skip to content

Commit ab11718

Browse files
committed
feat(k8s): update cli examples
1 parent 67a9114 commit ab11718

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

pages/kubernetes/how-to/upgrade-kapsule-new-node-image-system.mdx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,24 @@ dates:
88
categories:
99
- containers
1010
---
11-
11+
import Requirements from '@macros/iam/requirements.mdx'
1212

1313
Scaleway is introducing a new image system for Kubernetes Kapsule clusters, bringing significant improvements, including reduced boot time, faster autoscaling, and an updated Ubuntu version.
1414

1515
The advantages of the new image system include improved boot time, reduced from over five minutes to under one minute, and faster autoscaling. The new images are based on Ubuntu 24.04 LTS, replacing the previous 22.04 LTS version.
1616
Upgrades will also be faster, as nodes will be replaced instead of rebooted.
1717

18-
1918
## Technical specifics of the upgrade Process
2019

2120
* **Node replacement**: During upgrade, nodes will be replaced with new ones, which may have implications for data stored locally on nodes (e.g., `hostPath`). Data stored in persistent volumes (PV) will not be affected.
2221
* **New IP addresses**: The new replacement nodes will have new IP addresses (both public and private), which could impact IP filtering configurations.
2322
* **GPU pool upgrade**: The upgrade of GPU pools may result in a partial downtime due to a limitation in the GPU operator, which cannot handle mixed Ubuntu versions (22.04 vs 24.04). The operator will install incorrect drivers on new nodes until the upgrade is complete, after which it will recover automatically.
2423

24+
<Requirements />
25+
26+
- [Created](/kubernetes/how-to/create-cluster/) a Kubernetes Kapsule cluster
27+
- Have installed the [Scaleway CLI](/scaleway-cli/quickstart/) on your local machine
28+
2529
## Upgrade methods
2630

2731
You can upgrade your Scaleway Kubernetes Kapsule cluster to the new image system using either the console or the CLI:
@@ -34,8 +38,15 @@ You can upgrade your Scaleway Kubernetes Kapsule cluster to the new image system
3438
4. Click **Upgrade cluster nodes image**. A pop-up dispalys.
3539
5. Confirm the upgrade by clicking **Upgrade cluster node image**
3640

37-
### CLI upgrade :
41+
### CLI upgrade:
3842
You can also upgrade the cluster to the new pool image system using the CLI.
3943

40-
Example command:
41-
* Migrate all pools of a cluster to new images: `scw k8s cluster migrate-to-new-images cluster-id=11111111-1111-1111-1111-111111111111`
44+
Example commands:
45+
* Migrate all pools of a cluster to new images:
46+
```
47+
scw k8s cluster migrate-to-new-images cluster-id=11111111-1111-1111-1111-111111111111
48+
```
49+
* Migrate a specific pool of a cluster to new images:
50+
```
51+
scw k8s pool migrate-to-new-images cluster-id=11111111-1111-1111-1111-111111111111 pools.0=22222222-2222-2222-2222-222222222222
52+
```

0 commit comments

Comments
 (0)