Open diogospt opened 11 months ago
This could be related to a feature gap in Config Connector, which is how the current controller interpret "removal".
Since autoscalingConfig
is an object field, we may need to introduce a proper feature or syntax to indicate the field needs to be set to NULL/empty.
A public tracker has been created for this bug. https://issuetracker.google.com/issues/315988174
Checklist
Bug Description
BigtableInstance ConfigConnector resource does not allow a end-user to switch back from using
autoscalingConfig
tonumNodes
. Switching from aBigtableInstance
fromnumNodes: 1
toautoscalingConfig { cpuTarget: 10, minNodes: 1, maxNodes: 5 }
works as expected. But once we try to roll back the change, disabling autoscaling, the API returns an error.Doing the same change using Terraform
google_bigtable_instance
resource performs the change accordingly.Additional Diagnostic Information
No info.
Kubernetes Cluster Version
v1.25.10-gke.2700
Config Connector Version
1.108.0
Config Connector Mode
cluster mode
Log Output
No response
Steps to reproduce the issue
Create a BigtableInstance resource with ConfigConnector, specifying the numNodes to 1. Once the resource is created, configure the
autoscalingConfig
. As an example:Then, once the second change is applied, try to disable the autoscaling configuration by removing it from the YAML.
YAML snippets
No response