简体   繁体   English

在 Traefik 中将入口点分配给 TCP 路由器

[英]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.

相关问题 traefik入口未转发tcp消息 - traefik ingress not forwarding tcp messages 在 Traefik 2.1.6 中添加新的入口点时入口点“xxx”不存在 - entryPoint “xxx” doesn't exist when add new entryPoint in Traefik 2.1.6 如何在traefik 2.2.1中创建tcp服务 - How to create a tcp service in traefik 2.2.1 Traefik 2.0 IPWhitelist for TCP - Kubernetes CRD - Traefik 2.0 IPWhitelist for TCP - Kubernetes CRD Traefik 为 Kubernetes Azure 上的入口 - 将 static ZA12A3079E14CEDB2EAZBA 服务分配给 Traef4CEDB2EAZBA90 服务 - Traefik as Kubernetes Ingress on Azure - Assign static IP to Traefik service Traefik 边缘路由器前的负载均衡 - Load balancing in front of Traefik edge router 在 traefik TCP 路由映射中使用 hostSNI(*) 有什么缺点 - what is the disadvantage using hostSNI(*) in traefik TCP route mapping Traefik 2.0:如何使用IngressRoute(CRD)分配全局静态IP? - Traefik 2.0: How to assign global static IP with IngressRoute (CRD)? Kubernetes + GCP TCP 负载平衡:如何为 Kubernetes 服务分配静态 IP? - Kubernetes + GCP TCP Load balancing: How can I assign a static IP to a Kubernetes Service? 无法创建侦听器:错误侦听 tcp4 192.168.1.82:44442:绑定:无法分配请求的地址 - unable to create listener: Error listen tcp4 192.168.1.82:44442: bind: cannot assign requested address
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM