Complete the code to set the HTTP probe path to "/healthz".
livenessProbe:
httpGet:
path: "[1]"
port: 8080The HTTP probe path should be set to /healthz to check the health endpoint.
Complete the code to set the HTTP probe port to 8080.
readinessProbe:
httpGet:
path: "/ready"
port: [1]The HTTP probe port should match the application's listening port, which is 8080 here.
Fix the error in the HTTP probe configuration by completing the missing field.
livenessProbe:
httpGet:
path: "/health"
port: 8080
[1]: 5timeoutSeconds instead of initialDelaySeconds for delay.The initialDelaySeconds field specifies how long to wait before starting the probe.
Fill both blanks to configure the readiness probe with a 3-second timeout and a 10-second period.
readinessProbe:
httpGet:
path: "/ready"
port: 8080
[1]: 3
[2]: 10timeoutSeconds sets how long to wait for a response. periodSeconds sets how often to run the probe.
Fill all three blanks to configure a liveness probe with a 5-second initial delay, 2-second timeout, and 15-second period.
livenessProbe:
httpGet:
path: "/healthz"
port: 8080
[1]: 5
[2]: 2
[3]: 15initialDelaySeconds waits before starting probes, timeoutSeconds sets response wait time, and periodSeconds sets probe frequency.