aks

castai/aks/castai

Terraform Module HCL CASTAI

Terraform module for connecting an AKS cluster to CAST AI

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

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

Inputs (50)
NameTypeDescriptionDefault
resource_groupstring required
aks_cluster_namestringName of the cluster to be connected to CAST AI. required
aks_cluster_regionstringRegion of the AKS cluster required
tenant_idstring required
node_resource_groupstring required
evictor_ext_versionstringVersion of castai-evictor-ext chart. Default latestnull
spot_handler_valueslist(string)List of YAML formatted string values for spot-handler helm chart[]
cluster_controller_versionstringVersion of castai-cluster-controller helm chart. If not provided, latest versionnull
grpc_urlstringgRPC endpoint used by pod-pinner"grpc.cast.ai:443"
node_configurationsanyMap of AKS node configurations to create{}
agent_valueslist(string)List of YAML formatted string values for agent helm chart[]
evictor_valueslist(string)List of YAML formatted string values for evictor helm chart[]
install_pod_mutatorboolOptional flag for installation of pod mutatorfalse
workload_autoscaler_exporter_versionstringVersion of castai-workload-autoscaler-exporter helm chart. Default latestnull
cluster_controller_valueslist(string)List of YAML formatted string values for cluster-controller helm chart[]
agent_versionstringVersion of castai-agent helm chart. If not provided, latest version will be usednull
spot_handler_versionstringVersion of castai-spot-handler helm chart. If not provided, latest version will null
workload_autoscaler_valueslist(string)List of YAML formatted string with cluster-workload-autoscaler values[]
pod_mutator_versionstringVersion of castai-pod-mutator helm chart. Default latestnull
ai_optimizer_versionstringVersion of castai-ai-optimizer helm chart. Default latestnull
api_urlstringURL of alternative CAST AI API to be used during development or testing"https://api.cast.ai"
wait_for_cluster_readyboolWait for cluster to be ready before finishing the module execution, this option false
workload_autoscaler_exporter_valueslist(string)List of YAML formatted string with castai-workload-autoscaler-exporter values[]
node_templatesanyMap of node templates to create{}
evictor_ext_valueslist(string)List of YAML formatted string with evictor-ext values[]
… 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 (15)
azuread_applicationazuread_application_passwordazuread_service_principalazurerm_federated_identity_credentialazurerm_role_assignmentazurerm_role_definitionazurerm_user_assigned_identitycastai_aks_clustercastai_autoscalercastai_node_configurationcastai_node_configuration_defaultcastai_node_templatecastai_workload_scaling_policyhelm_releasenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version10.4.0
Cloud CASTAI
★ Stars2
Forks13
Total downloads154.3k
Inputs50
Outputs4
Resources15
LicenseMIT
Namespacecastai
Updated