[k8s] pod healthy check
=======
###### tags: `kubernetes`
## livenessProbe
```yaml=
livenessProbe:
exec:
command:
- cat
- /tmp/healthy
initialDelaySeconds: 5
periodSeconds: 5
```
this is a check to restart the container on the same pod if the command ls /var/www/html/file_check fails. This check should start after a delay of 10 seconds and run every 60 seconds.
## readinessProbe
> for "initial delay" purpose
## startupProbe