@@ -64,40 +64,51 @@ Some examples are available [here](./examples/kubernetes).
64
64
65
65
### Installation
66
66
67
- These steps will cover how to install the Scaleway CSI driver in your Kubernetes cluster.
67
+ These steps will cover how to install the Scaleway CSI driver in your Kubernetes cluster, using Helm.
68
+
69
+ > ** Warning**
70
+ > Please note that the manifest files provided in ` deploy/kubernetes ` are deprecated and
71
+ > no longer maintained.
68
72
69
73
#### Requirements
70
74
71
- * A Kubernetes cluster running on Scaleway instances (v1.17 +)
75
+ * A Kubernetes cluster running on Scaleway instances (v1.20 +)
72
76
* Scaleway Project or Organization ID, Access and Secret key
77
+ * Helm v3
73
78
74
79
#### Deployment
75
80
76
- 1 . Configure the Scaleway secrets .
81
+ 1 . Add the Scaleway Helm repository .
77
82
78
- Edit the [ secret file] ( ./deploy/kubernetes/scaleway-secret.yaml ) in order to set your own secrets.
79
- Once replaced, you can create the secret:
80
- ``` bash
81
- $ kubectl apply -f ./deploy/kubernetes/scaleway-secret.yaml
82
- ```
83
+ ``` bash
84
+ helm repo add scaleway https://helm.scw.cloud/
85
+ helm repo update
86
+ ```
83
87
84
- 2 . Deploy the Scaleway CSI driver and the needed sidecars .
88
+ 2. Deploy the latest release of the ` scaleway-csi ` Helm chart .
85
89
86
- It's recommended to deploy the latest tagged version, but you can also deploy the master version. Here we will deploy the latest version ` 0.1.4 ` .
87
- ``` bash
88
- $ kubectl create -f ./deploy/kubernetes/scaleway-csi-v0.1.4.yaml
89
- ```
90
+ ` ` ` bash
91
+ helm upgrade --install scaleway-csi --namespace kube-system scaleway/scaleway-csi \
92
+ --set controller.scaleway.env.SCW_DEFAULT_ZONE=fr-par-1 \
93
+ --set controller.scaleway.env.SCW_DEFAULT_PROJECT_ID=11111111-1111-1111-1111-111111111111 \
94
+ --set controller.scaleway.env.SCW_ACCESS_KEY=ABCDEFGHIJKLMNOPQRST \
95
+ --set controller.scaleway.env.SCW_SECRET_KEY=11111111-1111-1111-1111-111111111111
96
+ ` ` `
90
97
91
- You can now verify that the driver is running:
92
- ``` bash
93
- $ kubectl get pods -n kube-system
94
- [...]
95
- scaleway-csi-controller-76897b577d-b4dgw 5/5 Running 0 3m
96
- scaleway-csi-node-hvkfw 3/3 Running 0 3m
97
- scaleway-csi-node-jmrz2 3/3 Running 0 3m
98
- [...]
99
- ```
100
- and you should see the scaleway-csi-controller and the scaleway-csi-node pods.
98
+ Review the [configuration values](https://github.com/scaleway/helm-charts/blob/master/charts/scaleway-csi/values.yaml) for the Helm chart.
99
+
100
+ 3. You can now verify that the driver is running:
101
+
102
+ ` ` ` bash
103
+ $ kubectl get pods -n kube-system
104
+ [...]
105
+ scaleway-csi-controller-76897b577d-b4dgw 8/8 Running 0 3m
106
+ scaleway-csi-node-hvkfw 3/3 Running 0 3m
107
+ scaleway-csi-node-jmrz2 3/3 Running 0 3m
108
+ [...]
109
+ ` ` `
110
+
111
+ You should see the scaleway-csi-controller and the scaleway-csi-node pods.
101
112
102
113
# # Development
103
114
0 commit comments