I am new to kubernetes. I have an issue in the pods. When I run the command
kubectl get pods
Result:
NAME RE
If the Pod is part of a Deployment or Service, deleting it will restart the Pod and, potentially, place it onto another node:
Pod
Deployment
Service
$ kubectl delete po $POD_NAME
replace it if it's an individual Pod:
replace
$ kubectl get po -n $namespace $POD_NAME -o yaml | kubectl replace -f -