Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
deploy plain Ubuntu image for debugging on all nodes in a Kubernetes cluster
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: debug
spec:
selector:
matchLabels:
name: debug
template:
metadata:
labels:
name: debug
spec:
containers:
- name: debug
image: ubuntu
command: ["/bin/bash"]
args: ["-c", "while true; do date; sleep 60;done"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment