Skip to content

Instantly share code, notes, and snippets.

@metral
Last active October 5, 2017 03:28
Show Gist options
  • Select an option

  • Save metral/8b679344d77d7dcd3d1985bd6191b675 to your computer and use it in GitHub Desktop.

Select an option

Save metral/8b679344d77d7dcd3d1985bd6191b675 to your computer and use it in GitHub Desktop.
Kubernetes Debug - DaemonSet
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