Skip to content

Instantly share code, notes, and snippets.

@iameli
Created April 29, 2019 02:23
Show Gist options
  • Save iameli/d5d9fd0b4a5c2d9dfa86efbd05a26a99 to your computer and use it in GitHub Desktop.
Save iameli/d5d9fd0b4a5c2d9dfa86efbd05a26a99 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: pokemon
spec:
template:
metadata:
labels:
app: pokemon
spec:
hostNetwork: true
terminationGracePeriodSeconds: 3
volumes:
- name: fb0
hostPath:
path: /dev/fb0
containers:
- name: pokemon
image: "iameli/pokemon:latest"
imagePullPolicy: Always
securityContext:
privileged: true
volumeMounts:
- name: fb0
mountPath: /dev/fb0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment