Skip to content

Commit ef0894d

Browse files
authored
docs(k8s): new image system (#5227)
1 parent 476f52a commit ef0894d

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

menu/navigation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,6 +1959,10 @@
19591959
"label": "Upgrade the Kubernetes version on a Kapsule cluster",
19601960
"slug": "upgrade-kubernetes-version"
19611961
},
1962+
{
1963+
"label": "Upgrade a Kapsule cluster to the new node image system",
1964+
"slug": "upgrade-kapsule-new-node-image-system"
1965+
},
19621966
{
19631967
"label": "Use the NVIDIA GPU operator on Kapsule and Kosmos with GPU Instances",
19641968
"slug": "use-nvidia-gpu-operator"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: How to upgrade a Kapsule cluster to the new node image system
3+
description: Learn how to upgrade a Kapsule cluster to the new node image system.
4+
tags: kubernetes kapsule node image
5+
dates:
6+
validation: 2025-09-04
7+
posted: 2025-09-04
8+
categories:
9+
- containers
10+
---
11+
import Requirements from '@macros/iam/requirements.mdx'
12+
13+
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.
14+
15+
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.
16+
Upgrades will also be faster, as nodes will be replaced instead of rebooted.
17+
18+
## Technical specifications of the upgrade process
19+
20+
* **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.
21+
* **New IP addresses**: The new replacement nodes will have new IP addresses (both public and private), which could impact IP filtering configurations.
22+
* **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.
23+
24+
<Requirements />
25+
26+
- [Created](/kubernetes/how-to/create-cluster/) a Kubernetes Kapsule cluster
27+
- Installed the [Scaleway CLI](/scaleway-cli/quickstart/) on your local machine
28+
29+
## Upgrade methods
30+
31+
You can upgrade your Scaleway Kubernetes Kapsule cluster to the new image system using either the console or the CLI.
32+
33+
### Console upgrade
34+
35+
1. Navigate to **Kubernetes** under the **Containers** section of the [Scaleway console](https://console.scaleway.com/) side menu. The Kubernetes dashboard displays.
36+
2. Click the Kapsule cluster name you want to manage. The cluster information page displays.
37+
3. Click **Actions** in the top right corner of the cluster information page. A pop-up menu displays.
38+
4. Click **Upgrade cluster nodes image**. A pop-up displays.
39+
5. Click **Upgrade cluster node image** to confirm.
40+
41+
### CLI upgrade:
42+
You can also upgrade the cluster to the new pool image system using the CLI.
43+
44+
Example of commands:
45+
* Migrate all pools of a cluster to new images:
46+
```
47+
scw k8s pool 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+
```
53+
* Create a new pool that uses the new images:
54+
```
55+
scw k8s cluster create name=foo pools.0.name=bar pools.0.tags.0=scw-compute-image pools.0.size=1 pools.0.node-type=GP1-M
56+
```

0 commit comments

Comments
 (0)