开发者

Map multiple ports to the same container port

开发者 https://www.devze.com 2022-12-07 22:25 出处:网络
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

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

精彩评论

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