castai-pod-pinner
by Cast AI
Helm chartv1.15.3App v1.15.3Verified publisher
CAST AI Pod Pinning deployment chart.
About this chart
castai-pod-pinner
CAST AI Pod Pinning deployment chart.
Requirements
| Repository | Name | Version |
|---|---|---|
| file://child-charts/castai-pod-pinner-ext | castai-pod-pinner-ext | 1.1.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalEnv | object | {} | Used to set additional environment variables for the pod-pinner container. |
| affinity | object | {"nodeAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"preference":{"matchExpressions":[{"key":"provisioner.cast.ai/managed-by","operator":"In","values":["cast.ai"]}]},"weight":100}],"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/os","operator":"NotIn","values":["windows"]}]}]}}} | Affinity for the pod-pinner pod. |
| castai | object | {"apiKey":"","apiKeySecretRef":"","apiURL":"https://api.cast.ai","clusterID":"","clusterIdSecretKeyRef":{"key":"CLUSTER_ID","name":""},"grpcURL":"grpc.cast.ai:443"} | CAST AI settings for the pod-pinner. |
| castai.apiKey | string | "" | The CAST AI API key. Either this or apiKeySecretRef must be provided. |
| castai.apiKeySecretRef | string | "" | Kubernetes Secret reference for the CAST AI API key. Either this or apiKey must be provided. |
| castai.apiURL | string | "https://api.cast.ai" | The CAST AI API URL. |
| castai.clusterID | string | "" | The CAST AI cluster ID. |
| castai.grpcURL | string | "grpc.cast.ai:443" | The CAST AI gRPC URL. |
| dnsPolicy | string | "" | DNS policy for the pod-pinner pod. Needed with custom CNIs. Defaults to "ClusterFirstWithHostNet" when hostNetwork is enabled. |
| envFrom | list | [] | Used to set additional environment variables for the pod-pinner container via configMaps or secrets. |
| global | object | {"commonAnnotations":{},"commonLabels":{},"fullnameOverride":"castai-pod-pinner","nameOverride":"","serviceAccount":{"annotations":{},"create":true,"name":""}} | Values to apply for the parent and child chart resources. |
| global.commonAnnotations | object | {} | Annotations to add to all resources. |
| global.commonLabels | object | {} | Labels to add to all resources. |
| global.fullnameOverride | string | "castai-pod-pinner" | Override the fullname of resources. |
| global.nameOverride | string | "" | Override the name of the chart. |
| global.serviceAccount | object | {"annotations":{},"create":true,"name":""} | Service account to use for the pod-pinner. |
| global.serviceAccount.annotations | object | {} | Annotations to add to the service account |
| global.serviceAccount.create | bool | true | Specifies whether a service account should be created |
| global.serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| healthProbe | object | {"port":9091} | Health probe settings for the pod-pinner container. |
| healthProbe.port | int | 9091 | Port the /healthz and /readyz endpoints listen on (HEALTH_ADDRESS). |
| hostNetwork | bool | false | Enable host networking for the pod-pinner pod. Required when the control plane cannot reach pod IPs directly (e.g. EKS with Calico VXLAN overlay), since the API server must be able to reach the admission webhook. |
| image | object | {"pullPolicy":"IfNotPresent","repository":"ghcr.io/castai/images/pod-pinner","tag":""} | Image settings for the pod-pinner container. |
| image.pullPolicy | string | "IfNotPresent" | The image pull policy. |
| image.repository | string | "ghcr.io/castai/images/pod-pinner" | The image repository to use. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | Image pull secrets to use for the pod-pinner pod. |
| managedByCASTAI | bool | true | Specifies whether the Pod Pinner should be managed by CAST AI automatically. Only the exact value "false" disables automatic management of the chart. If set to "false", then the installation, upgrade or any changes have to be managed manually. |
| metrics | object | {"port":9090} | Metrics settings for the pod-pinner container. |
| metrics.port | int | 9090 | Port the Prometheus metrics endpoint listens on (METRICS_ADDRESS). |
| nodeSelector | object | {} | Node selector for the pod-pinner pod. |
| podAnnotations | object | {} | Extra annotations to add to the pod. |
| podLabels | object | {} | Extra labels to add to the pod. |
| podSecurityContext | object | {} | Pod security context. |
| replicaCount | int | 2 | Replica count for the pod-pinner deployment. |
| resources | object | {"limits":{"memory":"256Mi"},"requests":{"cpu":"20m","memory":"256Mi"}} | Pod-pinner container resources. |
| securityContext | object | {"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":1000} | Security context for the pod-pinner container. |
| service | object | {"port":8443,"type":"ClusterIP"} | Service settings for the pod-pinner. |
| service.port | int | 8443 | The service port to use. The port is restricted to certain values because the webhook server uses this port. |
| service.type | string | "ClusterIP" | The service type to use. |
| tolerations | list | [] | Tolerations for the pod-pinner pod. |
| webhook | object | {"failurePolicy":"Ignore","url":""} | Webhook settings for the pod-pinner. |
| webhook.failurePolicy | string | "Ignore" | Overrides the failure policy of the webhook whose default is Ignore. |
| webhook.url | string | "" | Overrides webhook service routing and uses the provided url instead. |
Deploy castai-pod-pinner with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has castai-pod-pinner 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 chartcastai-pod-pinner is pinned at v1.15.3 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