Complete the code to define a startup probe using an HTTP GET request.
startupProbe:
httpGet:
path: [1]
port: 8080The /healthz path is commonly used for health checks including startup probes.
Complete the code to set the initial delay seconds for the startup probe.
startupProbe:
initialDelaySeconds: [1]initialDelaySeconds defines how long to wait before starting the probe. 10 seconds is a common safe value.
Fix the error in the startup probe configuration by completing the missing field.
startupProbe:
tcpSocket:
port: [1]The port field must be a number or named port. 8080 is a common port for HTTP services.
Fill both blanks to configure a startup probe with an exec command and failure threshold.
startupProbe:
exec:
command:
- [1]
- [2]
failureThreshold: 5The exec command runs cat /tmp/startup-ready to check if the file exists, indicating startup completion.
Fill all three blanks to create a startup probe with HTTP GET, timeout, and period seconds.
startupProbe:
httpGet:
path: [1]
port: [2]
timeoutSeconds: [3]
periodSeconds: 10The probe uses /healthz path on port 8080 with a 5 second timeout for responsiveness.