-
-
Save Sampriti-Mitra/ca444dc963541cd1cbb82d557058d99f to your computer and use it in GitHub Desktop.
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: myapp | |
labels: | |
app: myapp | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: myapp | |
template: | |
metadata: | |
labels: | |
app: myapp | |
spec: | |
containers: | |
- name: myapp | |
imagePullPolicy: IfNotPresent | |
image: myapp | |
ports: | |
- containerPort: 10000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment