Skip to content

Instantly share code, notes, and snippets.

@wuestkamp
Last active April 28, 2020 21:37
Show Gist options
  • Save wuestkamp/65aa19b6a0956c1802ce6b7e1907eb56 to your computer and use it in GitHub Desktop.
Save wuestkamp/65aa19b6a0956c1802ce6b7e1907eb56 to your computer and use it in GitHub Desktop.
CKAD challenge #1
apiVersion: v1
kind: Pod
metadata:
labels:
run: pod1
my-label: test
name: pod1
spec:
containers:
- args:
- bash
- -c
- hostname >> /tmp/hostname && sleep 1d
image: bash
name: pod1
restartPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment