castai-pod-mutator
by Cast AI
Helm chartv0.17.15App v0.17.15Verified publisher
CAST AI Pod Mutator.
About this chart
castai-pod-mutator
CAST AI Pod Mutator.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalEnv | object | {} | Used to set additional environment variables for the pod-mutator container. |
| affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key | string | "kubernetes.io/os" | |
| affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operator | string | "NotIn" | |
| affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0] | string | "windows" | |
| affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].labelSelector.matchExpressions[0].key | string | "app.kubernetes.io/name" | |
| affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].labelSelector.matchExpressions[0].operator | string | "In" | |
| affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].labelSelector.matchExpressions[0].values[0] | string | "castai-pod-mutator" | |
| affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].topologyKey | string | "kubernetes.io/hostname" | |
| castai.apiKey | string | "" | |
| castai.apiKeySecretRef | string | "" | |
| castai.apiUrl | string | "https://api.cast.ai" | |
| castai.clusterID | string | "" | |
| castai.clusterIdSecretKeyRef.key | string | "CLUSTER_ID" | |
| castai.clusterIdSecretKeyRef.name | string | "" | |
| castai.configMapRef | string | "" | |
| containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| containerSecurityContext.readOnlyRootFilesystem | bool | true | |
| dependencyCheck.enabled | bool | true | Enable or disable dependency check preinstall hook |
| dnsPolicy | string | "" | DNS Policy Override - Needed when using custom CNI's. Defaults to "ClusterFirstWithHostNet" if hostNetwork is true |
| enableTopologySpreadConstraints | bool | false | |
| enforcer.enabled | bool | false | |
| enforcer.maxEvictionsPerMinute | int | 60 | |
| enforcer.scanInterval | string | "10s" | |
| envFrom | list | [] | Used to set additional environment variables for the pod-mutator container via configMaps or secrets. |
| fullnameOverride | string | "castai-pod-mutator" | |
| global | object | {"castai":{"apiKeySecretRef":""},"commonAnnotations":{},"commonLabels":{},"imagePullSecrets":[],"registry":""} | 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.registry | string | "" | Container registry prefix for all images (e.g. "my-registry.example.com"). When set, it is prepended to all image repositories. |
| healthProbePort | int | 8081 | Port for liveness and readiness probes |
| hostNetwork | bool | false | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "ghcr.io/castai/images/pod-mutator" | |
| image.tag | string | "" | |
| leaderElection.enabled | bool | false | |
| leaderElection.leaseName | string | "castai-pod-mutator-leader-election" | |
| logLevel | int | 0 | Log level of the pod-mutator: 1 = debug, 0 = info, -1 = warn, -2 = error. |
| metricsPort | int | 8080 | Port for the metrics HTTP server. |
| mutator.processingDelay | string | "30s" | |
| nameOverride | string | "" | |
| openshift.scc.enabled | bool | true | |
| openshift.scc.priority | int | 5 | |
| openshift.scc.useRestrictedProfile | bool | false | |
| podAnnotations | object | {} | Annotations added to each pod. |
| podLabels | object | {} | |
| podSecurityContext.fsGroup | int | 1005 | |
| podSecurityContext.runAsGroup | int | 1005 | |
| podSecurityContext.runAsNonRoot | bool | true | |
| podSecurityContext.runAsUser | int | 1005 | |
| podSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| preStopHook | object | {"enabled":true} | Controls whether the lifecycle.preStop.sleep hook is added to the pod-mutator container. The preStop hook is used to prevent mutation failures during pod-mutator restarts by allowing the container to finish in-flight webhook requests before it is terminated. |
| priorityClass.enabled | bool | true | |
| priorityClass.name | string | "system-cluster-critical" | |
| replicas | int | 2 | |
| resources.limits.memory | string | "1Gi" | |
| resources.requests.cpu | string | "20m" | |
| resources.requests.memory | string | "512Mi" | |
| service.webhookPortName | string | "https" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| tolerations[0].key | string | "CriticalAddonsOnly" | |
| tolerations[0].operator | string | "Exists" | |
| topologySpreadConstraints[0].labelSelector.matchLabels."app.kubernetes.io/name" | string | "castai-pod-mutator" | |
| topologySpreadConstraints[0].maxSkew | int | 1 | |
| topologySpreadConstraints[0].topologyKey | string | "kubernetes.io/hostname" | |
| topologySpreadConstraints[0].whenUnsatisfiable | string | "ScheduleAnyway" | |
| webhook.failurePolicy | string | "Ignore" | |
| webhook.reinvocationPolicy | string | "Never" | |
| webhook.url | string | "" |
Deploy castai-pod-mutator 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-mutator 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-mutator is pinned at v0.17.15 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