Created
November 23, 2018 13:19
-
-
Save mszostok/6274514a763860c499944464bfd7e40a to your computer and use it in GitHub Desktop.
Deployment
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/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
labels: | |
app: website | |
role: frontend | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: website | |
role: frontend | |
template: | |
metadata: | |
labels: | |
app: website | |
role: frontend | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:1.15.4 | |
ports: | |
- containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment