Skip to content
New issue

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

Can't update kubernetes cluster. #274

Open
tornike opened this issue Jun 29, 2022 · 0 comments
Open

Can't update kubernetes cluster. #274

tornike opened this issue Jun 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tornike
Copy link

tornike commented Jun 29, 2022

SUMMARY

digital_ocean_kubernetes module does not upgrade cluster if it already exists. For example changing maintenance_policy, auto_upgrade, surge_upgrade does not take effect, cluster is reported as unchanged. Same is true for node_pools changes.
I think all this can be done with DO API:

  • PUT /v2/kubernetes/clusters/$K8S_CLUSTER_ID
  • POST /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools
  • PUT /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID
  • DEL /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID
ISSUE TYPE
  • Bug Report
COMPONENT NAME

digital_ocean_kubernetes

ANSIBLE VERSION
ansible [core 2.13.1]
  python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
  jinja version = 3.0.1

COLLECTION VERSION
1.20.0
@mamercad mamercad added the bug Something isn't working label Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants