Created
November 11, 2020 20:33
-
-
Save lyndell/e2412ffc206ac02a3f23a08b038b273a to your computer and use it in GitHub Desktop.
deploy plain Ubuntu image for debugging on all nodes in a Kubernetes cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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