kubernetes create pod since pod code example
Example 1: kubernetes get inside pod
kubectl exec -it <pod-name> -- sh
Example 2: kubectl create pod
kubectl run <pod-name> --image=<image> --restart=Never
kubectl exec -it <pod-name> -- sh
kubectl run <pod-name> --image=<image> --restart=Never