πŸ“Œ Resource Quota for Memory (Limit & Request)

🧐 Theory:

Kubernetes allows you to define resource quotas for memory usage using requests and limits.

There are two key scenarios when setting these values:

Scenario Behavior
Case 1: Limit = Defined βœ… AND Request = Defined βœ… βœ… No issue, Pod runs normally.
Case 2: Request > or < Default Range of Limit ❌ **🚫 Pod fails to start (**Request must always be within or equal to the Limit)

πŸ”¬ LAB in Minikube (AWS T2-Medium Instance) β‡’

β‡’ Create a new AWS instance named β€œMinikube” on a T2-Medium instance type, access it via PuTTY as usual, and then proceed with the rest of the lab.

πŸ”Ή Install Required Packages:

πŸ”Ή Install Kubectl:

πŸ”Ή Install Minikube: