To tell on which node a pod is running and the IP assigned to it.
sudo gravity enterNow you only have to query for pods using the --output=wide option. For example, to get all pod details to do:
kubectl get pods --all-namespaces --output=wideThe output will look like this:
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES access-management authentication-server-69cf8c646f-2xrzg 2/2 Running 0 19h 10.244.35.53 10.1.0.40 <none> <none> access-management authentication-server-69cf8c646f-9xpw9 2/2 Running 0 19h 10.244.56.64 10.1.0.70 <none> <none> access-management authentication-server-69cf8c646f-s27xd 2/2 Running 0 19h 10.244.35.37 10.1.0.40 <none> <none> access-management authentication-server-69cf8c646f-tmqdh 2/2 Running 0 19h 10.244.34.63 10.1.0.20 <none> <none> amc auth-proxy-6cb6bd9c8-5855j 1/1 Running 0 18h 10.244.34.95 10.1.0.20 <none> <none> amc auth-proxy-6cb6bd9c8-fdccw 1/1 Running 0 18h 10.244.56.102 10.1.0.70 <none> <none>Column NODE will tell you the IP address of the node where the pod is running.
exit
001116803

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.