Last active
November 23, 2017 06:30
-
-
Save vfreex/fc768e2ecdd6c18047bb9be5e5e707aa to your computer and use it in GitHub Desktop.
nginx-ds.yml
This file contains 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: apps/v1beta2 | |
#apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: nginx | |
spec: | |
selector: | |
matchLabels: | |
name: nginx | |
template: | |
metadata: | |
labels: | |
name: nginx | |
spec: | |
containers: | |
- name: nginx | |
image: docker.io/nginx:1.12 | |
user: root | |
ports: | |
- name: http | |
containerPort: 80 | |
hostPort: 8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment