create pods in kubernetes code example
Example 1: kubectl create pod
kubectl run <pod-name> --image=<image> --restart=Never
Example 2: how get pods in kuber
# Get Pods in all namespaces
kubectl get po -A
# Get pods in default namespace
kubectl get po