Step by step guide to connecting your cluster
Connect your Kubernetes cluster to the Cast AI platform by deploying the Cast AI agent in your cluster. For GCP users, we also offer an initial discovery option.
Step 1: Log into the Cast AI console
Once logged in, you can see a button to connect a new Kubernetes cluster in the upper right corner. Click on this button.
GCP Users: Cloud Connect Option
If you're using Google Cloud Platform, you can use our Connect Cloud feature to discover your GKE clusters before agent installation. Click on Connect Cloud in the navigation menu and run the provided script in your cloud shell. This will discover all your GKE clusters with basic information before you decide which ones to fully connect with the agent.
Step 2: Select your provider
Pick your managed Kubernetes service provider. You can choose from the following options:
- Amazon Elastic Kubernetes Service (EKS)
- Azure Kubernetes Service (AKS)
- Google Kubernetes Engine (GKE)
- Red Hat OpenShift service on AWS
- AWS Kops
- All Alternative Clouds (Cast AI Anywhere)
Pick your provider and click Next.
AWS PrivateLink
For customers who wish to use Cast AI with EKS clusters that do not have direct internet access, we offer the Cast AI PrivateLink capability on AWS. Read more about it on our dedicated Github repository.
Step 3: Run the script
Open your cloud shell or terminal and run the provided script. Make sure that kubectl
is installed, and it can access your cluster.
Copy the script and run it in your cloud shell or terminal.
Note
Cast AI's read-only agent has no access to your sensitive data and doesn't change your cluster configuration. Read more about the security of our agent.
Once you're done, click I ran the script.
Step 4: Automated cluster connection
Cast AI will automatically connect your cluster to the platform.
Once that happens, you're ready to explore the platform and learn more about your cluster's cost performance.
Updated about 5 hours ago