[英]Assign EntryPoint to a TCP Router in Traefik
I'm using Traefik as a reverse proxy in a Kubernetes cluster and I was wondering if it is possible to assign an EntryPoint to a TCP Router (created using IngressRouteTCP).我在 Kubernetes 集群中使用 Traefik 作为反向代理,我想知道是否可以将入口点分配给 TCP 路由器(使用 IngressRouteTCP 创建)。 On other words I need to created an isolated EntryPoint that must be used only by a concrete IngressRouteTCP.
换句话说,我需要创建一个隔离的入口点,它只能由具体的 IngressRouteTCP 使用。 Right now for all the services deployed in the Kubernetes cluster Traefik creates a HTTP Router which listen all the EntryPoints and I need to be selective with one of the EntryPoints.
现在,对于部署在 Kubernetes 集群中的所有服务,Traefik 创建了一个 HTTP 路由器来监听所有的入口点,我需要选择其中一个入口点。
You can use below static configuration to have entry points for tcp您可以使用下面的静态配置来获得 tcp 的入口点
entryPoints:
tcpep:
address: ":3179"
Traffic document has details for configuring the entry points交通文件有配置入口点的详细信息
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.