Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
This command is used get all running pods of default namespace.
Home
Kubernetes K8s
This command is used get all running pods of default namespace.
+1
vote
asked
Sep 27, 2022
in
Kubernetes K8s
by
SakshiSharma
This command is used get all running pods of default namespace.
a) kubectl get default
b) kubectl get pods
c) kubectl get ns
d) none of the mentioned
kubernetes
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 27, 2022
by
SakshiSharma
b) kubectl get pods
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+1
vote
Q: The command kubectl appy -f deploy.yaml deploys pods to _________ namespace.
asked
Sep 27, 2022
in
Kubernetes K8s
by
SakshiSharma
kubernetes
0
votes
Q: kubectl command to show labels of all pods in default namespace:
asked
Aug 5, 2023
in
Kubernetes K8s
by
Robin
kubectlcommand
0
votes
Q: How do I get all the pods on a node?
asked
Apr 27, 2021
in
Kubernetes K8s
by
Robindeniel
#pods
node-pods
kubernetes
+1
vote
Q: Prometheus uses this endpoint to collect data from pods.
asked
Sep 29, 2022
in
Kubernetes K8s
by
SakshiSharma
kubernetes
0
votes
Q: Kubectl command to list all the pods in foo namespace:
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
list-pods
0
votes
Q: What is the command to create a Kubernetes Namespace?
asked
Mar 24
in
Kubernetes K8s
by
rajeshsharma
kubernetes
namespace
+1
vote
Q: Which of these abstractions is used directly by pods and defined as a part of pod definition.
asked
Sep 29, 2022
in
Kubernetes K8s
by
SakshiSharma
kubernetes
volume
+1
vote
Q: Which field in Replication Controller Object is used to specify number to pods to be created?
asked
Sep 27, 2022
in
Kubernetes K8s
by
SakshiSharma
replication
controller-object
kubernetes
0
votes
Q: We use following command to enter inside a running container.
asked
Sep 29, 2022
in
Kubernetes K8s
by
SakshiSharma
kubernetes
0
votes
Q: Is it possible to mount secrets to pods?
asked
Sep 29, 2022
in
Kubernetes K8s
by
SakshiSharma
kubernetes
...