IngressRoute and Gateway api

Hello,

I'm learning traefik, kubernetes and everything around this.

I'm moving away from the Ingress API to the Gateway API and I'm wondering how should I consider IngressRoute object ?

For exemple I have this one :

---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: traefik-dashboard
  namespace: traefik
  annotations:
  labels:
    app.kubernetes.io/name: traefik
    app.kubernetes.io/instance: traefik
spec:
  entryPoints:
    - traefik
  routes:
    - match: PathPrefix(`/dashboard`) || PathPrefix(`/api`)
      kind: Rule
      services:
        - name: api@internal
          kind: TraefikService

What would be the best thing to do ? Should I migrate it to HTTPRoute ?

I understand a bit more the differences between the three choices, and I see why you created the IngressRoute CRD.

I tried to map the default IngressRoute to a HTTPRoute for learning without success.

On a simple traefik setup, is it possible to only use the Gateway API to access the dasboard ?