2019-05-14 22:04:12 +06:00
|
|
|
---
|
2019-05-09 19:41:17 +06:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Pod
|
|
|
|
metadata:
|
|
|
|
name: liveness-probe-pod
|
|
|
|
spec:
|
|
|
|
containers:
|
2019-05-14 22:04:12 +06:00
|
|
|
- name: liveness-probe-pod
|
|
|
|
image: nginx
|
|
|
|
livenessProbe:
|
|
|
|
exec:
|
|
|
|
command:
|
2019-05-23 14:04:46 +06:00
|
|
|
- /bin/bash
|
|
|
|
- -c
|
|
|
|
- "exit 1"
|
2019-05-14 22:04:12 +06:00
|
|
|
initialDelaySeconds: 5
|
|
|
|
periodSeconds: 5
|