mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 17:16:12 +00:00
Stop using gcloud preview
- it is obsolete
Switch to supported APIs. Update docs.
This commit is contained in:
@@ -225,7 +225,7 @@ func restartNodes(provider string, nt time.Duration) error {
|
||||
// with the following bash, but needs to be written in Go:
|
||||
//
|
||||
// # Step 1: Get instance names.
|
||||
// list=$(gcloud preview instance-groups --project=${PROJECT} --zone=${ZONE} instances --group=${GROUP} list)
|
||||
// list=$(gcloud compute instance-groups --project=${PROJECT} --zone=${ZONE} instances --group=${GROUP} list)
|
||||
// i=""
|
||||
// for l in $list; do
|
||||
// i="${l##*/},${i}"
|
||||
|
Reference in New Issue
Block a user