KubernetesCommand
Patch a Resource
Type this command
kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'Applies a partial update to a resource in place.
The Kubernetes command to patch a resource is kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'.
kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'Applies a partial update to a resource in place.
Run kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'.
Run kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.