get pods created by in kubernetes code example
Example 1: kubernetes get inside pod
kubectl exec -it <pod-name> -- sh
Example 2: how get pods in kuber
# Get Pods in all namespaces
kubectl get po -A
# Get pods in default namespace
kubectl get po