Management of your infrastructure can be automated using our Terraform provider.
Installation steps, example projects, and releases are available at the repository: https://github.com/castai/terraform-provider-castai.
For long-term use for clusters managed via Terraform, you must use an API Key with Full Access created from the CAST AI UI. Follow this guide for obtaining-api-access-key.
When managing your cloud infrastructure using Terraform and GitOps check the following examples:
- AKS and CAST AI example for GitOps onboarding flow.
- EKS and CAST AI example for GitOps onboarding flow.
- GKE and CAST AI example for GitOps onboarding flow.
These examples show how to onboard your cluster to CAST AI using GitOps flow. In the listed scenarios CAST AI Node Configuration, Node Templates and Autoscaler policies are managed using Terraform but all the components such as castai-agent, castai-cluster-controller, castai-evictor, castai-spot-handler, castai-kvisor can be installed using other tools e.g. ArgoCD, manual Helm releases, etc.
Updated about 1 month ago