Câu 32: DCA: Docker Certified Associate
You are running only Kubernetes workloads on a worker node that requires maintenance, such as installing patches or an OS upgrade. Which command must be run on the node to gracefully terminate all pods on the node, while marking the node as unschedulable?
Nội dung câu hỏi
You are running only Kubernetes workloads on a worker node that requires maintenance, such as installing patches or an OS upgrade. Which command must be run on the node to gracefully terminate all pods on the node, while marking the node as unschedulable?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. ‘kubectl cordon ’
- B. ‘docker swarm leave’
- C. ‘kubectl drain ’ — đáp án hiện tại
- D. ‘docker node update --availability drain ’
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.