Skip to content

Instantly share code, notes, and snippets.

@jtaleric
Last active October 23, 2019 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtaleric/0f5fb636a3ffb59ba2176ea0c13bc6b0 to your computer and use it in GitHub Desktop.
Save jtaleric/0f5fb636a3ffb59ba2176ea0c13bc6b0 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: backpack
namespace: backpack
spec:
selector:
matchExpressions:
- key: app
operator: NotIn
values:
- backpack
template:
metadata:
labels:
name: backpack
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: backpack
image: quay.io/dry923/backpack:always_on
imagePullPolicy: Always
# securityContext:
# privileged: true
terminationGracePeriodSeconds: 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment