aks
castai/aks/castai
Terraform module for connecting an AKS cluster to CAST AI
Terraform module for connecting a AKS cluster to CAST AI ================== Website: https://www.cast.ai Requirements ------------ - Terraform 0.13+ Using the module ------------ A module to create Azure role and a service principal that can be used to connect to CAST AI Requires castai/castai, hashicorp/azurerm, hashicorp/azuread, hashicorp/helm providers to be configured. The required parameters can be provided manually or alternatively can be easily acquired from your AKS cluster resource or Azure RM subscription data source. ```hcl module "castai-aks-cluster" { source = "castai/aks/castai" aks_cluster_name = var.aks_cluster_name aks_cluster_region = var.aks_cluster_region node_resource_group = azurerm_kubernetes_cluster.example.node_resource_group resource_group = azurerm_kubernetes_cl
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group | string | required | |
| aks_cluster_name | string | Name of the cluster to be connected to CAST AI. | required |
| aks_cluster_region | string | Region of the AKS cluster | required |
| tenant_id | string | required | |
| node_resource_group | string | required | |
| evictor_ext_version | string | Version of castai-evictor-ext chart. Default latest | null |
| spot_handler_values | list(string) | List of YAML formatted string values for spot-handler helm chart | [] |
| cluster_controller_version | string | Version of castai-cluster-controller helm chart. If not provided, latest version | null |
| grpc_url | string | gRPC endpoint used by pod-pinner | "grpc.cast.ai:443" |
| node_configurations | any | Map of AKS node configurations to create | {} |
| agent_values | list(string) | List of YAML formatted string values for agent helm chart | [] |
| evictor_values | list(string) | List of YAML formatted string values for evictor helm chart | [] |
| install_pod_mutator | bool | Optional flag for installation of pod mutator | false |
| workload_autoscaler_exporter_version | string | Version of castai-workload-autoscaler-exporter helm chart. Default latest | null |
| cluster_controller_values | list(string) | List of YAML formatted string values for cluster-controller helm chart | [] |
| agent_version | string | Version of castai-agent helm chart. If not provided, latest version will be used | null |
| spot_handler_version | string | Version of castai-spot-handler helm chart. If not provided, latest version will | null |
| workload_autoscaler_values | list(string) | List of YAML formatted string with cluster-workload-autoscaler values | [] |
| pod_mutator_version | string | Version of castai-pod-mutator helm chart. Default latest | null |
| ai_optimizer_version | string | Version of castai-ai-optimizer helm chart. Default latest | null |
| api_url | string | URL of alternative CAST AI API to be used during development or testing | "https://api.cast.ai" |
| wait_for_cluster_ready | bool | Wait for cluster to be ready before finishing the module execution, this option | false |
| workload_autoscaler_exporter_values | list(string) | List of YAML formatted string with castai-workload-autoscaler-exporter values | [] |
| node_templates | any | Map of node templates to create | {} |
| evictor_ext_values | list(string) | List of YAML formatted string with evictor-ext values | [] |
| … and 10 more inputs | |||
cluster_id — CAST.AI cluster id, which can be used for accessing cluster data using APIorganization_id — CAST.AI organization id of the clustercastai_node_configurations — Map of node configurations ids by namecastai_node_templates — Map of node template by nameAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,