Skip to content

Instantly share code, notes, and snippets.

@jasongerard
Last active November 15, 2018 14:19
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 jasongerard/c5ec5383981e6fc64070e40352cc2ff4 to your computer and use it in GitHub Desktop.
Save jasongerard/c5ec5383981e6fc64070e40352cc2ff4 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: mlockex
spec:
containers:
- name: mlockex
image: mlockex:latest
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
runAsUser: 1000
capabilities:
add: ["IPC_LOCK"]
restartPolicy: Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment