add K8S.md

This commit is contained in:
kchou committed 2026-11-01 18:49:21 +08:00
1 parent eaa4f0b70f
commit 3d20dc7ebb
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
# Drain worker node in K3S
```
kubectl drain k3s-worker1 k3s-worker2 k3s-worker3 --ignore-daemonsets --delete-emptydir-data
```
**Stop k3s-agent on all worker node**
**Monitoring node status, make sure all node status are NorReady**
**Power off all agent node**