Recall & Review
beginner
What is a memory request in Kubernetes?
A memory request is the amount of memory a container is guaranteed to have. Kubernetes uses this to decide which node can run the container.
Click to reveal answer
beginner
What happens if a container exceeds its memory limit in Kubernetes?
If a container uses more memory than its limit, Kubernetes may terminate the container to protect the node's stability.
Click to reveal answer
intermediate
Why should you set both memory requests and limits?
Setting both helps Kubernetes schedule containers efficiently and prevents any container from using too much memory and affecting others.
Click to reveal answer
intermediate
How does Kubernetes use memory requests during scheduling?
Kubernetes checks if a node has enough free memory to meet the container's memory request before placing it there.
Click to reveal answer
beginner
What is the difference between memory request and memory limit?
Memory request is the minimum memory guaranteed to a container. Memory limit is the maximum memory the container can use before being terminated.
Click to reveal answer
What does the memory request specify in a Kubernetes pod?
✗ Incorrect
Memory request is the minimum memory Kubernetes guarantees to the container.
What happens if a container exceeds its memory limit?
✗ Incorrect
Kubernetes kills containers that use more memory than their limit to keep the system stable.
Why is it important to set memory requests?
✗ Incorrect
Memory requests help Kubernetes decide where to place pods based on available memory.
If a pod has a memory request of 500Mi and a limit of 1Gi, what does this mean?
✗ Incorrect
The request is the guaranteed memory, and the limit is the maximum allowed.
What is the risk of not setting memory limits?
✗ Incorrect
Without limits, a container can consume excessive memory and affect node stability.
Explain how memory requests and limits work together in Kubernetes to manage container memory.
Think about how Kubernetes decides where to place containers and what happens if they use too much memory.
You got /4 concepts.
Describe why setting memory requests and limits is important for a stable Kubernetes cluster.
Consider what happens if one container uses too much memory without limits.
You got /4 concepts.