Skip to content

Instantly share code, notes, and snippets.

@azr
azr / replace-cluster.sh
Last active June 30, 2016 09:18
Quickly replace a Google Cloud Kubernetes Cluster by a new one ( with new machine type, scopes and/or number of nodes ), keeping the credentials
#!/bin/bash
CLUSTER=""
PROJECT_CMD=""
ZONE_CMD=""
SCOPES=""
NUM_NODES="1"
MACHINE_TYPE=""
DISK_SIZE="100GB"