fpga-operator

by KubeSphere

Helm chartv2.7.4App 2.1Apache-2.0

Simplifying FPGA management in Kubernetes

About this chart

InAccel FPGA Operator

Simplifying FPGA management in Kubernetes

Installing the Chart

To install the chart with the release name my-fpga-operator:

$ helm repo add inaccel https://setup.inaccel.com/helm
$ helm install my-fpga-operator inaccel/fpga-operator

These commands deploy InAccel FPGA Operator on the Kubernetes cluster in the default configuration.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-fpga-operator deployment:

$ helm uninstall my-fpga-operator

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

The following table lists the configurable parameters of the InAccel FPGA Operator chart and their default values.

ParameterDescriptionDefault
coral.httpsProxySets HTTPS_PROXY environment variable in the container.
coral.imageContainer image name.inaccel/coral
coral.logLevelSets LOG_LEVEL environment variable in the container.info
coral.portNumber of port to expose on the host.
coral.pullPolicyImage pull policy.Always
coral.resourcesCompute resources required by this container.
coral.tagRelease version.APP VERSION
daemon.debugArgument --debug to the entrypoint.false
daemon.imageContainer image name.inaccel/daemon
daemon.pullPolicyImage pull policy.
daemon.resourcesCompute resources required by this container.
daemon.tagRelease version.latest
driver.enabledIndicates whether driver should be enabled.true
driver.imageContainer image name.inaccel/driver
driver.pullPolicyImage pull policy.
driver.tagRelease version.latest
fpga-discovery.enabledDependency condition.true
kubeletDirectory path for managing kubelet files./var/lib/kubelet
licenseString value of the secret license key.
mkrt.imageContainer image name.inaccel/mkrt
mkrt.pullPolicyImage pull policy.
mkrt.tagRelease version.latest
monitor.imageContainer image name.inaccel/monitor
monitor.portNumber of port to expose on the host.
monitor.pullPolicyImage pull policy.Always
monitor.resourcesCompute resources required by this container.
monitor.tagRelease version.APP VERSION
reef.debugArgument --debug to the entrypoint.false
reef.imageContainer image name.inaccel/reef
reef.pullPolicyImage pull policy.
reef.resourcesCompute resources required by this container.
reef.tagRelease version.latest
root.configHost-specific system configuration./etc/inaccel
root.stateVariable state information./var/lib/inaccel
tests.vadd.imageContainer image name.inaccel/vadd
tests.vadd.platformsFPGA platforms to test.
tests.vadd.pullPolicyImage pull policy.
tests.vadd.tagRelease version.latest

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install my-fpga-operator -f values.yaml inaccel/fpga-operator

Tip: You can use the default values.yaml

Deploy fpga-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fpga-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 chartfpga-operator is pinned at v2.7.4 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