티스토리 뷰

문제1. Check Ready Nodes

Check to see how many nodes are ready(not including nodes tainted NoSchedule) and write the number to /var/CKA2025/RN0001

 

문제 풀이 1.

# 1. Ready 노드 정보 확인
kubectl get nodes | grep -i -w ready

# 2. NoSchedule 노드 정보 확인
kubectl describe nodes <노드 이름> |grep -i noschedule

# 3. 카운트 정보 입력
echo '<정답>' > /var/CKA2025/RN0001

문제2. Count the Number of Nodes That are Ready to Run Normal Workloads

Determine how many nodes in the cluster are ready to run normal workloads(i.e., workloads that do not have any special tolerations). Output this number to the file /var/CKA2025/NODE-Count

 

문제 풀이 2.

# 1. grep과 wc를 통한 카운팅
kubectl get nodes | grep -i -w ready | wc -l > /var/CKA2025/NODE-Count
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2026/09   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함