You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 months ago | |
---|---|---|
pkg | 3 months ago | |
.gitignore | 3 months ago | |
README.md | 3 months ago | |
go.mod | 3 months ago | |
go.sum | 3 months ago | |
main.go | 3 months ago |
README.md
cloudstack-k8s-upgrader
cloudstack-k8s-upgrader upgrades the managed CSC Kubernetes cluster in CloudStack to the next minor version whenever a new Kubernetes ISO is available.
Running the program
Make sure the following environment variables are set:
# these values must be obtained from the CloudStack web UI
export CLOUDSTACK_API_KEY=secret
export CLOUDSTACK_SECRET_KEY=secret
# name of Kubernetes cluster
export CLUSTER_NAME=Kube1
# notification emails will be sent here
export EMAIL_RECIPIENT=root@csclub.uwaterloo.ca
# path of SSH key used to SSH into VMs created in CloudStack
export SSH_KEY_PATH=~/.ssh/id_rsa_cloudstack