Last active
January 30, 2019 12:56
-
-
Save timothyclifford/261e77edadb9e6e65eb57c652ad99844 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: web-app | |
labels: | |
app: deployment-label | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: pod-label | |
template: | |
metadata: | |
labels: | |
app: pod-label | |
spec: | |
containers: | |
- name: web-app | |
image: nginx:latest | |
ports: | |
- containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment