I use the traefik with the Gateway API, I could create a Gateway resource to describe the entry point. such as:
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: Gateway
metadata:
name: test-info-123-gateway-tcp-1000
namespace: default
spec:
gatewayClassName: traefik
listeners:
- allowedRoutes:
kinds:
- group: gateway.networking.k8s.io
kind: TCPRoute
namespaces:
from: Same
name: listener-tcp-1000
port: 1000
protocol: TCP
But this can not work, after reading the code, I know that must configure the entry point with address ":1000".