Skip to content

rguptar/swaphost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSSF Scorecard

swaphost

Changing the nodepool SKU for an Azure Kubernetes Service cluster is a multi-step process.

This script automates it:

  • Creates new nodepool in the same configuration as the old nodepool (apart from the SKU)
  • Cordons + drains the nodes of the old nodepool
  • Deletes the old nodepool
Usage: ./swaphost.sh -g <resource group> \
                     -n <cluster name> \
                     -m <mode> \
                     -p <priority> \
                     -s <new vm sku> \
                     -a <old nodepool> \
                     -b <new nodepool>

Credits

semver2.sh: https://github.com/Ariel-Rodriguez/sh-semversion-2

About

swap your AKS nodepool vm sku!

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages