Kubectl get pods not showing any pods - Kubernetes using Kops

0 votes
I've created a kubernetes cluster using kops and now I'm trying to check if all my pods are running. I've also joined my nodes to the cluster and all my nodes seemed to be in the ready state.

I execute this command to check pod status:

kubectl get pods

but I don't see anything, no error no pods.

Have I done something wrong?
Jan 23 in Kubernetes by Alia
57 views
Can you show me the output of kubectl get nodes
My nodes have successfully joined the cluster and are in Ready state.

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Alia, 

I agree with @Harish, It is not possible for the nodes to be in the ready state if the pods haven't come up. Also what command exactly have you been using for getting the pods?

The command that should be used:

kubectl get pods --all-namespaces
answered Jan 23 by Kavya
Ohh thanks @Kavya, I was using just kubectl get pods. How stupid of me.

kubectl get pods --all-namepsaces worked for me.

Related Questions In Kubernetes

0 votes
1 answer

deleting pods using kubernetes replication controller

The pods which are managed by ReplicationController ...READ MORE

answered Jul 24, 2018 in Kubernetes by DareDev
• 6,670 points
151 views
0 votes
1 answer
0 votes
1 answer

Accessing remote kubernetes cluster on azure using kubectl

So, try this. Edit your kube config ...READ MORE

answered Sep 11, 2018 in Kubernetes by ajs3033
• 7,080 points
46 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 36,340 points
37 views
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
3 answers

Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) while setting up kubernetes

Execute these three commands: sudo rm /var/lib/apt/lists/lock sudo rm ...READ MORE

answered Nov 27, 2018 in Kubernetes by Maverick
• 10,020 points
97 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.