새소식

Recent Study/udemy - CKA with Practice Tests

KodeKloud - Test Record (section 6)

  • -

1. We need to take node01 out for maintenance. Empty the node of all applications and mark it unschedulable.

-> kubectl drain node01 --ignore-daemonsets

 

 

2. How many pods are scheduled on node01 now in the default namespace?

-> kubectl get pods -o wide

 

3. How many nodes can host workloads in this cluster? Inspect the applications and taints set on the nodes.

-> k describe node | grep Taints

 

4. version available for an upgrade with the current version of the kubeadm tool installed? Use the kubeadm tool

-> kubeadm upgrade plan

 

5. We will be upgrading the controlplane node first. Drain the controlplane node of workloads and mark it UnSchedulable

-> k drain controlplane --ignore-daemonsets

 

6. Upgrade the controlplane components to exact version v1.29.0 Upgrade the kubeadm tool (if not already), then the controlplane components, and finally the kubelet. Practice referring to the Kubernetes documentation page.

-> cat /etc/*release*

-> 

Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.