talos/hack/debug.yaml
2018-09-20 13:34:26 -07:00

30 lines
602 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: debug
spec:
hostPID: true
hostIPC: true
hostNetwork: true
# nodeSelector:
# kubernetes.io/hostname: ${HOSTNAME}
tolerations:
- operator: Exists
containers:
- name: debug
image: ubuntu:18.04
command: [ "/bin/sh", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]
env:
- name: DOCKER_HOST
value: unix:///rootfs/run/docker.sock
securityContext:
privileged: true
volumeMounts:
- mountPath: /rootfs
name: root
volumes:
- name: root
hostPath:
path: /