Skip to content

Instantly share code, notes, and snippets.

@akshedu
Created June 21, 2021 03:48
Show Gist options
  • Save akshedu/17ca5d66d72960d1f5307714101c8cb5 to your computer and use it in GitHub Desktop.
Save akshedu/17ca5d66d72960d1f5307714101c8cb5 to your computer and use it in GitHub Desktop.
Cluster update
#!/bin/sh
echo "Apply update cluster"
kops update cluster --yes
echo "Export kubectl config"
kops export kubecfg --admin
echo "Dry run rolling update"
kops rolling-update cluster
echo "Validate cluster"
kops validate cluster --wait 10m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment