aws-efa-k8s-device-plugin

by Helm

Helm chartv0.5.35App v0.5.22-eksbuild.9

A Helm chart for EFA device plugin.

About this chart

AWS EFA Kubernetes Device Plugin

This chart installs the AWS EFA Kubernetes Device Plugin daemonset

Prerequisites

  • Helm v3

Installing the Chart

First add the EKS repository to Helm:

helm repo add eks https://aws.github.io/eks-charts

To install the chart with the release name efa in the kube-system namespace and default configuration:

helm install efa ./aws-efa-k8s-device-plugin -n kube-system

Configuration

ParameterDescriptionDefault
image.repositoryEFA image repository602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/aws-efa-k8s-device-plugin
image.tagEFA image tagv0.5.22-eksbuild.9
securityContextEFA plugin security contextallowPrivilegeEscalation: true, privileged: true, runAsNonRoot: false, runAsUser: 0
supportedInstanceLabels.keysKubernetes key to interpret as instance typenodes.kubernetes.io/instance-type
supportedInstanceLabels.valuesList of instances which currently support EFA devicessee https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-instance-types
resourcesResources for containers in podrequests.cpu: 10m requests.memory: 20Mi
nodeSelectorNode labels for pod assignment{}
tolerationsOptional deployment tolerations[]
additionalPodAnnotationsPod annotations to apply in addition to the default ones{}
additionalPodLabelsPod labels to apply in addition to the defualt ones{}
nameOverrideOverride the name of the chart""
fullnameOverrideOverride the full name of the chart""
imagePullSecretsDocker registry pull secret[]
updateStrategyUpdate strategy for daemon settype: RollingUpdate

Deploy aws-efa-k8s-device-plugin with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aws-efa-k8s-device-plugin on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartaws-efa-k8s-device-plugin is pinned at v0.5.35 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply