Created
September 21, 2016 08:56
-
-
Save sttts/5b1e4fde474ae7ac5d3f024475b013f2 to your computer and use it in GitHub Desktop.
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: v1 | |
kind: Pod | |
metadata: | |
name: sysctl | |
annotations: | |
security.alpha.kubernetes.io/sysctls: kernel.shm_rmid_forced=1 | |
spec: | |
containers: | |
- name: sysctl | |
image: busybox | |
command: | |
- /bin/sh | |
- -exc | |
- > | |
while sleep 1; do sysctl kernel.shm_rmid_forced; done | |
restartPolicy: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment