-
Notifications
You must be signed in to change notification settings - Fork 251
docs(k8s): new image system #5227
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
Merged
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
438f088
feat(k8s): image system
bene2k1 0447693
feat(k8s): new node image system
bene2k1 67a9114
feat(k8s): update meta data
bene2k1 ab11718
feat(k8s): update cli examples
bene2k1 1783896
docs(k8s): update doc
bene2k1 d1e7f4b
Apply suggestions from code review
bene2k1 28f2bc3
Update pages/kubernetes/how-to/upgrade-kapsule-new-node-image-system.mdx
ofranc 3c4bf3f
Update pages/kubernetes/how-to/upgrade-kapsule-new-node-image-system.mdx
ofranc 24b0e48
Apply suggestions from code review
nerda-codes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
pages/kubernetes/how-to/upgrade-kapsule-new-node-image-system.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
title: How to upgrade a Kapsule cluster to the new node image system | ||
description: Learn how to upgrade a Kapsule cluster to the new node image system. | ||
tags: kubernetes kapsule node image | ||
dates: | ||
validation: 2025-08-05 | ||
posted: 2025-08-05 | ||
categories: | ||
- containers | ||
--- | ||
import Requirements from '@macros/iam/requirements.mdx' | ||
|
||
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. | ||
|
||
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. | ||
Upgrades will also be faster, as nodes will be replaced instead of rebooted. | ||
|
||
## Technical specifics of the upgrade Process | ||
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* **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. | ||
* **New IP addresses**: The new replacement nodes will have new IP addresses (both public and private), which could impact IP filtering configurations. | ||
* **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. | ||
|
||
<Requirements /> | ||
|
||
- [Created](/kubernetes/how-to/create-cluster/) a Kubernetes Kapsule cluster | ||
- Have installed the [Scaleway CLI](/scaleway-cli/quickstart/) on your local machine | ||
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Upgrade methods | ||
|
||
You can upgrade your Scaleway Kubernetes Kapsule cluster to the new image system using either the console or the CLI: | ||
ofranc marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Console upgrade | ||
|
||
1. Navigate to **Kubernetes** under the **Containers** section of the [Scaleway console](https://console.scaleway.com/) side menu. The Kubernetes dashboard displays. | ||
2. Click the Kapsule cluster name you want to manage. The cluster information page displays. | ||
3. Click **Actions** in the top right corner of the cluster information page. A pop-up menu displays. | ||
4. Click **Upgrade cluster nodes image**. A pop-up dispalys. | ||
bene2k1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
5. Confirm the upgrade by clicking **Upgrade cluster node image** | ||
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### CLI upgrade: | ||
You can also upgrade the cluster to the new pool image system using the CLI. | ||
|
||
Example commands: | ||
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Migrate all pools of a cluster to new images: | ||
``` | ||
scw k8s cluster migrate-to-new-images cluster-id=11111111-1111-1111-1111-111111111111 | ||
bene2k1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
* Migrate a specific pool of a cluster to new images: | ||
``` | ||
scw k8s pool migrate-to-new-images cluster-id=11111111-1111-1111-1111-111111111111 pools.0=22222222-2222-2222-2222-222222222222 | ||
``` | ||
* Create a new pool that uses the new images: | ||
``` | ||
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 | ||
``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.