Exam CKA Topic 1 Question 54 Discussion
Actual exam question for Linux Foundation's CKA exam
Question #: 54
Topic #: 1
Question #: 54
Topic #: 1
Score: 4%

Task
Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.

Task
Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.
Suggested Answer:
SOLUTION:
[student@node-1] > ssh ek8s
kubectl cordon ek8s-node-1
kubectl drain ek8s-node-1 --delete-local-data --ignore-daemonsets --force
[student@node-1] > ssh ek8s
kubectl cordon ek8s-node-1
kubectl drain ek8s-node-1 --delete-local-data --ignore-daemonsets --force
by Colin at Apr 11, 2025, 10:01 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).