#!/bin/bash ## ## Script to automate the Kubernetes CentOS client side pieces ## echo "###################################### Set the gcloud compute region and zone ######################################" gcloud config set compute/region us-west1 gcloud config set compute/zone us-west1-c gcloud config set project kubernetescentos-205702 echo "Compute region and zone set" for i in 0 1; do gcloud compute scp controller_uninstall.sh controller-${i}: done echo "Controller setup scripts copied across" for i in 0 1; do gcloud compute ssh controller-${i} -- ~/controller_uninstall.sh done