Difference between revisions of "Terraform AKS module"

From wikieduonline
Jump to navigation Jump to search
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://registry.terraform.io/modules/Azure/aks/azurerm/latest
 +
* GitHub: https://github.com/Azure/terraform-azurerm-aks
 +
* Versions: https://github.com/Azure/terraform-azurerm-aks/releases
 +
 +
[[terraform show]] | egrep "open_service_mesh_enabled|http_application_routing_enabled"
  
 +
== Setup ([[az account show]]) ==
 +
export [[ARM_SUBSCRIPTION_ID]]="<[[azure_subscription_id]]>"
 +
export [[ARM_TENANT_ID]]="<[[azure_subscription_tenant_id]]>"
 +
export [[ARM_CLIENT_ID]]="<[[service_principal_appid]]>"
 +
export [[ARM_CLIENT_SECRET]]="<[[service_principal_password]]>"
  
 +
[[az account show]]
  
* https://registry.terraform.io/modules/Azure/aks/azurerm/latest
+
== Arguments ==
  
 +
[[web_app_routing]]
 +
[[open_service_mesh_enabled]]
 +
[[http_application_routing_enabled]]
  
 
  [[private_cluster_enabled]]
 
  [[private_cluster_enabled]]
 
  [[role_based_access_control_enabled]]
 
  [[role_based_access_control_enabled]]
  [[sku_tier]]                                        [[Standard]]
+
  [[sku_tier]]                                        [[Standard]] | [[premium]]
 +
[[os_disk_size_gb]]
 +
[[node_pools]]
 +
          [[vm_size]]                        [[Standard_A1_v2]]
 +
[[agents_count]]
 +
[[agents_pool_max_surge]]
 +
[[Terraform AKS module: enable_auto_scaling|enable_auto_scaling]]
 +
 
 +
[[disk_encryption_set_id]]
  
[[os_disk_size_gb]]
 
[[vm_size]]                        [[Standard_A1_v2]]
 
  
 +
[[identity_type]]
 +
[[identity]]
 +
[[service_principal]]
  
 +
[[rbac_aad]]
 +
[[rbac_aad_managed]]
  
 +
== Errors ==
 +
* [[Error: creating Kubernetes Cluster]], [[ServicePrincipalNotFound]]
 +
* [[error: Encountered an error whilst ensuring Resource Providers are registered.]]
 +
* [[AADSTS700016: Application with identifier ... was not found in the directory]]
  
 
== Related ==
 
== Related ==
Line 19: Line 48:
 
  [[azurerm_container_registry]]
 
  [[azurerm_container_registry]]
 
  [[azurerm application gateway]]
 
  [[azurerm application gateway]]
 +
[[azurerm_kubernetes_cluster]]
 +
Deprecated:
 +
* [[public_network_access_enabled]]
 +
* [[enforce_private_link_endpoint_network_policies]]
  
 +
== See also ==
 
* {{tf aks}}
 
* {{tf aks}}
 
* {{AKS}}
 
* {{AKS}}
 +
 +
[[Category:AKS]]

Latest revision as of 17:04, 18 July 2024

terraform show | egrep "open_service_mesh_enabled|http_application_routing_enabled"

Setup (az account show)[edit]

export ARM_SUBSCRIPTION_ID="<azure_subscription_id>"
export ARM_TENANT_ID="<azure_subscription_tenant_id>"
export ARM_CLIENT_ID="<service_principal_appid>"
export ARM_CLIENT_SECRET="<service_principal_password>"
az account show

Arguments[edit]

web_app_routing
open_service_mesh_enabled
http_application_routing_enabled
private_cluster_enabled
role_based_access_control_enabled
sku_tier                                         Standard | premium 
os_disk_size_gb
node_pools
         vm_size                         Standard_A1_v2
agents_count
agents_pool_max_surge
enable_auto_scaling
disk_encryption_set_id


identity_type
identity
service_principal
rbac_aad
rbac_aad_managed

Errors[edit]

Related[edit]

azurerm_resource_group
azurerm_container_registry
azurerm application gateway
azurerm_kubernetes_cluster

Deprecated:

See also[edit]

Advertising: