Certified Kubernetes Administrator (CKA) Exam Practice Questions -2023 Part 20 - Event logs & CRICTL

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 6

  • @mehranehro8636
    @mehranehro8636 11 หลายเดือนก่อน

    excellent

  • @albertodente
    @albertodente 10 หลายเดือนก่อน

    I have this doubt: because instead of going to the worker node and restarting the container from crictl you did not do an exec -it of the container and from there there is a shutdown -r now

    • @kubernetesway
      @kubernetesway  10 หลายเดือนก่อน

      hi, in the question they may ask to restart the container to make event logs, that is why we are restarting the container.

  • @SudheeshSudhi-b1s
    @SudheeshSudhi-b1s ปีที่แล้ว

    hi, why CRICTL using instead docker ps for listing containers?

    • @kubernetesway
      @kubernetesway  ปีที่แล้ว +2

      hi, Kubernetes does not directly use Docker for container management on its nodes
      So, when you run docker ps on a Kubernetes node, you are interacting with Docker's native runtime, which is separate from the container runtime used by Kubernetes. This is why you don't see Kubernetes containers listed.