Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubectl get all the pods

kubectl get pods -A 

# you can list down all the pods with wide range
kubectl get pods -A -o wide
Comment

kubectl get pods

# Get pods in default namespace
kubectl get pods

#Get Pods in my-namespace
kubectl get pods -n my-namespace

#Get Pods in all namespaces
kubectl get pods --all-namespaces
Comment

get all pods in a node kubectl

kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
Comment

PREVIOUS NEXT
Code Example
Shell :: ls display chmod number 
Shell :: django runserver no reload 
Shell :: unix replace comma with tab 
Shell :: Remove folder recursively using powershell 
Shell :: check if variable contains string bash 
Shell :: database configuration spring boot 
Shell :: git commit only added files 
Shell :: react-native clean and rebuild 
Shell :: docker exec as root 
Shell :: reverse shell bash 
Shell :: ubuntu 20.04 powerlevel10 vs code 
Shell :: generate ssh key paitr 
Shell :: fs extra ts 
Shell :: extract tar.xz ubuntu 
Shell :: address already in use 0.0.0.0:8080 
Shell :: kill port in kali linux 
Shell :: docker remove all stopped 
Shell :: copy file permission denied arch 
Shell :: how to move unstaged changes to different branch 
Shell :: git update upstream url 
Shell :: install https certificate on dotnet for development 
Shell :: how to install .deb file ubuntu 
Shell :: service account credentials gcp token 
Shell :: upgrade urllib3 version 
Shell :: openssh server ubuntu 
Shell :: launch emulator from terminal 
Shell :: create and run docker registry 
Shell :: aws credentials file location ubuntu 
Shell :: copy ssh key to remote server 
Shell :: test ssh connection 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =