开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜