I am new to kubernetes. I have an issue in the pods. When I run the command
kubectl get pods
Result:
NAME RE
First try to see what's wrong with the pod:
kubectl logs -p
In my case it was a problem with the YAML file.
So, I needed to correct the configuration file and replace it:
kubectl replace --force -f