Hello, a question, if I have a Deployment already created and I would like to expose it in a Service with the NodePort parameter, I know that I can do it directly in a YAML file, but how could I do it with imperative commands, can I?
$ kubectl create deployment dummy-micro-01 --image=maktup/dummy-micro-01:latest
//Service: Without the param NodePort .
$ kubectl expose deployment dummy-micro-01 --name=dummy-micro-01-service --port=8080 --type=NodePort
¿How could be?