mirror of
https://github.com/devitq/homelab.git
synced 2026-11-20 11:27:39 +00:00
feat(useful): added debug pod
This commit is contained in:
1 file changed
+16
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: debug-pod
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
|
restartPolicy: Never
|
||||||
|
nodeName: cp-01
|
||||||
|
containers:
|
||||||
|
- name: debug
|
||||||
|
image: nicolaka/netshoot:latest
|
||||||
|
command: ["sh", "-c", "sleep infinity"]
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
Reference in new issue
Block a user