/eks-nvme-ssd-provisioner

EKS NVMe SSD provisioner for Amazon EC2 Instance Stores

Primary LanguageShell

2020/12/02
WARN: Please build and host your own image as the GCR costs are becomming significant for me and I need to find another solution for hosting the image soon. Today I have replaced the image tag v1.0.0 with an alpine version.

eks-nvme-ssd-provisioner

The eks-nvme-ssd-provisioner will format and mount NVMe SSD disks on EKS nodes. This is needed to make the sig-storage-local-static-provisioner work well with EKS clusters. The eks-nvme-ssd-provisioner will create a raid0 device if multiple NVMe SSD disks are found.

The resources in manifests expect the following node selector

aws.amazon.com/eks-local-ssd: "true"

Therefore you must make sure to set that label on all nodes that you want to use with the eks-nvme-ssd-provisioner and sig-storage-local-static-provisioner.

Install

Install the DaemonSet by applying the following resource

kubectl apply -f manifests/eks-nvme-ssd-provisioner.yaml

Optionally you can also apply a pre-configed local-storage-provisioner that plays well with the eks-nvme-ssd-provisioner

kubectl apply -f manifests/storage-local-static-provisioner.yaml

Relation to sig-storage-local-static-provisioner

  • eks-nvme-ssd-provisioner creates disks from block storage
  • sig-storage-local-static-provisioner creates PersistentVolumens from disks

In most cases you want both, if you have a another way to setup you disks jump directly to sig-storage-local-static-provisioner