Skip to content

Instantly share code, notes, and snippets.

View takac's full-sized avatar
🧇

Tom Cammann takac

🧇
View GitHub Profile
#!/bin/bash
set -eu
if [[ ! -z "${DEBUG:-}" ]]; then
set -x
fi
function project_kube_check() {
PROJECT=${1:-$(gcloud config get-value project -q)}
ZONES=$(gcloud --project=$PROJECT --format='value[](zone)' container clusters list | uniq)