Created
December 31, 2020 09:23
-
-
Save PradeepLoganathan/049187b080e0e5a922b03fade4dbca22 to your computer and use it in GitHub Desktop.
deployment manifest for sampleapp
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: sampleapp-deployment | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: sampleapp | |
template: | |
metadata: | |
labels: | |
app: sampleapp | |
spec: | |
containers: | |
- name: webserver | |
image: k8sregstyr.azurecr.io/sampleapp:0.5 | |
imagePullPolicy: IfNotPresent | |
ports: | |
- containerPort: 80 | |
resources: | |
limits: | |
memory: 512Mi | |
cpu: "1" | |
imagePullSecrets: | |
- name: acr-secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment