Gateway does not show IP address but is working anyway

I'm using RKE2 v1.34.9, which comes with Traefik v3.7.13.

Traefik is deployed to only serve Gateway API (Ingress is disabled):

ingressClass:
  enabled: false

gateway:
  enabled: false   # don't create a default gateway

providers:
  kubernetesIngress:
    enabled: false
  kubernetesGateway:
    enabled: true

tlsStore:          # configure a default TLS certificate here
  default:
    defaultCertificate:
      secretName: rancher-guest-tls

The LB service is created manually (served by PureLB) and is working:

apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/name: rke2-traefik
    app.kubernetes.io/instance: rke2-traefik-kube-system
  name: rke2-traefik-controller
  namespace: kube-system
spec:
  type: LoadBalancer
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: web
    - name: https
      port: 443
      protocol: TCP
      targetPort: websecure
  selector:
    app.kubernetes.io/instance: rke2-traefik-kube-system
    app.kubernetes.io/name: rke2-traefik
kubectl get svc -n kube-system rke2-traefik-controller 
NAME                      TYPE           CLUSTER-IP   EXTERNAL-IP    PORT(S)                      AGE
rke2-traefik-controller   LoadBalancer   10.43.3.14   10.1.1.1       80:30752/TCP,443:32429/TCP   18h

Then I'm creating a gateway manually:

---
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: traefik
  namespace: kube-system
spec:
  gatewayClassName: traefik
  listeners:
    - name: http
      protocol: HTTP
      port: 8000
      allowedRoutes:
        namespaces:
          from: All
    - name: https
      protocol: HTTPS
      port: 8443
      tls:
        mode: Terminate
        certificateRefs:
          - name: rancher-guest-tls
            namespace: kube-system
      allowedRoutes:
        namespaces:
          from: All

The gateway doesn't receive ( or show) an IP address:

kubectl get gateway -A
NAMESPACE     NAME      CLASS     ADDRESS   PROGRAMMED   AGE
kube-system   traefik   traefik             True         17h

I'm skipping the traefik whoami app deployment here. After the creation of a HTTPRoute resource the application is reachable from the outside. So everything is actually working, but the IP address of the gateway is not visible.

Is this normal? (I don't think so) How to debug this setup? What markers or messages to look for? What debug level?

Any help is appreciated!

Hi, The IP will appear at your ingress controller only

No, it doesn't. Let's continue on my other post. I didn't expect that moderation takes 2 days and asked the question twice :slight_smile: Sorry.