Created
July 20, 2021 01:22
-
-
Save oceanapplications/6b794d6ce56ce42a7d756860913d15c4 to your computer and use it in GitHub Desktop.
Basic Deployment
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: nginx-basic | |
labels: | |
tier: backend | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx | |
tier: backend | |
template: | |
metadata: | |
labels: | |
app: nginx | |
tier: backend | |
spec: | |
containers: | |
- name: nginx | |
image: basic-nginx | |
imagePullPolicy: Never | |
ports: | |
- containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment