terminals

by Open WebUI

Helm chartv0.7.0App 0.0.3

Terminals: Kubernetes operator and orchestrator for per-user Open Terminal instances

About this chart

terminals

Terminals: Kubernetes operator and orchestrator for per-user Open Terminal instances

Homepage: https://github.com/open-webui/open-terminal

Source Code

Values

KeyTypeDefaultDescription
apiKeystring""API key shared between orchestrator and spawned terminals
crdobject{"install":true}------------------------------------------------------------------------
crd.installbooltrueInstall the Terminal CRD (set false if already installed cluster-wide)
enabledboolfalseEnable or disable the terminals subchart
existingSecretstring""Use an existing secret for the API key (key: api-key)
fullnameOverridestring""Override the full name of the chart
nameOverridestring""Override the name of the chart
networkPolicyobject{"enabled":false,"operator":{"egress":[]},"orchestrator":{"egress":[],"ingress":[]},"terminalPodSelector":{"app.kubernetes.io/component":"terminal"},"terminals":{"egress":[],"ingress":[]}}------------------------------------------------------------------------
networkPolicy.enabledboolfalseEnable NetworkPolicy resources to restrict inter-pod traffic. When enabled, the orchestrator is reachable only from pods in the same namespace and terminal pods can communicate only with the orchestrator.
networkPolicy.operator.egresslist[]Custom egress rules for the operator pod
networkPolicy.orchestrator.egresslist[]Custom egress rules for the orchestrator pod
networkPolicy.orchestrator.ingresslist[]Custom ingress rules for the orchestrator pod
networkPolicy.terminalPodSelectorobject{"app.kubernetes.io/component":"terminal"}Label selector matching terminal pods spawned by the operator. Must align with the labels the terminals-operator actually applies.
networkPolicy.terminals.egresslist[]Custom egress rules for terminal pods
networkPolicy.terminals.ingresslist[]Custom ingress rules for terminal pods
operatorobject{"affinity":{},"containerSecurityContext":{},"extraEnvVars":[],"image":{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/terminals-operator","tag":"latest"},"nodeSelector":{},"podSecurityContext":{},"replicaCount":1,"resources":{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"50m","memory":"64Mi"}},"tolerations":[]}------------------------------------------------------------------------
operator.affinityobject{}Affinity rules for operator pod assignment
operator.containerSecurityContextobject{}Configure container security context for the operator container
operator.extraEnvVarslist[]Env vars added to the operator deployment. Can be defined as list or map style.
operator.nodeSelectorobject{}Node labels for operator pod assignment
operator.podSecurityContextobject{}Configure pod security context for the operator pod ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
operator.tolerationslist[]Tolerations for operator pod assignment
orchestratorobject{"affinity":{},"backend":"kubernetes-operator","containerSecurityContext":{},"extraEnvVars":[],"idleTimeoutMinutes":30,"image":{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/terminals","tag":"latest"},"livenessProbe":{"httpGet":{"path":"/health","port":8080},"initialDelaySeconds":5,"periodSeconds":15},"nodeSelector":{},"podSecurityContext":{},"readinessProbe":{"httpGet":{"path":"/health","port":8080},"initialDelaySeconds":3,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"50m","memory":"128Mi"}},"service":{"containerPort":8080,"port":8080,"type":"ClusterIP"},"terminalImage":"ghcr.io/open-webui/open-terminal:latest","terminalImagePullPolicy":"IfNotPresent","tolerations":[]}------------------------------------------------------------------------
orchestrator.affinityobject{}Affinity rules for orchestrator pod assignment
orchestrator.backendstring"kubernetes-operator"Backend type: kubernetes-operator, kubernetes, docker, local, static
orchestrator.containerSecurityContextobject{}Configure container security context for the orchestrator container
orchestrator.extraEnvVarslist[]Env vars added to the orchestrator deployment. Can be defined as list or map style.
orchestrator.idleTimeoutMinutesint30Idle timeout in minutes for spawned terminal pods (0 = disabled)
orchestrator.livenessProbeobject{"httpGet":{"path":"/health","port":8080},"initialDelaySeconds":5,"periodSeconds":15}Liveness probe for the orchestrator container. Set to null to disable.
orchestrator.nodeSelectorobject{}Node labels for orchestrator pod assignment
orchestrator.podSecurityContextobject{}Configure pod security context for the orchestrator pod ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
orchestrator.readinessProbeobject{"httpGet":{"path":"/health","port":8080},"initialDelaySeconds":3,"periodSeconds":10}Readiness probe for the orchestrator container. Set to null to disable.
orchestrator.resourcesobject{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"50m","memory":"128Mi"}}Resource requests/limits for the orchestrator pod itself
orchestrator.terminalImagestring"ghcr.io/open-webui/open-terminal:latest"Default image for spawned terminal pods
orchestrator.terminalImagePullPolicystring"IfNotPresent"Pull policy for the terminal image inside spawned pods
orchestrator.tolerationslist[]Tolerations for orchestrator pod assignment
terminalDefaultsobject{"persistence":{"enabled":true,"size":"1Gi","storageClass":""}}------------------------------------------------------------------------ Defaults applied to Terminal custom resources when fields are omitted. These values are baked into the CRD's openAPIV3Schema defaults.
terminalDefaults.persistence.enabledbooltrueEnable a PVC for each terminal by default
terminalDefaults.persistence.sizestring"1Gi"Default PVC size for each terminal
terminalDefaults.persistence.storageClassstring""StorageClass for the terminal PVC. Leave empty to use the cluster's default StorageClass (recommended for EKS/GKE/AKS). Set to a name (e.g. "gp3") to pin a class. Note: the empty value is omitted from the CRD entirely so PVCs fall through to the cluster default; setting it to "" via a Terminal CR is still possible and disables dynamic provisioning.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy terminals with OpenTenant

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