Welcome to the Linux Foundation Forum!

Labs 12.6 - determining which node a pod is running on

This isn't a question, but just a command recommendation to other students. Instead of using the docker ps commands on the worker and cp nodes to get a count of pods, you can just run:
kubectl get pod -o wide
from the cp node. That way you can get all your pods and see where they are running. If you want specifically just the taint nodes, you can grep it out as so:
kubectl get pod -o wide | grep taint

use -A if you want to see from all namespaces.

Categories

Upcoming Training