Emrah Güney:
Hello friends, I’m curious about is there a simple way to create deployment from running pod in cluster?. we can get running pod yaml and edit to convert but any imperative command could be alnternatively.
Marco Tony:
kubectl create deploy my-nginx --image nginx
Emrah Güney:
oh no brother, running pod exists in cluster and I want to upgrade it to deployment
Mohamed Ayman:
You can create the deployment and make the selector to select the POD label.
Emrah Güney:
thank you MAyman , wisely solution
Mohamed Ayman:
You’re welcome