Created
November 24, 2020 18:15
-
-
Save FreedomBen/0ebcf993a8012c5f3ac39c58bd4cc3bb 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: | |
| labels: | |
| app: backend-service | |
| name: backend-service | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: backend-service | |
| template: | |
| metadata: | |
| labels: | |
| app: backend-service | |
| spec: | |
| containers: | |
| - image: quay.io/<username>/backend-service:latest | |
| name: backend-service | |
| imagePullPolicy: Always | |
| ports: | |
| - containerPort: 8443 | |
| protocol: TCP | |
| readinessProbe: | |
| httpGet: | |
| scheme: HTTPS | |
| path: /healthz | |
| port: 8443 | |
| initialDelaySeconds: 10 | |
| periodSeconds: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment