Last active
May 29, 2019 18:38
-
-
Save gswallow/4970b734ab4bfdda0fae29db26895df9 to your computer and use it in GitHub Desktop.
Greg is a BAD, BAD MAN!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
app: ssh-cheat | |
name: ssh-cheat | |
namespace: kube-system | |
spec: | |
containers: | |
- command: | |
- /bin/sh | |
args: | |
- -c | |
- "mkdir -p /target && /usr/bin/tail -f /dev/null" | |
image: alpine:latest | |
imagePullPolicy: IfNotPresent | |
name: ssh-cheat | |
resources: {} | |
securityContext: | |
privileged: true | |
procMount: Default | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /target | |
name: host-root | |
readOnly: false | |
dnsPolicy: ClusterFirst | |
hostPID: true | |
priority: 0 | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- name: host-root | |
hostPath: | |
path: "/" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment