Complete the code to define an exec liveness probe command in a Kubernetes pod spec.
livenessProbe:
exec:
command:
- [1]The cat command is commonly used in exec probes to check file contents or presence.
Complete the code to set the exec probe to check the file '/tmp/healthy'.
livenessProbe:
exec:
command:
- cat
- [1]The exec probe should check the file /tmp/healthy as specified.
Fix the error in the exec probe command to correctly check the file '/healthz'.
livenessProbe:
exec:
command:
- [1]
- [2]The command list must separate command and arguments. Use cat as command and /healthz as argument in separate list items.
Fill both blanks to define an exec readiness probe that runs 'cat /ready'.
readinessProbe:
exec:
command:
- [1]
- [2]The command is cat and the argument is /ready to check readiness.
Fill all three blanks to define an exec startup probe that runs 'test -f /startup'.
startupProbe:
exec:
command:
- [1]
- [2]
- [3]The command test -f /startup checks if the file /startup exists.