mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #15919 from brendandburns/docs2
Auto commit by PR queue bot
This commit is contained in:
commit
77a68448c7
@ -211,7 +211,7 @@ preparatory step before a node reboot, etc. For example, to mark a node
|
|||||||
unschedulable, run this command:
|
unschedulable, run this command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
kubectl replace nodes 10.1.2.3 --patch='{"apiVersion": "v1", "unschedulable": true}'
|
kubectl patch nodes $NODENAME -p '{"spec": {"unschedulable": true}}'
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that pods which are created by a daemonSet controller bypass the Kubernetes scheduler,
|
Note that pods which are created by a daemonSet controller bypass the Kubernetes scheduler,
|
||||||
|
Loading…
Reference in New Issue
Block a user