simplify DaemonReaper by using NodeSelector

This commit is contained in:
Mike Danese
2015-10-08 15:52:11 -07:00
parent 219294623e
commit 6fe7edc5ea
2 changed files with 8 additions and 23 deletions

View File

@@ -97,7 +97,7 @@ The DaemonSet supports standard API features:
- get (e.g. kubectl get daemonsets)
- describe
- Modifiers
- delete (if --cascade=true, then first the client turns down all the pods controlled by the DaemonSet (by setting the nodeName to a non-existant name); then it deletes the DaemonSet; then it deletes the pods)
- delete (if --cascade=true, then first the client turns down all the pods controlled by the DaemonSet (by setting the nodeSelector to a uuid pair that is unlikely to be set on any node); then it deletes the DaemonSet; then it deletes the pods)
- label
- annotate
- update operations like patch and replace (only allowed to selector and to nodeSelector and nodeName of pod template)