I have an application that the management wants to migrated from Docker to K8s.
This application is like a blackbox from our point of view, and expect to communicate with a database over port 5993
using the gRPC
protocol.
In Docker I simply execute:
docker run -p 5993:5993 ...
And everything works as expected. I am a newby in K8s and my question is how can I move this setup in K8s
properly?
I've lost a lot of time reading about port-forward
, Services
, NodePort
but I do not understand what is the correct approach and which solution has to be used.