Skip to content

Instantly share code, notes, and snippets.

View Ubeek's full-sized avatar

Levi Jarick Ubeek

  • Perth, Western Australia
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ubeek on github.
  • I am ubeek (https://keybase.io/ubeek) on keybase.
  • I have a public key ASDfAW280z5rbDb4_1wbZcc_hIhbqyzhXaDMTx7dC1_a_go

To claim this, I am signing this object:

All nodes

  • Swap must be disabled
    • swapoff -a
    • Comment out reference to swap in /etc/fstab
  • yum -y install docker
  • systemctl enable docker && systemctl start docker
  • Add Kubernetes repo

cat < /etc/yum.repos.d/kubernetes.repo

@Ubeek
Ubeek / vault-approle-expiry-test.sh
Created September 25, 2018 07:10
Vault AppRole Expiry Issue Proof
#!/bin/sh
TOKEN_TTL=30
TOKEN_MAX_TTL=0
TOKEN_PERIOD=$TOKEN_TTL
WAIT_TIME=$(expr $TOKEN_TTL / 3)
#
export VAULT_FORMAT=json
#
vault login root > /dev/null
vault auth enable approle > /dev/null