tfy-inferentia-operator

by TrueFoundry

Helm chartv0.2.8Verified publisher

Truefoundry Inferentia Operator

About this chart

Tfy-inferentia-operator helm chart packaged by TrueFoundry

Tfy-inferentia-operator is a Helm chart that facilitates the deployment and management of AWS Inferentia resources in Kubernetes clusters.

Refer to,

  • https://github.com/aws-neuron/aws-neuron-sdk/blob/e0ef8a1a780ee798e7f01fe94f1235d571e211c6/src/k8/k8s-neuron-device-plugin.yml#L1
  • https://awsdocs-neuron.readthedocs-hosted.com/en/latest/containers/kubernetes-getting-started.html

Parameters

Configuration for the device plugin responsible for node feature discovery

NameDescriptionValue
devicePlugin.enabledEnable device plugin Daemonset.true
devicePlugin.resources.requests.cpuCPU request for device plugin Daemonset.100m
devicePlugin.resources.requests.memoryMemory request for device plugin Daemonset.128Mi
devicePlugin.resources.limits.cpuCPU limit for device plugin Daemonset.400m
devicePlugin.resources.limits.memoryMemory limit for device plugin Daemonset.256Mi
devicePlugin.image.repositoryImage repository to use for device plugin Daemonset.public.ecr.aws/neuron/neuron-device-plugin
devicePlugin.image.tagImage tag to use for device plugin Daemonset.2.23.30.0
imagePullSecrets(global) List of image pull secrets[]
devicePlugin.imagePullSecretsList of image pull secrets[]
devicePlugin.labelsLabels for device plugin Daemonsets.{}
devicePlugin.annotationsAnnotations for device plugin Daemonsets.{}
devicePlugin.affinityAffinity settings for device plugin Daemonset.{}

Configuration for the scheduler responsible for scheduling neuron pods

NameDescriptionValue
scheduler.enabledEnable Scheduler.true
scheduler.schedulerNameName of the scheduler.neuron-scheduler
scheduler.image.repositoryK8s Scheduler image repository.public.ecr.aws/eks-distro/kubernetes/kube-scheduler
scheduler.image.tagK8s Scheduler image tag.v1.29.14-eks-1-29-latest
scheduler.labelsK8s Scheduler labels.{}
scheduler.annotationsK8s Scheduler annotations.{}
scheduler.resources.requests.cpuCPU request for K8s scheduler.200m
scheduler.resources.requests.memoryMemory request for K8s scheduler.128Mi
scheduler.resources.limits.cpuCPU limit for K8s scheduler.400m
scheduler.resources.limits.memoryMemory limit for K8s scheduler.256Mi
scheduler.extension.image.repositoryNeuron scheduler extension image repository.public.ecr.aws/neuron/neuron-scheduler
scheduler.extension.image.tagNeuron scheduler extension image tag.2.23.30.0
scheduler.extension.resources.requests.cpuCPU request for Neuron scheduler extension.200m
scheduler.extension.resources.requests.memoryMemory request for Neuron scheduler extension.128Mi
scheduler.extension.resources.limits.cpuCPU limit for Neuron scheduler extension.400m
scheduler.extension.resources.limits.memoryMemory limit for Neuron scheduler extension.256Mi
scheduler.imagePullSecretsList of image pull secrets[]
scheduler.extension.labelsLabels for Neuron scheduler extension.{}
scheduler.extension.annotationsAnnotations for Neuron scheduler extension.{}
scheduler.extension.imagePullSecretsList of image pull secrets[]
scheduler.affinityAffinity settings for scheduler.{}
scheduler.extension.affinityAffinity settings for scheduler extension.{}

Deploy tfy-inferentia-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tfy-inferentia-operator 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 charttfy-inferentia-operator is pinned at v0.2.8 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