문제2 개

문제1.

Untitled

답안

  1. kubectl get nodes | -i -w ready ⇒ ready 상태인 node 확인, -w ready가 포함 된 정보가 아니라

                                                                                                                   정확히 ready인 것만 보여줌
    

Untitled

  1. kubectl describe node k8s-m | grep -i NoSchedule (or taints)

    kubectl describe node k8s-w1 | grep -i NoSchedule (or taints)

    ⇒ 문제에 not including nodes tainted NoSchedule 이라고 했으니 descirbe해서 확인

      그래서 NoSchedule인 것은 제외
    
  2. echo “1”> /var/CKA2022/RN0001 ⇒ 파일에 1 값 넣기

  3. cat /var/CKA2022/RN0001 ⇒ 넣은 값 확인

강의 답안

Untitled

문제2.

Untitled