0
0
Kubernetesdevops~5 mins

Startup probe concept in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a startup probe in Kubernetes?
A startup probe checks if an application inside a container has started successfully before other health checks run.
Click to reveal answer
intermediate
Why use a startup probe instead of just readiness or liveness probes?
Startup probes help avoid killing containers that take a long time to start by delaying liveness and readiness checks until the app is ready.
Click to reveal answer
beginner
Which Kubernetes probe runs first during container startup?
The startup probe runs first to confirm the app has started before readiness and liveness probes begin.
Click to reveal answer
intermediate
What happens if a startup probe fails repeatedly?
Kubernetes will kill the container and try to restart it, assuming the app failed to start properly.
Click to reveal answer
intermediate
How do you define a startup probe in a pod spec?
You add a 'startupProbe' section with parameters like 'exec', 'httpGet', or 'tcpSocket' to check app startup.
Click to reveal answer
What is the main purpose of a startup probe in Kubernetes?
ATo check if the app has started before other probes run
BTo monitor CPU usage of the container
CTo check network connectivity
DTo update container images automatically
Which probe runs only after the startup probe succeeds?
AStartup probe
BReadiness probe
CLiveness probe
DNone of the above
If a startup probe fails, what does Kubernetes do?
AScales the pod up
BIgnores the failure
CRuns readiness probe instead
DRestarts the container
Which of these can be used in a startup probe configuration?
AAll of the above
BhttpGet request
Cexec command
DtcpSocket check
Why might you add a startup probe to a slow-starting application?
ATo speed up container startup
BTo prevent premature container restarts
CTo disable readiness probes
DTo increase CPU limits
Explain how a startup probe works and why it is useful in Kubernetes.
Think about the order of health checks and container restarts.
You got /4 concepts.
    Describe how to configure a startup probe in a Kubernetes pod specification.
    Look at the pod YAML and probe parameters.
    You got /4 concepts.