Solutions to practice test - resource limtis
Run the command ‘kubectl describe pod rabbit’ and inspect requests.
Run the command ‘kubectl delete pod rabbit’.
Run the command ‘kubectl get pods’ and inspect the status of the pod elephant
The status ‘OOMKilled’ indicates that the pod ran out of memory. Identify the memory limit set on the POD.
Generate a template of the existing pod.
Update the elephant.yaml pod definition with the resource memory limits to 20Mi
Delete the pod and recreate it.
Inspect the status of POD. Make sure it’s running
Run the command ‘kubectl delete pod elephant’.