You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform will perform the following actions:
# module.ihcp_dev.module.aks.azurerm_kubernetes_cluster.main will be updated in-place
~ resource "azurerm_kubernetes_cluster" "main" {
~ default_node_pool {
name = "workerpool"
~ node_count = 5 -> 4
}
╷
│ Error:
│ The Kubernetes/Orchestrator Version "1.21.2" is not available for Node Pool "workerpool".
│
│ Please confirm that this version is supported by the Kubernetes Cluster "dev-aks"
│ (Resource Group "rg-x-dev") - which may need to be upgraded first.
│
│ The Kubernetes Cluster is running version "1.21.2".
│
│ The supported Orchestrator Versions for this Node Pool/supported by this Kubernetes Cluster are:
│ * 1.19.13
│ * 1.19.11
│ * 1.20.15
│ * 1.20.13
│
│ Node Pools cannot use a version of Kubernetes that is not supported on the Control Plane. More
│ details can be found at https://aka.ms/version-skew-policy.
│
│
│ with module.dev.module.aks.azurerm_kubernetes_cluster.main,
│ on .terraform/modules/dev.aks/main.tf line 10, in resource "azurerm_kubernetes_cluster" "main":
│ 10: resource "azurerm_kubernetes_cluster" "main" {
│
╵
Panic Output
Expected Behaviour
terraform apply should apply the changes i.e it should reduce the node pool size 5 -> 4
I had previously increased and decreased node pool count multiple times using terraform, now all of sudden it's failing to change node pool size and throwing the following error on terraform apply
Terraform will perform the following actions:
# module.ihcp_dev.module.aks.azurerm_kubernetes_cluster.main will be updated in-place
~ resource "azurerm_kubernetes_cluster" "main" {
~ default_node_pool {
name = "workerpool"
~ node_count = 5 -> 4
}
Actual Behaviour
Steps to Reproduce
terraform apply
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
Taking a look through this appears to be a duplicate of #8147 - rather than having multiple issues open tracking the same thing I'm going to close this issue in favour of that one; would you mind subscribing to #8147 for updates?
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
provider registry.terraform.io/hashicorp/azurerm v2.75.0
Terraform v1.1.5
Affected Resource(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
terraform apply
should apply the changes i.e it should reduce the node pool size5 -> 4
I had previously increased and decreased node pool count multiple times using terraform, now all of sudden it's failing to change node pool size and throwing the following error on
terraform apply
Actual Behaviour
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: