We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created a cluster initially without CIDR like so:
resource "gridscale_k8s" "k8s" { name = var.cluster_name release = var.kubernetes_version node_pool { name = "workers" node_count = var.worker_node_count cores = var.worker_node_cores memory = var.worker_node_memory storage = var.worker_node_storage_size storage_type = var.worker_node_storage_type cluster_cidr = "" }
Cluster will be created with the default CIDR of 10.244.0.0/16
10.244.0.0/16
Later when I want to define the CIDR block to the same value
resource "gridscale_k8s" "k8s" { name = var.cluster_name release = var.kubernetes_version node_pool { name = "workers" node_count = var.worker_node_count cores = var.worker_node_cores memory = var.worker_node_memory storage = var.worker_node_storage_size storage_type = var.worker_node_storage_type cluster_cidr = "10.244.0.0/16" }
I will get an error:
│ Error: update k8s (8182cef8-1f28-4b83-b2ff-c52b60ce8258) resource - error: Status code: 400. Error: {'type': 'HTTPError', 'status_code': 400, 'message': "(400, 'Parameter k8s_cluster_cidr is immutable')"}. Request UUID: 187fda47-f91b-455e-b619-8f94a49b0c1a.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Created a cluster initially without CIDR like so:
Cluster will be created with the default CIDR of
10.244.0.0/16
Later when I want to define the CIDR block to the same value
I will get an error:
The text was updated successfully, but these errors were encountered: