aws-eks-base icon indicating copy to clipboard operation
aws-eks-base copied to clipboard

feat: EBS CSI driver add-on

Open mglotov opened this issue 2 years ago • 1 comments

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [x] I am running the latest version
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Expected Behavior

EBS CSI driver add-on is installed with other add-ons

Current Behavior

AWS announced general availability of EBS CSI driver add-on https://aws.amazon.com/about-aws/whats-new/2022/03/eks-add-ons-ebs-csi-driver-available/. It's a good reason to add it in our repo

mglotov avatar Apr 04 '22 05:04 mglotov

From a doc https://docs.aws.amazon.com/eks/latest/userguide/managing-ebs-csi.html:

Important
To use the snapshot functionality of the Amazon EBS CSI driver, you must install the external snapshotter before the installation of the add-on. The external snapshotter components must be installed in the following order:

[CustomResourceDefinition](https://github.com/kubernetes-csi/external-snapshotter/tree/master/client/config/crd) (CRD) for volumesnapshotclasses, volumesnapshots, and volumesnapshotcontents

[RBAC](https://github.com/kubernetes-csi/external-snapshotter/blob/master/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml) (ClusterRole, ClusterRoleBinding, and so on)

[controller deployment](https://github.com/kubernetes-csi/external-snapshotter/blob/master/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml)

For more information, see [CSI Snapshotter](https://github.com/kubernetes-csi/external-snapshotter) on GitHub.

So, now it isn't possible to do it, because all add-ons installed automatically right after the cluster creation

mglotov avatar Apr 07 '22 06:04 mglotov