Skip to content

Instantly share code, notes, and snippets.

@zimbatm
Created May 31, 2022 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zimbatm/81694b1f6abc58195fe361e24e840293 to your computer and use it in GitHub Desktop.
Save zimbatm/81694b1f6abc58195fe361e24e840293 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: zimbatm-debug-container-flannel
namespace: default
spec:
containers:
- command:
- sleep
- infinity
image: ubuntu:22.04
name: debug
resources:
requests:
cpu: 100m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: true
capabilities:
add: ["NET_ADMIN", "SYS_TIME", "SETPCAP", "SYS_RAWIO", "NET_RAW"]
volumeMounts:
- name: host
mountPath: /host
dnsPolicy: ClusterFirst
enableServiceLinks: true
hostNetwork: true
nodeName: talos-fd168c8987258d0252ebf6fffe22ef7b
priority: 2000000000
priorityClassName: system-cluster-critical
restartPolicy: Always
schedulerName: default-scheduler
tolerations:
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
volumes:
- name: host
hostPath:
path: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment