Fix a deprecated 'replace' command with a 'patch' command.

pull/6/head
Brendan Burns 2015-10-16 14:34:37 -07:00
parent b9c7cf43b2
commit 6827900a8d
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ preparatory step before a node reboot, etc. For example, to mark a node
unschedulable, run this command:
```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,