Hello,
using mtctl start --namespace custA_prod and
mtctl stop --namespace custA_prod
we can restart the name environment/name space
Is there any command which we can use to restart just a pod instead of whole
Please suggest.
Best Regards
Pankaj
Hello,
using mtctl start --namespace custA_prod and
mtctl stop --namespace custA_prod
we can restart the name environment/name space
Is there any command which we can use to restart just a pod instead of whole
Please suggest.
Best Regards
Pankaj
Hi
You might need to use kubectl command to restart a pod
kubectl delete pod pod_name -n namespace_name
or
kubectl scale deployment pod_name -n namespace_name --replicas=0
kubectl scale deployment pod_name -n namespace_name --replicas=1
kubectl get pods -n namespace_name
Thank you
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.