A component that connects your Kubernetes cluster to the CAST AI platform to enable Kubernetes automation and cost optimization features.
Visit the docs to connect your cluster.
The helm chart for the CAST AI Kubernetes agent is published in the castai/helm-charts repo.
You must provide the these environment variables:
API_KEY=your-castai-api-key
API_URL=api.cast.ai
KUBECONFIG=/path/to/kubeconfig
Then, based on the Kubernetes provider, you need to provide additional environment variables.
PROVIDER=aks
AKS_LOCATION=your-cluster-location
AKS_SUBSCRIPTION_ID=your-cluster-subscription-id
AKS_NODE_RESOURCE_GROUP=your-cluster-resource-group
PROVIDER=eks
EKS_ACCOUNT_ID=your-aws-account-id
EKS_REGION=your-cluster-region
EKS_CLUSTER_NAME=your-cluster-name
PROVIDER=kops
PROVIDER=gke
GKE_PROJECT_ID=your-gke-project-id
GKE_CLUSTER_NAME=your-cluster-name
GKE_REGION=your-cluster-region
GKE_LOCATION=your-cluster-location
note, when using zonal GKE_REGION
and GKE_LOCATION
is often the same, i.e. europe-west3-a
If you encounter "Error: no Auth Provider found for name "gcp"", add a discard import to the main fn:
import (
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
)
Head to the GitHub new release page, create a new tag at the top, and click Generate Release Notes
at the middle-right.