Skip to content

Commit d61965e

Browse files
committed
feat(k8s): update content
1 parent 3ea6b60 commit d61965e

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

pages/kubernetes/how-to/use-sfs-with-kubernetes.mdx

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,47 +19,34 @@ The Scaleway File Storage CSI driver is designed to work with Kubernetes Kapsule
1919
The Scaleway File Storage CSI driver supports the following features:
2020

2121
- Dynamic provisioning: Automatically create Scaleway File Storage volumes using PVCs and StorageClasses.
22-
- `ReadWriteMany` access mode: Allows multiple pods to read from and write to the same file storage volume simultaneously.
2322
- Import of existing Volumes: Integrate pre-existing Scaleway File Storage volumes into Kubernetes.
24-
- Custom storage classes: Define specific parameters, such as file system type (e.g., ext4), for volumes.
23+
- Volume upsizing: The size of the volume can be [increased](https://github.com/scaleway/scaleway-filestorage-csi/tree/main?tab=readme-ov-file#file-systems-resizing) without the need to detach the File System
24+
- `ReadWriteOnce` access mode: The volume can be mounted as read-write by a single node.
25+
- `ReadOnlyMany` access mode: The volume can be mounted read-only by many nodes.
26+
- `ReadWriteMany` access mode: The volume can be mounted as read-write by many nodes.
2527

2628
<Requirements />
2729

2830
- A Scaleway account logged into the [console](https://console.scaleway.com)
2931
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
3032
- [Created](/kubernetes/how-to/create-cluster/) a Kubernetes Kapsule cluster
31-
- Helm installed for deploying the CSI driver
3233
- Access to the Scaleway File Storage API
3334

3435
## Installation
3536

36-
The Scaleway File Storage CSI driver can be installed using Helm. Follow these steps to deploy the driver in your Kubernetes Kapsule cluster:
37+
The Scaleway File Storage CSI driver is preinstalled on Scaleway's managed Kubernetes.
3738

38-
1. Add the Scaleway Helm repository:
39-
```bash
40-
helm repo add scaleway https://helm.scw.cloud/
41-
helm repo update
42-
```
39+
<Message type="note">
40+
During the private beta this feature is only available for users invited into the beta.
41+
</Message>
4342

44-
2. Deploy the Scaleway File Storage CSI Driver:
45-
46-
```bash
47-
helm upgrade --install scaleway-filestorage-csi --namespace kube-system scaleway/scaleway-filestorage-csi \
48-
--set controller.scaleway.env.SCW_DEFAULT_ZONE=fr-par-1 \
49-
--set controller.scaleway.env.SCW_DEFAULT_PROJECT_ID=<your-project-id> \
50-
--set controller.scaleway.env.SCW_ACCESS_KEY=<your-access-key> \
51-
--set controller.scaleway.env.SCW_SECRET_KEY=<your-secret-key>
52-
```
53-
54-
Replace `<your-project-id>`, `<your-access-key>`, and `<your-secret-key>` with your Scaleway credentials.
55-
56-
3. Check that the CSI driver pods are running:
43+
You can run the following command to check that the CSI driver pods are running:
5744

5845
```bash
5946
kubectl get pods -n kube-system -l app=scaleway-filestorage-csi
6047
```
6148

62-
You should see the `scaleway-filestorage-csi-controller` and `scaleway-filestorage-csi-node` pods in a `Running` state.
49+
You should see the `scaleway-filestorage-csi-controller` and `scaleway-filestorage-csi-node` pods in a `Running` state.
6350

6451
## Using the Scaleway File Storage CSI Driver
6552

@@ -83,6 +70,10 @@ The CSI driver supports dynamic provisioning of Persistent Volumes (PVs) and Per
8370
storageClassName: scw-fs
8471
```
8572
73+
<Message type="note">
74+
The minimum size for a File System is 100G.
75+
</Message>
76+
8677
Apply it:
8778
8879
```bash

0 commit comments

Comments
 (0)