You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Remove.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Lệnh kubectl drain được sử dụng để đảm bảo rằng một node K
6
6
7
7
Tuy nhiên, trước khi bạn sử dụng kubectl drain, có một số điều cần lưu ý:
8
8
9
-
-`--ignore-daemonsets:` Khi sử dụng tùy chọn này, Kubernetes sẽ bỏ qua các DaemonSet. DaemonSet đảm bảo rằng mỗi node trong cụm (cluster) luôn chạy một bản sao của một Pod cụ thể. Thông qua `--ignore-daemonsets`, có thể yêu cầu Kubernetes tạm thời bỏ qua DaemonSet khi drain node, cho phép dừng node mà không cần lo lắng về DaemonSet.
9
+
-`--ignore-daemonsets:` Khi sử dụng tùy chọn này, Kubernetes sẽ bỏ qua các DaemonSet. DaemonSet đảm bảo rằng mỗi node trong cụm (cluster) luôn chạy một bản sao của một Pod cụ thể. Thông qua `--ignore-daemonsets`, có thể yêu cầu Kubernetes tạm thời bỏ qua DaemonSet khi drain node, cho phép dừng node mà không cần lo lắng về DaemonSet.
10
10
`kubectl uncordon <node_name>` để khôi phục node và cho phép các Pod khởi động lại trên node đó.
0 commit comments