Created
July 31, 2019 16:02
-
-
Save kouk/af7396db7df6a5c805fb90a9277bc6d8 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
--- | |
kind: DaemonSet | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: whoami-daemonset | |
labels: | |
k8s-app: whoami | |
spec: | |
template: | |
metadata: | |
labels: | |
k8s-app: whoami | |
name: whoami | |
spec: | |
terminationGracePeriodSeconds: 60 | |
containers: | |
- image: containous/whoami | |
name: whoami | |
ports: | |
- name: http | |
containerPort: 8999 | |
hostPort: 8999 | |
args: | |
- --port | |
- "8999" | |
securityContext: | |
capabilities: | |
drop: | |
- ALL | |
add: | |
- NET_BIND_SERVICE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment