castai-cloud-proxy

by Cast AI

Helm chartv0.4.0App v0.0.12Verified publisher

CAST AI cloud-proxy chart

About this chart

castai-cloud-proxy

CAST AI cloud-proxy chart

Values

KeyTypeDefaultDescription
additionalEnvobject{"LOG_LEVEL":"4"}Used to set additional environment variables for the cloud-proxy container.
affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].keystring"app.kubernetes.io/name"
affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].operatorstring"In"
affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].values[0]string"castai-cloud-proxy"
affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.topologyKeystring"kubernetes.io/hostname"
affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weightint100
castaiobject{"apiKey":"","apiKeySecretRef":"","apiURL":"https://api.cast.ai","clusterID":"","grpcURL":"grpc.cast.ai:443","useCompression":true}CAST AI specific settings
castai.apiKeystring""The CAST AI API key. Either this or apiKeySecretRef must be provided.
castai.apiKeySecretRefstring""Kubernetes Secret reference for the CAST AI API key. Either this or apiKey must be provided.
castai.apiURLstring"https://api.cast.ai"The CAST AI API URL.
castai.clusterIDstring""The CAST AI cluster ID.
castai.grpcURLstring"grpc.cast.ai:443"The CAST AI gRPC URL.
castai.useCompressionbooltrueUse compression for gRPC communication.
commonAnnotationsobject{}
fullnameOverridestring""
gke.authobject{"jsonCredentials":""}Optional: by default metadata server is used. Override this options to choose another authentication method. (https://cloud.google.com/docs/authentication/application-default-credentials).
gke.auth.jsonCredentialsstring""JSON credentials to use when authenticating against GCP. You can generate the JSON key using this documentation: https://cloud.google.com/iam/docs/keys-create-delete#creating
image.pullPolicystring"IfNotPresent"
image.repositorystring"us-docker.pkg.dev/castai-hub/library/cloud-proxy"
image.tagstring""
imagePullSecretslist[]
livenessProbe.failureThresholdint3
livenessProbe.httpGet.pathstring"/livez"
livenessProbe.httpGet.portint9091
livenessProbe.periodSecondsint10
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint1
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
priorityClass.enabledbooltrue
priorityClass.namestring"system-cluster-critical"
readinessProbe.failureThresholdint3
readinessProbe.httpGet.pathstring"/readyz"
readinessProbe.httpGet.portint9091
readinessProbe.periodSecondsint10
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint1
replicaCountint2
resources.limits.cpuint1
resources.limits.memorystring"512Mi"
resources.requests.cpustring"100m"
resources.requests.memorystring"128Mi"
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1000
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Deploy castai-cloud-proxy with OpenTenant

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