ck mig
Commands for regional managed instance groups (MIGs) in the active gcloud configuration.
| Command | What it does |
|---|---|
list |
List groups |
describe |
Describe a group |
restart |
Rolling restart of a group’s VMs |
recreate |
Rolling replace of a group’s VMs |
ck mig list
Section titled “ck mig list”ck mig list [--region <region>]List managed instance groups, optionally in one region.
ck mig list --region us-central1ck mig describe
Section titled “ck mig describe”ck mig describe <group> --region <region>Show a group’s full configuration.
ck mig describe web-mig --region us-central1ck mig restart
Section titled “ck mig restart”ck mig restart <group> --region <region>Restart the group’s VMs in a rolling fashion. VMs keep their disks.
ck mig restart web-mig --region us-central1ck mig recreate
Section titled “ck mig recreate”ck mig recreate <group> --region <region>Replace the group’s VMs in a rolling fashion with new ones from the instance template.
ck mig recreate web-mig --region us-central1