kodekloud
[kodekloud] 02 Multiple Schedulers 풀이 (😵💫)
Q1. What is the name of the POD that deploys the default kubernetes scheduler in this environment? kubectl get pods --namespace=kube-system Q2. What is the image used to deploy the kubernetes scheduler? kubectl describe pod kube-scheduler-controlplane --namespace=kube-system Q3. We have already created the ServiceAccount and ClusterRoleBinding that our custom scheduler will make use of. Checkout..
[kodekloud] 02 Scheduling : Static Pods 풀이 (😵💫)
Q1. How many static pods exist in this cluster in all namespaces? Static pod는 controlplane 노드에 생성되기 때문에, grep 을 통해 controlplane을 조회 kubectl get pods --all-namespaces | grep "\-controlplane" # kube-system 네임스페이스에 있는 pod count 개수 kubectl get pods -n kube-system | wc -l Q2. Which of the below components is NOT deployed as a static pod? >> coredns Q3. Which of the below components is NOT deployed as..
[kodekloud] 02 Scheduling : Daemonsets 풀이
Q1. How many DaemonSets are created in the cluster in all namespaces? kubectl get daemonsets --all-namespaces Q2. Which namespace are the DaemonSets created in? Q3. Which of the below is a DaemonSet? >> kube-flannel-ds Q4. On how many nodes are the pods scheduled by the DaemonSet kube-proxy? 1 Q5. What is the image used by the POD deployed by the kube-flannel-ds DaemonSet? kubectl describe daemo..
[kodekloud] 02 Scheduling : Resource Limits 풀이
Q1. A pod called rabbit is deployed. Identify the CPU requirements set on the Pod k get pod rabbit Q2. Delete the rabbit Pod. k delete pod rabbit Q3. 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. OOMKilled메모리가 부족하다는 얘기. k describe pod elephant | grep -A5 State Q4. the sta..