Go to file
Max Erenberg 4d9f57bf1b add debug message if up-to-date 2023-01-07 04:04:52 -05:00
pkg add debug message if up-to-date 2023-01-07 04:04:52 -05:00
.gitignore edit kube-controller-manager manifest after upgrade 2023-01-07 03:54:43 -05:00
README.md add README 2023-01-07 03:59:56 -05:00
go.mod edit kube-controller-manager manifest after upgrade 2023-01-07 03:54:43 -05:00
go.sum edit kube-controller-manager manifest after upgrade 2023-01-07 03:54:43 -05:00
main.go first commit 2023-01-07 02:27:06 -05:00

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