gke-cluster
castai/gke-cluster/castai
CAST AI terraform module for connecting an GKE cluster
Terraform module for connecting a GKE cluster to CAST AI ================== Website: https://www.cast.ai Requirements ------------ - Terraform 0.13+ Using the module ------------ A module to connect a GKE cluster to CAST AI. Requires castai/castai and hashicorp/google providers to be configured. For Phase 2 onboarding credentials from terraform-gke-iam are required ```hcl module "castai_gke_cluster" { source = "castai/gke-cluster/castai" project_id = var.project_id gke_cluster_name = var.cluster_name gke_cluster_location = module.gke.location # cluster region or zone gke_credentials = module.castai_gke_iam.private_key delete_nodes_on_disconnect = var.delete_nodes_on_disconnect default_node_configuration = module.castai_gke_cluster.node_configurations["default"] node_configurations = { defa
| Name | Type | Description | Default |
|---|---|---|---|
| gke_cluster_location | string | Location of the cluster to be connected to CAST AI. Can be region or zone for zo | required |
| project_id | string | The project id from GCP | required |
| gke_credentials | string | Optional GCP Service account credentials.json | required |
| gke_cluster_name | string | Name of the cluster to be connected to CAST AI. | required |
| castai_components_sets | map(string) | Optional additional 'set' configurations for every CAST AI Helm release. | {} |
| node_templates | any | Map of node templates to create | {} |
| cluster_controller_version | string | Version of castai-cluster-controller helm chart. Default latest | null |
| kvisor_version | string | Version of kvisor chart. If not provided, latest version will be used. | null |
| evictor_values | list(string) | List of YAML formatted string values for evictor helm chart | [] |
| install_workload_autoscaler_exporter | bool | Optional flag for installation of workload autoscaler exporter (custom metrics e | false |
| ai_optimizer_version | string | Version of castai-ai-optimizer helm chart. Default latest | null |
| node_configurations | any | Map of GKE node configurations to create | {} |
| evictor_ext_values | list(string) | List of YAML formatted string with evictor-ext values | [] |
| install_omni | bool | Optional flag for installation of Omni product | false |
| castware_api_url | string | URL of CAST AI API to be used from within the cluster by Cast AI applications (C | "" |
| spot_handler_values | list(string) | List of YAML formatted string values for spot-handler helm chart | [] |
| wait_for_cluster_ready | bool | Wait for cluster to be ready before finishing the module execution, this option | false |
| workload_autoscaler_exporter_version | string | Version of castai-workload-autoscaler-exporter helm chart. Default latest | null |
| pod_mutator_version | string | Version of castai-pod-mutator helm chart. Default latest | null |
| install_ai_optimizer | bool | Optional flag for installation of AI Optimizer (https://docs.cast.ai/docs/gettin | false |
| evictor_ext_version | string | Version of castai-evictor-ext chart. Default latest | null |
| pod_pinner_version | string | Version of pod-pinner 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" |
| kvisor_controller_extra_args | map(string) | ⚠️ DEPRECATED: use kvisor_values instead (see example: https://github.com/castai | {
"image-scan-enabled": "true",
"kub |
| … 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,