Last active
October 5, 2017 03:28
-
-
Save metral/8b679344d77d7dcd3d1985bd6191b675 to your computer and use it in GitHub Desktop.
Kubernetes Debug - DaemonSet
This file contains hidden or 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: extensions/v1beta1 | |
| kind: DaemonSet | |
| metadata: | |
| name: debug | |
| labels: | |
| app: debug | |
| spec: | |
| updateStrategy: | |
| rollingUpdate: | |
| maxUnavailable: 1 | |
| type: RollingUpdate | |
| template: | |
| metadata: | |
| labels: | |
| ds: debug | |
| app: debug | |
| spec: | |
| tolerations: | |
| - key: "node-role.kubernetes.io/master" | |
| operator: "Exists" | |
| effect: "NoSchedule" | |
| containers: | |
| - name: debug | |
| image: metral/debug:0.0.2 | |
| command: | |
| - sleep | |
| - "86400" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment