Skip to content

Commit 3b1a0ae

Browse files
authored
chore(kapsule): remove part on SBS CSI migration (#5521)
1 parent 1292419 commit 3b1a0ae

File tree

1 file changed

+1
-56
lines changed

1 file changed

+1
-56
lines changed

pages/kubernetes/api-cli/managing-storage.mdx

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -31,65 +31,10 @@ To verify if the driver is running, use the following command:
3131
kubectl get csidriver
3232
```
3333

34-
The output of this command provides a quick status update on the CSI plugin within your Kubernetes cluster. For the latest features and enhancements, consider upgrading to [release 0.3](https://github.com/scaleway/scaleway-csi/tree/release-0.3#block-storage-low-latency), which supports **[Block Storage low latency](/block-storage/quickstart/)** volumes.
34+
The output of this command provides a quick status update on the CSI plugin within your Kubernetes cluster.
3535

3636
To identify your current CSI release version, navigate to the [Cockpit interface](/cockpit/how-to/access-grafana-and-managed-dashboards/), specifically the **Kubernetes Cluster - Overview** dashboard.
3737

38-
## Upgrading to CSI version 0.3
39-
40-
<Message type="important">
41-
The Scaleway Block Volume Container Storage Interface (CSI) driver **v0.2** will reach its end of support on **February 28, 2025**.
42-
</Message>
43-
44-
The migration moves volumes from the [Instances API](https://www.scaleway.com/en/developers/api/instance/) to the [Scaleway Block Storage API](https://www.scaleway.com/en/developers/api/block/). No volume detachment is expected, only a control plane restart.
45-
Newer storage classes have been introduced, with `sbs-default` set as the new default. The existing `scw-bssd` and `scw-bssd-retain` storage classes will remain available for now.
46-
47-
48-
### Using the API with curl
49-
50-
You can trigger the migration to SBS-CSI using the following `curl` command:
51-
52-
```bash
53-
curl "https://api.scaleway.com/k8s/v1/regions/$REGION/clusters/$CLUSTER_ID/migrate-to-sbs-csi" \
54-
-X POST \
55-
-H "X-Auth-Token: $TOKEN"
56-
```
57-
58-
Replace the placeholders with the following:
59-
60-
- `$REGION`: Your cluster's region (e.g., `fr-par`, `nl-ams`).
61-
- `$CLUSTER_ID`: Your cluster ID.
62-
- `$TOKEN`: Your Scaleway API token.
63-
64-
This command will initiate the migration process for your cluster to the new SBS-CSI.
65-
66-
### Using the Scaleway CLI
67-
68-
Alternatively, you can use the Scaleway CLI to perform the migration. Ensure the CLI is installed and configured with your API credentials.
69-
70-
1. Install and configure the Scaleway CLI, if you have not already:
71-
```bash
72-
scw init
73-
```
74-
75-
2. Run the migration command:
76-
77-
```bash
78-
scw k8s cluster migrate-to-sbs-csi $CLUSTER_ID region=$REGION
79-
```
80-
81-
Replace `$REGION` and `$CLUSTER_ID` with your cluster’s region and ID, respectively.
82-
83-
### Post-migration verification
84-
85-
After initiating the migration, the cluster status will change to _updating_. Once the migration completes, you can verify that the CSI driver has been updated and that the new driver properly handles Persistent Volume Claims (PVCs).
86-
87-
```bash
88-
kubectl get csidriver
89-
```
90-
91-
This command will confirm that the migration was successful.
92-
9338
## Going further
9439

9540
* [Creating persistent volumes with Scaleway Block Storage](https://github.com/scaleway/scaleway-csi/tree/release-0.3/examples/kubernetes#pvc--deployment)

0 commit comments

Comments
 (0)