fpga-operator
by KubeSphere
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.
| Parameter | Description | Default |
|---|---|---|
coral.httpsProxy | Sets HTTPS_PROXY environment variable in the container. | |
coral.image | Container image name. | inaccel/coral |
coral.logLevel | Sets LOG_LEVEL environment variable in the container. | info |
coral.port | Number of port to expose on the host. | |
coral.pullPolicy | Image pull policy. | Always |
coral.resources | Compute resources required by this container. | |
coral.tag | Release version. | APP VERSION |
daemon.debug | Argument --debug to the entrypoint. | false |
daemon.image | Container image name. | inaccel/daemon |
daemon.pullPolicy | Image pull policy. | |
daemon.resources | Compute resources required by this container. | |
daemon.tag | Release version. | latest |
driver.enabled | Indicates whether driver should be enabled. | true |
driver.image | Container image name. | inaccel/driver |
driver.pullPolicy | Image pull policy. | |
driver.tag | Release version. | latest |
fpga-discovery.enabled | Dependency condition. | true |
kubelet | Directory path for managing kubelet files. | /var/lib/kubelet |
license | String value of the secret license key. | |
mkrt.image | Container image name. | inaccel/mkrt |
mkrt.pullPolicy | Image pull policy. | |
mkrt.tag | Release version. | latest |
monitor.image | Container image name. | inaccel/monitor |
monitor.port | Number of port to expose on the host. | |
monitor.pullPolicy | Image pull policy. | Always |
monitor.resources | Compute resources required by this container. | |
monitor.tag | Release version. | APP VERSION |
reef.debug | Argument --debug to the entrypoint. | false |
reef.image | Container image name. | inaccel/reef |
reef.pullPolicy | Image pull policy. | |
reef.resources | Compute resources required by this container. | |
reef.tag | Release version. | latest |
root.config | Host-specific system configuration. | /etc/inaccel |
root.state | Variable state information. | /var/lib/inaccel |
tests.vadd.image | Container image name. | inaccel/vadd |
tests.vadd.platforms | FPGA platforms to test. | |
tests.vadd.pullPolicy | Image pull policy. | |
tests.vadd.tag | Release 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfpga-operator is pinned at v2.7.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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