Greetings,
I just tried installing traefik using helm chart by using the below command
helm repo add traefik https://helm.traefik.io/traefik
helm repo update
helm install -n traefik --create-namespace traefik traefik/traefik
The deployment works fine and I could see the dashboard using port-forwarding.. but I am always getting a 404 page not found
error when attempted to create an IngressRoute
pointing to my domain. Please find the IngressRoute
manifest furnished below.
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: dashboard
spec:
entryPoints:
- web
routes:
- match: Host(`traefik.mydomain.com`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal
kind: TraefikService
I tried adding ingress resources to my apps and they seems to work fine, but somehow I am unable to expose the dashboard using IngressRoute
. Are there any additional steps required for exposing the dashboard? Thanks!
Cheers!
Prasad