Hi, can someone helm me troubleshoot the issue. I have used default configuration of helm traefik. My goal is to use external ip assigned to traefik in my case 192.168.0.200/ and connect to whoami service.
traefik deployment config:
Pod Template:
Labels: app.kubernetes.io/instance=traefik-1729174917-traefik-system
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=traefik
helm.sh/chart=traefik-32.1.1
Annotations: prometheus.io/path: /metrics
prometheus.io/port: 9100
prometheus.io/scrape: true
Service Account: traefik-1729174917
Containers:
traefik-1729174917:
Image: docker.io/traefik:v3.1.6
Ports: 9100/TCP, 9000/TCP, 8000/TCP, 8443/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP, 0/TCP
Args:
--global.checknewversion
--global.sendanonymoususage
--entryPoints.metrics.address=:9100/tcp
--entryPoints.traefik.address=:9000/tcp
--entryPoints.web.address=:8000/tcp
--entryPoints.websecure.address=:8443/tcp
--api.dashboard=true
--ping=true
--metrics.prometheus=true
--metrics.prometheus.entrypoint=metrics
--providers.kubernetescrd
--providers.kubernetescrd.allowEmptyServices=true
--providers.kubernetesingress
--providers.kubernetesingress.allowEmptyServices=true
--entryPoints.websecure.http.tls=true
--log.level=INFO
Liveness: http-get http://:9000/ping delay=2s timeout=2s period=10s #success=1 #failure=3
Readiness: http-get http://:9000/ping delay=2s timeout=2s period=10s #success=1 #failure=1
Environment:
Name: whoami-ingress
Namespace: default
Labels: <none>
Annotations: <none>
API Version: traefik.io/v1alpha1
Kind: IngressRoute
Spec:
Entry Points:
web
Routes:
Kind: Rule
Match: Path(`/`)
Services:
Name: whoami
Port: 80
Events: <none>
kubectl get svc -A returns me correct LAN ip 192.168.0.200:
Name: traefik-1729174917
Namespace: traefik-system
Labels: app.kubernetes.io/instance=traefik-1729174917-traefik-system
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=traefik
helm.sh/chart=traefik-32.1.1
Annotations: meta.helm.sh/release-name: traefik-1729174917
meta.helm.sh/release-namespace: traefik-system
metallb.universe.tf/ip-allocated-from-pool: main-svc-pool
Selector: app.kubernetes.io/instance=traefik-1729174917-traefik-system,app.kubernetes.io/name=traefik
Type: LoadBalancer
IP Family Policy: SingleStack
IP Families: IPv4
IP: 10.105.6.155
IPs: 10.105.6.155
LoadBalancer Ingress: 192.168.0.200
Port: web 80/TCP
TargetPort: web/TCP
NodePort: web 32389/TCP
Endpoints: 10.244.0.6:8000
Port: websecure 443/TCP
TargetPort: websecure/TCP
NodePort: websecure 30625/TCP
Endpoints: 10.244.0.6:8443
Session Affinity: None
External Traffic Policy: Cluster
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal IPAllocated 53m metallb-controller Assigned IP ["192.168.0.200"]
what am I missing please, trying couple of days but to no avail. If you need any more info please tell me I can share it =)