mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-23 21:41:11 +02:00
30 lines
602 B
YAML
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: /
|