* Move Guide topic: AppArmor.

* Add included files.
This commit is contained in:
Steve Perry
2017-03-14 19:09:08 -07:00
committed by GitHub
parent c96bb862d5
commit 567c32ef78
3 changed files with 26 additions and 2 deletions
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: hello-apparmor
annotations:
# Tell Kubernetes to apply the AppArmor profile "k8s-apparmor-example-deny-write".
# Note that this is ignored if the Kubernetes node is not running version 1.4 or greater.
container.apparmor.security.beta.kubernetes.io/hello: localhost/k8s-apparmor-example-deny-write
spec:
containers:
- name: hello
image: busybox
command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ]