eks-cluster

castai/eks-cluster/castai

Terraform Module HCL CASTAI

CAST AI terraform module for connecting an EKS cluster

Install
module "eks-cluster" {
source = "castai/eks-cluster/castai"
version = "14.4.0"
}
plain text: /constructs/tfmod-castai-eks-cluster-castai/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (50)
NameTypeDescriptionDefault
aws_account_idstringID of AWS account the cluster is located in. required
aws_cluster_regionstringRegion of the cluster to be connected to CAST AI. required
aws_cluster_namestringName of the cluster to be connected to CAST AI. required
node_templatesanyMap of node templates to create{}
install_security_agentboolOptional flag for installation of security agent (Kvisor - https://docs.cast.ai/false
pod_pinner_valueslist(string)List of YAML formatted string values for agent helm chart[]
install_live_cniboolOptional flag for installing CAST AI aws-vpc-cni fork for CAST AI Live. Default true
live_valueslist(string)List of YAML formatted string with castai-live values[]
pod_mutator_valueslist(string)List of YAML formatted string values for pod-mutator helm chart[]
cluster_controller_versionstringVersion of castai-cluster-controller helm chart. Default latestnull
install_omniboolOptional flag for installation of Omni productfalse
aws_assume_role_arnstringArn of the role to be used by CAST AI for IAM accessnull
install_egressdboolOptional flag for installation of Egressd (Network cost monitoring) (https://docfalse
cluster_controller_valueslist(string)List of YAML formatted string with cluster-controller values[]
ai_optimizer_versionstringVersion of castai-ai-optimizer helm chart. Default latestnull
autoscaler_settingsanyOptional Autoscaler policy definitions to override current autoscaler settingsnull
spot_handler_valueslist(string)List of YAML formatted string with spot-handler values[]
egressd_valueslist(string)List of YAML formatted string with egressd values[]
kvisor_controller_extra_argsmap(string)⚠️ DEPRECATED: use kvisor_values instead (see example: https://github.com/castai{ "image-scan-enabled": "true", "kub
castai_components_labelsmap(any)Optional additional Kubernetes labels for CAST AI pods{}
workload_autoscaler_versionstringVersion of castai-workload-autoscaler helm chart. Default latestnull
workload_autoscaler_valueslist(string)List of YAML formatted string with cluster-workload-autoscaler values[]
grpc_urlstringgRPC endpoint used by pod-pinner"grpc.cast.ai:443"
… and 10 more inputs
Outputs (4)
cluster_id — CAST AI cluster id, which can be used for accessing cluster data using API
organization_id — CAST.AI organization id of the cluster
castai_node_configurations — Map of node configurations ids by name
castai_node_templates — Map of node template by name
Resources (8)
castai_autoscalercastai_eks_clustercastai_node_configurationcastai_node_configuration_defaultcastai_node_templatecastai_workload_scaling_policyhelm_releasenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version14.4.0
Cloud CASTAI
★ Stars1
Forks7
Total downloads404.3k
Inputs50
Outputs4
Resources8
LicenseMIT
Namespacecastai
Updated