gpt4 book ai didi

kubernetes - 为什么 istio-ingressgateway 会暴露端口 31400?

转载 作者:行者123 更新时间:2023-12-04 13:56:40 35 4
gpt4 key购买 nike

Istio 入口网关默认公开以下端口:

80:31380/TCP,443:31390/TCP,31400:31400/TCP

为什么它暴露31400并将其映射到31400?我在文档或其他地方找不到对此的解释。

背景:我正在关注 Install with Helm via helm template 使用 Istio 0.8.0 的指南。部署 list 是从 https://github.com/istio/istio/tree/0.8.0/install/kubernetes/helm/istio 构建的,给出以下入口网关服务定义:
# Source: istio/charts/ingressgateway/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: istio-ingressgateway
namespace: istio-system
labels:
chart: ingressgateway-0.8.0
release: istio
heritage: Tiller
istio: ingressgateway
spec:
type: NodePort
selector:
istio: ingressgateway
ports:
-
name: http
nodePort: 31380
port: 80
-
name: https
nodePort: 31390
port: 443
-
name: tcp
nodePort: 31400
port: 31400

最佳答案

Commit a4b6cc5提到:

Adding the 31400 port back because of testdata dependency



这是 istio/istio PR 6350 的一部分

These changes add support for multiple ingress/egress gateway configuration in the Helm charts.
The new gateways field is an array that by default has one configuration (as it was before) but allows users to add more configurations to have multiple ingress/egress gateways deployed when installing the charts.



commit 05cba4e .

关于kubernetes - 为什么 istio-ingressgateway 会暴露端口 31400?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51390096/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com