1
A pod called rabbit is deployed. Identify the CPU requirements set on the Pod
in the current(default) namespace
kubectl describe pod rabbit
2
Delete the rabbit Pod.
Once deleted, wait for the pod to fully terminate.
kubectl delete pod rabbit
3
Another pod called elephant has been deployed in the default namespace. It fails to get to a running state. Inspect this pod and identify the Reason why it is not running.
kubectl describe pod elephant
5
4번은 없다!
The elephant pod runs a process that consumes 15Mi of memory. Increase the limit of the elephant pod to 20Mi.
Delete and recreate the pod if required. Do not modify anything other than the required fields.
kubectl get pod elephant -o yaml > a.yaml
vim a.yaml # memory modified 10Mi -> 20Mi
kubectl delete pod elephant
kubectl create -f a.yaml
7
6번 건너뛰고
Delete the elephant Pod.
Once deleted, wait for the pod to fully terminate.
kubectl delete pod elephant
반응형
'Container & Orchestration > Kubenetes' 카테고리의 다른 글
Kubernetes - Validating, Mutating Admission Controller (0) | 2025.05.16 |
---|---|
Kubernetes - Admission Controller (0) | 2025.05.14 |
[Practice Test] Node Affinity (1) | 2025.05.07 |
Kubernetes (9) (0) | 2025.04.21 |
Kubernetes (8) (0) | 2025.04.21 |