Kube Quick Tip 02: Running a Pod on a Specific Node
September 8, 2018
When debugging problems with Kubernetes Nodes
its often helpful to be able to
bypass the scheduler and run a Pod
on a specific Node
.
Here’s how:
$ kubectl run -it --rm test \
--restart=Never \
--image=ubuntu:18.04 \
--overrides='{"spec":{"nodeName": "my-node"}}' \
/bin/bash