# deployment.yaml
containers:
- name: application
...
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 10
periodSeconds: 3
failureThreshold: 5
# deployment.yaml
containers:
- name: application
...
livenessProbe:
initialDelaySeconds: 45
periodSeconds: 60
exec:
command:
- "/bin/bash"
- "-c"
- "СПОСОБ ПРОВЕРКИ, ЧТО ПРИЛОЖЕНИЕ ЖИВО"