Truefoundry Azure Cluster Module
Name | Version |
---|---|
terraform | >= 1.8 |
azurerm | >= 3.107.0 |
Name | Version |
---|---|
azurerm | >= 3.107.0 |
Name | Source | Version |
---|---|---|
aks | Azure/aks/azurerm | 9.4.1 |
Name | Type |
---|---|
azurerm_monitor_diagnostic_setting.cluster_autoscaler_diagnostic | resource |
azurerm_role_assignment.network_contributor_cluster | resource |
azurerm_user_assigned_identity.cluster | resource |
azurerm_kubernetes_cluster.cluster | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
allowed_ip_ranges | Allowed IP ranges to connect to the cluster | list(string) |
[ |
no |
autoscaler_profile_expander | Expander for the autoscaler profile. Possible values are least-waste , priority , most-pods and random . Defaults to least-waste |
string |
"least-waste" |
no |
autoscaler_profile_max_graceful_termination_sec | Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. Defaults to 180 | number |
180 |
no |
autoscaler_profile_max_node_provisioning_time | Maximum time the autoscaler waits for a node to be provisioned. Defaults to 15 minutes | string |
"15m" |
no |
autoscaler_profile_max_unready_nodes | Maximum Number of allowed unready nodes. Defaults to 3 | number |
3 |
no |
autoscaler_profile_scale_down_delay_after_add | Scale down delay after add for the autoscaler profile | string |
"2m" |
no |
autoscaler_profile_scale_down_delay_after_delete | Scale down delay after delete for the autoscaler profile | string |
"30s" |
no |
autoscaler_profile_scale_down_unneeded | Scale down unneeded for the autoscaler profile | string |
"1m" |
no |
autoscaler_profile_scale_down_unready | Scale down unready for the autoscaler profile | string |
"2m" |
no |
autoscaler_profile_scale_down_utilization_threshold | Scale down utilization threshold for the autoscaler profile | number |
0.7 |
no |
autoscaler_profile_skip_nodes_with_local_storage | Skip nodes with pods with local storage, for example, EmptyDir or HostPath | bool |
false |
no |
autoscaler_profile_skip_nodes_with_system_pods | Skip nodes with system pods for the autoscaler profile | bool |
true |
no |
cluster_autoscaler_diagnostic_enable_override | Enable overriding of the cluster autoscaler diagnostic setting name. | bool |
false |
no |
cluster_autoscaler_diagnostic_override_name | Cluster autoscaler diagnostic setting name. Default is '-cluster-autoscaler' | string |
"" |
no |
control_plane | Whether the cluster is control plane | bool |
n/a | yes |
control_plane_instance_type | Control plane nodepool instance type | string |
"Standard_D4s_v5" |
no |
cpu_pools | CPU pools to be attached | list(object({ |
n/a | yes |
critical_node_pool_enabled | Enable Critical nodepool for the cluster | bool |
true |
no |
critical_node_pool_instance_type | Critical nodepool instance type | string |
"Standard_D4s_v5" |
no |
disk_driver_version | Version of disk driver. Supported values v1 and v2 |
string |
"v1" |
no |
disk_size | Disk size of the initial node pool in GB | string |
"100" |
no |
dns_ip | IP from service CIDR used for internal DNS | string |
"10.255.0.10" |
no |
enable_autoscaler_profile | Enable autoscaler profile for the cluster | bool |
true |
no |
enable_blob_driver | Enable blob storage provider | bool |
true |
no |
enable_disk_driver | Enable disk storage provider | bool |
true |
no |
enable_file_driver | Enable file storage provider | bool |
true |
no |
enable_snapshot_controller | Enable snapshot controller | bool |
true |
no |
enable_storage_profile | Enable storage profile for the cluster. If disabled enable_blob_driver , enable_file_driver , enable_disk_driver and enable_snapshot_controller will have no impact |
bool |
true |
no |
gpu_pools | GPU pools to be attached | list(object({ |
n/a | yes |
initial_node_pool_instance_type | Instance size of the initial node pool | string |
"Standard_D4s_v5" |
no |
initial_node_pool_max_count | Max count in the initial node pool | number |
2 |
no |
initial_node_pool_max_surge | Max surge in percentage for the intial node pool | string |
"10" |
no |
initial_node_pool_min_count | Min count in the initial node pool | number |
1 |
no |
initial_node_pool_name | Name of the initial node pool | string |
"initial" |
no |
kubernetes_version | Version of the kubernetes engine | string |
"1.31" |
no |
location | Location of the resource group | string |
n/a | yes |
log_analytics_workspace_enable_override | Enable overriding of the log analytics workspace name. | bool |
false |
no |
log_analytics_workspace_enabled | value to enable log analytics workspace | bool |
true |
no |
log_analytics_workspace_override_name | Log analytics workspace name. Default is '-log-analytics' | string |
"" |
no |
max_pods_per_node | Max pods per node | number |
32 |
no |
name | Name of the cluster. If use_existing_cluster is enabled name is used to fetch details of existing cluster | string |
n/a | yes |
network_plugin | Network plugin to use for cluster | string |
"kubenet" |
no |
oidc_issuer_enabled | Enable OIDC for the cluster | bool |
true |
no |
orchestrator_version | Kubernetes version for the orchestration layer (nodes). By default it will be derived with var.kubernetes_version until passed explicitly | string |
"1.31" |
no |
pod_cidr | CIDR of the pod in cluster | string |
"10.244.0.0/16" |
no |
private_cluster_enabled | Private cluster | bool |
false |
no |
resource_group_name | Name of the resource group | string |
n/a | yes |
service_cidr | CIDR of the services in cluster | string |
"10.255.0.0/16" |
no |
sku_tier | SKU tier of the cluster. Defaults to standard | string |
"Standard" |
no |
subnet_id | Subnet Id for the cluster | string |
n/a | yes |
tags | A map of tags to add to all resources | map(string) |
{} |
no |
use_existing_cluster | Flag to reuse existing cluster | bool |
false |
no |
vnet_id | Vnet ID for the cluster | string |
n/a | yes |
workload_identity_enabled | Enable workload identity in the cluster | bool |
true |
no |
Name | Description |
---|---|
cluster_endpoint | Endpoint for your Kubernetes API server |
cluster_host | The host in the azurerm_kubernetes_cluster 's kube_config block. The Kubernetes cluster server host. |
cluster_id | The name/id of the EKS cluster. Will block on cluster creation until the cluster is really ready |
cluster_identity | The azurerm_kubernetes_cluster 's identity block. |
cluster_name | Name of the cluster |
cluster_networking_profile | Networking profile of the cluster |
cluster_oidc_issuer_url | OIDC issuer url of the cluster |
use_existing_cluster | Flag to check if an existing cluster is used |