Created
April 20, 2023 10:52
-
-
Save eckelon/d8b72f0e0dfda5ac78dd2ee3d7b384e3 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: techpenguin-demo-app | |
spec: | |
selector: | |
matchLabels: | |
app: techpenguin-demo-app | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: techpenguin-demo-app | |
spec: | |
containers: | |
- name: techpenguin-demo-app | |
image: 'techpenguin-demo-app:latest' | |
ports: | |
- containerPort: 8080 | |
readinessProbe: | |
httpGet: | |
path: /health | |
port: 8080 | |
initialDelaySeconds: 5 | |
periodSeconds: 5 | |
livenessProbe: | |
httpGet: | |
path: /health | |
port: 8080 | |
initialDelaySeconds: 10 | |
periodSeconds: 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment