Istio 入口网关默认公开以下端口:
80:31380/TCP,443:31390/TCP,31400:31400/TCP
为什么它会暴露 31400 并将其映射到 31400?我在文档或其他地方找不到对此的解释。
背景:我正在使用 Istio 0.8.0遵循使用 Helm 安装的指南。helm template部署清单是从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