eks-cluster
castai/eks-cluster/castai
CAST AI terraform module for connecting an EKS cluster
Terraform module for connecting an AWS EKS cluster to CAST AI ================== Website: Requirements ------------ - Terraform 0.13+ Using the module ------------ A module to connect an EKS cluster to CAST AI. Requires castai/castai and hashicorp/aws providers to be configured. ```hcl module "castai-eks-cluster" { source = "castai/eks-cluster/castai" aws_account_id = var.aws_account_id aws_cluster_region = var.cluster_region aws_cluster_name = var.cluster_id aws_assume_role_arn = module.castai-eks-role-iam.role_arn // Default node configuration will be used for all CAST provisioned nodes unless specific configuration is requested. default_node_configuration = module.cast-eks-cluster.castai_node_configurations["default"] node_configurations = { default = { subnets = module.vpc.private_subn
| Name | Type | Description | Default |
|---|---|---|---|
| aws_account_id | string | ID of AWS account the cluster is located in. | required |
| aws_cluster_region | string | Region of the cluster to be connected to CAST AI. | required |
| aws_cluster_name | string | Name of the cluster to be connected to CAST AI. | required |
| node_templates | any | Map of node templates to create | {} |
| install_security_agent | bool | Optional flag for installation of security agent (Kvisor - https://docs.cast.ai/ | false |
| pod_pinner_values | list(string) | List of YAML formatted string values for agent helm chart | [] |
| install_live_cni | bool | Optional flag for installing CAST AI aws-vpc-cni fork for CAST AI Live. Default | true |
| live_values | list(string) | List of YAML formatted string with castai-live values | [] |
| pod_mutator_values | list(string) | List of YAML formatted string values for pod-mutator helm chart | [] |
| cluster_controller_version | string | Version of castai-cluster-controller helm chart. Default latest | null |
| install_omni | bool | Optional flag for installation of Omni product | false |
| aws_assume_role_arn | string | Arn of the role to be used by CAST AI for IAM access | null |
| install_egressd | bool | Optional flag for installation of Egressd (Network cost monitoring) (https://doc | false |
| cluster_controller_values | list(string) | List of YAML formatted string with cluster-controller values | [] |
| ai_optimizer_version | string | Version of castai-ai-optimizer helm chart. Default latest | null |
| autoscaler_settings | any | Optional Autoscaler policy definitions to override current autoscaler settings | null |
| spot_handler_values | list(string) | List of YAML formatted string with spot-handler values | [] |
| egressd_values | list(string) | List of YAML formatted string with egressd values | [] |
| kvisor_controller_extra_args | map(string) | ⚠️ DEPRECATED: use kvisor_values instead (see example: https://github.com/castai | {
"image-scan-enabled": "true",
"kub |
| castai_components_labels | map(any) | Optional additional Kubernetes labels for CAST AI pods | {} |
| workload_autoscaler_version | string | Version of castai-workload-autoscaler helm chart. Default latest | null |
| workload_autoscaler_values | list(string) | List of YAML formatted string with cluster-workload-autoscaler values | [] |
| grpc_url | string | gRPC endpoint used by pod-pinner | "grpc.cast.ai:443" |
| … 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,