This page explains steps by step instruction to install the AWS EBS CSI driver on AWS EKS cluster.
A CSI driver with snapshotting capability is a requirement for T4K to function properly. It has been discovered that in the Fall of 2022, the snapshot controller has been removed from the AWS EBS CSI driver install process. In addition, CSI is not installed by default with the creation of an EKS cluster so a customer will have to add this CSI support manually after the creation of an EKS cluster.
The instructions are validated for AWS EKS v 1.21, 1.22, and 1.23.
Getting Started with AWS CLI and EKS Cluster deployment:
In the left navigation pane, choose Identity Providers under Access management. If a Provider is listed that matches the URL for your cluster, then you already have a provider for your cluster. If a provider isn't listed that matches the URL for your cluster, then you must create one.
To create a provider, choose Add provider.
For Provider type, select OpenID Connect.
For Provider URL, enter the OIDC provider URL for your cluster, and then choose Get thumbprint.
% kubectl tvk-preflight run --storage-class ebs-sc
INFO[0000] Created log file with name - preflight-2022-11-4T16-44-27.log
INFO[0000] Setting log level as info
INFO[0001] ====PREFLIGHT RUN OPTIONS====
INFO[0001] LOG-LEVEL="INFO"
INFO[0001] KUBECONFIG-PATH=""
INFO[0001] NAMESPACE="default"
INFO[0001] INCLUSTER="false"
INFO[0001] STORAGE-CLASS="ebs-sc"
...
INFO[0134] ✔ restored pod from volume snapshot of unmounted pv has expected data
INFO[0134] ✔ Preflight check for volume snapshot and restore is successful
INFO[0134] All preflight checks succeeded!
INFO[0138] All preflight resources cleaned