Skip to content

Commit

Permalink
added liveness
Browse files Browse the repository at this point in the history
  • Loading branch information
directdevops committed Nov 19, 2020
1 parent f8ff2b1 commit 8061c1b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Nov20/healtchecks/gameoflife-pod.yaml
@@ -0,0 +1,28 @@
---
apiVersion: v1
kind: Pod
metadata:
name: gameoflife
spec:
containers:
- image: qualitythought/gameoflife:07112020
name: gol
livenessProbe:
httpGet:
path: /gameoflife
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
resources:
requests:
cpu: "500m"
memory: "128Mi"
limits:
cpu: "1000m"
memory: "512Mi"
ports:
- containerPort: 8080
name: golhttpport
protocol: TCP

0 comments on commit 8061c1b

Please sign in to comment.