Recall & Review
beginner
What is the 'desired state' in Kubernetes?
The desired state is the configuration you declare for your cluster, like how many pods should run or which images to use. Kubernetes tries to make the actual state match this desired state.
Click to reveal answer
beginner
What does 'actual state' mean in Kubernetes?
The actual state is what is really happening in the cluster right now, such as how many pods are running and their current status.
Click to reveal answer
intermediate
How does Kubernetes use reconciliation to manage the cluster?
Kubernetes constantly compares the actual state to the desired state. If they differ, it takes actions to fix the actual state to match the desired state. This process is called reconciliation.
Click to reveal answer
beginner
Why is reconciliation important in Kubernetes?
Reconciliation ensures the cluster stays healthy and works as expected, even if something breaks or changes unexpectedly. It’s like a thermostat keeping room temperature steady.
Click to reveal answer
beginner
Give an example of reconciliation in Kubernetes.
If you want 3 pods running but one crashes, Kubernetes notices only 2 are running (actual state). It then starts a new pod to reach 3 pods (desired state).
Click to reveal answer
What does Kubernetes do when the actual state differs from the desired state?
✗ Incorrect
Kubernetes acts to fix the actual state so it matches the desired state, ensuring the cluster behaves as expected.
Which of these best describes the 'desired state'?
✗ Incorrect
The desired state is the configuration you declare, like how many pods should run.
What is reconciliation in Kubernetes?
✗ Incorrect
Reconciliation means Kubernetes compares actual and desired states and fixes differences.
If a pod crashes, what will Kubernetes do during reconciliation?
✗ Incorrect
Kubernetes will start a new pod to maintain the desired number of pods.
Why is the reconciliation loop important for cluster health?
✗ Incorrect
The reconciliation loop keeps the cluster running as intended by fixing differences between actual and desired states.
Explain in your own words how Kubernetes uses reconciliation to keep the cluster running smoothly.
Think about how a thermostat keeps room temperature steady.
You got /5 concepts.
Describe a real-life example that helps you understand the difference between desired state and actual state in Kubernetes.
Imagine setting a goal and checking if reality matches it.
You got /4 concepts.