Check nodes status
# kubectl get nodesNAME STATUS ROLES AGE VERSION
srv2020 Ready master 24h v1.17.0
srv2021 Ready,SchedulingDisabled <none> 23h v1.17.0
Remove a node from service
# kubectl drain srv2021
Put a node back to service
# kubectl uncordon srv2021node/srv2021 uncordoned
No comments:
Post a Comment