You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/topics/external-cloud-provider-with-ebs-csi-driver.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,15 @@ For clusters that will use external CCM, `cloud-provider: external` flag needs t
27
27
28
28
29
29
External CCM and EBS CSI driver can be installed manually or using ClusterResourceSets (CRS) onto the CAPA workload cluster.
30
-
To install them with CRS, create a CRS resource on the management cluster with labels, for example `csi: external` and `ccm: external` labels.
30
+
To install them with CRS, create a CRS resource on the management cluster with labels, for example `csi: external` and `ccm: external` labels.
31
31
Then, when creating `Cluster` objects for workload clusters that should have this CSR applied, create them with matching labels `csi: external` and `ccm: external` for CSI and CCM, respectively.
32
32
33
-
Manifests for installing the AWS CCM and the AWS EBS CSI driver are available from their respective
34
-
GitHub repositories (see [here for the AWS CCM](https://github.com/kubernetes/cloud-provider-aws) and
33
+
Manifests for installing the AWS CCM and the AWS EBS CSI driver are available from their respective
34
+
GitHub repositories (see [here for the AWS CCM](https://github.com/kubernetes/cloud-provider-aws) and
35
35
[here for the AWS EBS CSI driver](https://github.com/kubernetes-sigs/aws-ebs-csi-driver)).
36
36
37
-
An example of a workload cluster manifest with labels assigned for matching to a CRS can be found
### Verifying dynamically provisioned volumes with CSI driver
41
41
Once you have the cluster with external CCM and CSI controller running successfully, you can test the CSI driver functioning with following steps after switching to workload cluster:
@@ -113,14 +113,14 @@ spec:
113
113
3. Once you apply the above manifest, the EBS volumes will be created and attached to the worker nodes.
114
114
115
115
>**IMPORTANT WARNING:** The CRDs from the AWS EBS CSI driver and AWS external cloud provider gives issue while installing the respective controllers on the AWS Cluster, it doesn't allow statefulsets to create the volume on existing EC2 instance.
116
-
> We need the CSI controller deployment and CCM pinned to the control plane which has right permissions to create, attach
116
+
> We need the CSI controller deployment and CCM pinned to the control plane which has right permissions to create, attach
117
117
> and mount the volumes to EC2 instances. To achieve this, you should add the node affinity rules to the CSI driver controller deployment and CCM DaemonSet manifests.
118
118
> ```yaml
119
119
> tolerations:
120
120
> - key: node-role.kubernetes.io/master
121
121
> effect: NoSchedule
122
122
> - effect: NoSchedule
123
-
> key: node-role.kubernetes.io/control-plane
123
+
> key: node-role.kubernetes.io/control-plane
124
124
> affinity:
125
125
> nodeAffinity:
126
126
> requiredDuringSchedulingIgnoredDuringExecution:
@@ -132,14 +132,14 @@ spec:
132
132
> - key: node-role.kubernetes.io/master
133
133
> operator: Exists
134
134
>```
135
-
135
+
136
136
137
137
## Validated upgrade paths for existing clusters
138
138
139
139
From Kubernetes 1.23 onwards, `CSIMigrationAWS` flag is enabled by default, which requires the installation of [external CSI driver](https://github.com/kubernetes-sigs/aws-ebs-csi-driver), unless `CSIMigrationAWS` is disabled by the user.
140
140
For installing external CSI/CCM in the upgraded cluster, CRS can be used, see the section above for details.
141
141
142
-
CCM and CSI do not need to be migrated to use external plugins at the same time,
142
+
CCM and CSI do not need to be migrated to use external plugins at the same time,
143
143
external CSI drivers works with in-tree CCM (Warning: using in-tree CSI with external CCM does not work).
0 commit comments