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
## Adopting the existing aws-node resources in an EKS cluster
110
110
111
-
If you do not want to delete the existing aws-node resources in your cluster that run the aws-vpc-cni and then install this helm chart, you can adopt the resources into a release instead. Refer to the script below to import existing resources into helm. Once you have annotated and labeled all the resources this chart specifies, enable the `originalMatchLabels` flag. If you have been careful this should not diff and leave all the resources unmodified and now under management of helm.
111
+
If you do not want to delete the existing aws-node resources in your cluster that run the aws-vpc-cni and then install this helm chart, you can adopt the resources into a release instead. Refer to the script below to import existing resources into helm. Once you have annotated and labeled all the resources this chart specifies, enable the `originalMatchLabels` flag. If you have been careful, this should not diff and leave all the resources unmodified and now under management of helm.
112
112
113
-
WARNING: Substitute YOUR_HELM_RELEASE_NAME_HERE with the name of your helm release.
114
113
```
115
114
#!/usr/bin/env bash
116
115
117
116
set -euo pipefail
118
117
119
118
for kind in daemonSet clusterRole clusterRoleBinding serviceAccount; do
120
119
echo "setting annotations and labels on $kind/aws-node"
Kubernetes recommends using server-side apply for more control over the field manager. After adopting the chart resources, you can run the following command to apply the chart:
0 commit comments