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
I'm creating GKE NodePools with autoscaling enabled and initialNodeCount slightly higher than the min. However, when the nodepool scales down naturally, crossplane automatically ups it to the initial value.
The Managed Resource sets Node Count! for some reason
dilyankostov
changed the title
GKE Autoscaling NodePool gets its node count reset by Crossplane when initNodeCount is set, but nodeCount is not
GKE Autoscaling NodePool continually resets its node count when initNodeCount is set, but nodeCount is not
Jan 2, 2024
What happened?
I'm creating GKE NodePools with autoscaling enabled and initialNodeCount slightly higher than the min. However, when the nodepool scales down naturally, crossplane automatically ups it to the initial value.
The Managed Resource sets Node Count! for some reason
I execed into the provider-gcp pod, found the resource and did terraform init/plan which gave me
So Crossplane is setting the node_count even though I do not set the
nodeCount
field.How can we reproduce it?
Create a GKE cluster with a Node pool with config
What environment did it happen in?
I've reproduced this running crossplane both on a local
kind
cluster and a GKE cluster.provider-gcp-container:v0.38.1
provider-gcp-compute:v0.38.1
helmReleaseName = "upbound-stable/universal-crossplane"
helmName = "uxp"
helmRepo = "upbound-stable"
helmRepoUrl = "https://charts.upbound.io/stable"
version = "v1.14.3-up.1"
The text was updated successfully, but these errors were encountered: