Difference between revisions of "Stop DaemonSet"

From wikieduonline
Jump to navigation Jump to search
(Created page with "Stop DaemonSet by appliying a nodeSelector * <code>kubectl patch daemonset <name-of-daemon-set> -p '{"spec": {"template": {"spec": {"nodeSelector": {"non-existing"...")
 
(Redirected page to Kubectl patch daemonset)
Tag: New redirect
 
Line 1: Line 1:
[[Stop DaemonSet]] by appliying a [[nodeSelector]]
+
#redirect [[kubectl patch daemonset]]
* <code>[[kubectl patch daemonset]] <name-of-daemon-set> -p '{"spec": {"template": {"spec": {"nodeSelector": {"non-existing": "true"}}}}}'</code>
 
Start [[DaemonSet]] by removing the [[nodeSelector]] :
 
kubectl patch daemonset <name-of-daemon-set> --type json -p='[{"op": "remove", "path": "/spec/template/spec/nodeSelector/non-existing"}]'
 
 
 
 
 
{{DaemonSet}}
 

Latest revision as of 13:27, 22 February 2024

Advertising: