Hi there,
I am quite new with kubernetes and Ingressroutes and am facing the following challenge:
I wanted to make a pod (zigbee2mqtt) available through a subdomain. Already tried it with pathprefix but it was not working so I thought about subdomains with the following IngressRoute forwarding to the respective k8s service: http://zigbee.domain.home
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: zigbee2mqtt-ingress-route
namespace: homeassistant
labels:
app: zigbee2mqtt
spec:
entryPoints:
- web
routes:
- match: HostRegexp(`zigbee.domain.home`)
kind: Rule
services:
- name: zigbee2mqtt
port: 8080
kind: Service
tls: {}
It shows up in the Traefik dashboard but, however, does not lead to the connected service:
Entering the service's IP directly (red) works. The domain (blue) is also internally registered as a DNS entry.
Any ideas what I am missing?
Thanks and looking forward to learning a lot