Skip to content
Snippets Groups Projects
Verified Commit a5533827 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(blog): Add readiness and liveness probes for blog

parent f98eafe4
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,20 @@ spec: ...@@ -38,6 +38,20 @@ spec:
limits: limits:
cpu: 100m cpu: 100m
memory: 256Mi memory: 256Mi
livenessProbe:
httpGet:
path: /status.txt
port: http
failureThreshold: 3
periodSeconds: 5
readinessProbe:
httpGet:
path: /status.txt
port: http
initialDelaySeconds: 5
failureThreshold: 1
successThreshold: 3
periodSeconds: 5
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment