Skip to content

EKS NVMe SSD provisioner for Amazon EC2 Instance Stores

License

Notifications You must be signed in to change notification settings

TableCheck-Labs/eks-nvme-ssd-provisioner

 
 

Repository files navigation

This repository hosts the brunsgaard/eks-nvme-ssd-provisioner project on Docker Hub.

The advantages of using this prebuilt image are:

  • ARM64 image support for ARM (Graviton) based instances (for instance, m6gd) with local disk.
  • Hosted on Docker Hub instead of EU GCR, so the author will not incur additional cost.
  • Hosted Helm chart.

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

Helm

A hosted Helm chart is available. Use the following commands to use it. https://tablecheck-labs.github.io/eks-nvme-ssd-provisioner/

helm repo add tablecheck-local-provisioner https://tablecheck-labs.github.io/eks-nvme-ssd-provisioner/
helm upgrade --install tablecheck-local-provisioner tablecheck-local-provisioner/eks-nvme-ssd-provisioner

For local installations:

helm upgrade --install --namespace=kube-system eks-nvme-ssd-provisioner ./helm/eks-nvme-ssd-provisioner

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

About

EKS NVMe SSD provisioner for Amazon EC2 Instance Stores

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.6%
  • Smarty 31.2%
  • Dockerfile 6.2%