fixed indentation, cleaner command
This commit is contained in:
committed by
GitHub
parent
c61aee3c54
commit
fd0d4112b0
@@ -101,17 +101,16 @@ Capabilities are added/dropped in the [`SecurityContext`](http://kubernetes.io/d
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: hello-world
|
name: hello-world
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: friendly-container
|
- name: friendly-container
|
||||||
image: "alpine:3.4"
|
image: "alpine:3.4"
|
||||||
command:
|
command: ["/bin/echo", "hello", "world"]
|
||||||
- echo "hello"
|
securityContext:
|
||||||
securityContext:
|
capabilities:
|
||||||
capabilities:
|
add:
|
||||||
add:
|
- SYS_NICE
|
||||||
- SYS_NICE
|
drop:
|
||||||
drop:
|
- KILL
|
||||||
- KILL
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user