Coder Social home page Coder Social logo

Comments (4)

munutzer avatar munutzer commented on June 26, 2024 1

I'm currently working on supporting cluster updates through DM. Estimating one month until more update support is available.

from deploymentmanager-samples.

nfirvine avatar nfirvine commented on June 26, 2024

This bug:
https://stackoverflow.com/questions/44525692/google-cloud-deployment-manager-update-container-cluster
https://issuetracker.google.com/issues/38131324
No workaround AFAIK

from deploymentmanager-samples.

davidebelloni avatar davidebelloni commented on June 26, 2024

Hi,
I have the same problem

from deploymentmanager-samples.

munutzer avatar munutzer commented on June 26, 2024

I have updated the cluster type so that changing the initialNodeCount property in the DM config will resize the node pool. Note that the initialNodeCount property change won't be reflected in the cluster API (initialNodeCount property stores initial, not current size), but you can see the resize by looking at the underlying managed instance group:

$ gcloud deployment-manager deployments create cluster-resize --template https://raw.githubusercontent.com/GoogleCloudPlatform/deploymentmanager-samples/master/examples/v2/gke/jinja/cluster.jinja --properties zone:us-central1-a,initialNodeCount:2

$ gcloud compute instance-groups managed list
NAME LOCATION SCOPE BASE_INSTANCE_NAME SIZE TARGET_SIZE INSTANCE_TEMPLATE AUTOSCALED
gke-cluster-resize-clust-default-pool-05527e5c-grp us-central1-a zone gke-cluster-resize-clust-default-pool-05527e5c 2 2 gke-cluster-resize-clust-default-pool-05527e5c no

$ gcloud deployment-manager deployments update cluster-resize --template https://raw.githubusercontent.com/GoogleCloudPlatform/deploymentmanager-samples/master/examples/v2/gke/jinja/cluster.jinja --properties zone:us-central1-a,initialNodeCount:3

$ gcloud compute instance-groups managed list NAME LOCATION SCOPE BASE_INSTANCE_NAME SIZE TARGET_SIZE INSTANCE_TEMPLATE AUTOSCALED
gke-cluster-resize-clust-default-pool-05527e5c-grp us-central1-a zone gke-cluster-resize-clust-default-pool-05527e5c 3 3 gke-cluster-resize-clust-default-pool-05527e5c no

from deploymentmanager-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.