translate liveness fr

This commit is contained in:
Cheikhrouhou ines
2019-12-20 21:12:06 +01:00
parent a29da47ca8
commit 55892e5367
4 changed files with 367 additions and 0 deletions
@@ -0,0 +1,22 @@
apiVersion: v1
kind: Pod
metadata:
name: goproxy
labels:
app: goproxy
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
ports:
- containerPort: 8080
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 15
periodSeconds: 20