Port forward as a component like service/deployment

I as developer want use minikube for faster get some dependencies for my project like stardog, postgres, elasticsearch, kibana, and some containers with data…

For use this dependencies I will do port forward for each container witch I want use. Execution of the command blocks the terminal. I don’t like it.

I want create postgres-port-forward.yaml file and apply this rules (Locally) but in stage I didn’t apply this file.

For me looks cool and very helpful for local development.

What do you think about this? Is that possible? :thinking:

Don’t judge me too harshly I’m new to kubernetes. :slightly_smiling_face: