Skip to content

Instantly share code, notes, and snippets.

@jsventura
Forked from vfarcic/kops-upgrade.sh
Created January 11, 2019 16:15
Show Gist options
  • Select an option

  • Save jsventura/0fb22d1ec1030c67196180c15295e6db to your computer and use it in GitHub Desktop.

Select an option

Save jsventura/0fb22d1ec1030c67196180c15295e6db to your computer and use it in GitHub Desktop.

Revisions

  1. @vfarcic vfarcic created this gist Mar 16, 2018.
    19 changes: 19 additions & 0 deletions kops-upgrade.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    kops edit cluster $NAME

    kops update cluster $NAME

    kops update cluster $NAME --yes

    kops rolling-update cluster $NAME

    kops rolling-update cluster $NAME --yes

    kubectl get nodes

    kops upgrade cluster $NAME --yes

    kops update cluster $NAME --yes

    kops rolling-update cluster $NAME --yes

    kubectl get nodes