Skip to content

Instantly share code, notes, and snippets.

View geojaz's full-sized avatar

Eric Hole geojaz

View GitHub Profile
```
WARNING: The GITHUB_TOKEN variable is not set. Defaulting to a blank string. [115/527]
Building schuss
Step 1/4 : ARG BASE_IMAGE=gcr.io/terraform-seed-schuss/schuss:beta
Step 2/4 : FROM ${BASE_IMAGE}
---> 6bd77c70a307
Step 3/4 : COPY . .
export GCS_BUCKET_NAME=kops-dev-${USER}
make kops-install dev-upload UPLOAD_DEST=gs://${GCS_BUCKET_NAME}
KOPS_VERSION=`bazel run //cmd/kops version -- --short`
export KOPS_BASE_URL=https://${GCS_BUCKET_NAME}.storage.googleapis.com/kops/${KOPS_VERSION}/
kubetest --gcp-service-account=/etc/service-account/service-account.json \
--up --down --test \
--kops=/home/ehole/go/bin/kops \
--deployment=kops \
@geojaz
geojaz / gist:f3da6d246b3b779b90426932b3b083d6
Created June 6, 2019 18:14
git branches last updated
git for-each-ref --sort='-committerdate:iso8601' --format=' %(committerdate:iso8601)%09%(refname)' refs/heads | sort

Keybase proof

I hereby claim:

  • I am geojaz on github.
  • I am erichole (https://keybase.io/erichole) on keybase.
  • I have a public key whose fingerprint is 0475 2E36 2C33 3A46 F699 33F6 8443 89F1 371C CAD5

To claim this, I am signing this object:

kubectl run dig --image azukiapp/dig -- tail -f /dev/null
kops create -f cluster_spec.yml
kops create secret --name $CLUSTER_NAME sshpublickey admin -i $SSH_KEY_PATH
kops update cluster $CLUSTER_NAME # Sanity check the output. Make sure that kops is only making the changes you expect.
kops update cluster $CLUSTER_NAME --yes
@geojaz
geojaz / 1.sh
Last active April 26, 2017 19:44
Kops blog
kops get cluster ${CLUSTER_NAME} -o yaml --full > cluster.yml
kops get ig nodes -o yaml > nodes.yml
kops get ig masters -o yaml > master.yml
Merge the .yml files and put “---” between them into one large cluster_spec.yml See cluster_spec-example.yml