I plan to switch to Kubernetes from Docker in several stages and need to move my microservices to cluster one by one. So I need to register my pods in external (in relation to the cluster) Consul server with the same ports as were in Docker for transparent migration. The problem is that some containers have remapped ports (exposed and published). By default your tool registers them with containerPort and I can't figure, is it possible to register pod not with containerPort but with hostPort?
Hi, thanks for this useful tool!
I plan to switch to Kubernetes from Docker in several stages and need to move my microservices to cluster one by one. So I need to register my pods in external (in relation to the cluster) Consul server with the same ports as were in Docker for transparent migration. The problem is that some containers have remapped ports (exposed and published). By default your tool registers them with containerPort and I can't figure, is it possible to register pod not with containerPort but with hostPort?