Map multiple ports to the same container port
Is it possible to map multiple po开发者_JS百科rts in Kubernetes to the same container port within a deployment? I know this is possible in Docker, for example
docker run -tid -p 3000:3000 -p 3001:3000 nginx
I have not been able to find any documentation for this use case within a Kubernetes deployment. The reason I need this is to bypass mTLS in my liveness probe without changing my backend webapp container, where the service and healthcheck endpoints are hosted on port 3000.
精彩评论