Questions tagged [traefik-ingress]

Traefik-ingress refers to instances when the cloud native edge router Traefik is used as an Ingress controller for a Kubernetes cluster. Use this tag for questions related to such use of the router Traefik.

Traefik-ingress refers to instances when the cloud native edge router Traefik is used as an Ingress controller for a Kubernetes cluster. Use this tag for questions related to such use of the router Traefik.

346 questions
4
votes
1 answer

How terminate ssl over tcp on kubernetes

I want to deploy mqtt broker with tcp port 1883 and terminate ssl out of broker. I know how to open tcp port with haproxy-ingress and nginx-ingress but don't know how I can use ssl terminate with it.
4
votes
1 answer

How to use Traefik IngressRoute on a Headless Service

I am trying to configure a Traefik IngressRoute to point to a Headless service (the service point to a Database behind the cluster). The Setup work well with a "normal" service (with the endpoint inside the cluster). I am using traefik 2.3. But when…
Popopame
  • 492
  • 4
  • 18
4
votes
1 answer

How do I get traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip to work?

I have the following kubernetes manifest apiVersion: extensions/v1beta1 kind: Ingress metadata: annotations: kubernetes.io/ingress.class: traefik-external traefik.ingress.kubernetes.io/router.entrypoints: websecure, web …
Tomas Jansson
  • 22,767
  • 13
  • 83
  • 137
4
votes
2 answers

Can I use ip address in Kubernetes Ingress instead of domain name?

I am using Traefik as Kubernetes Ingress and I would like to know if I can use an IP address instead of a domain name. Example: http://ipaddress/service1 http://ipdadress/service2 My ingress configuration: apiVersion: extensions/v1beta1 kind:…
cleitond
  • 43
  • 1
  • 4
4
votes
0 answers

traefik on k8s route to postgres over TCP

We're running traefik on k8s, I'm able to build routes to http services but not TCP, e.g. I'm able to get the whoami service but not the postgres service. Initial setups: I installed postgres via standard helm chart I installed traefik via it's helm…
Naim Salameh
  • 387
  • 4
  • 18
4
votes
1 answer

Traefik 2 http to https redirect with tls not working

I want to set up http to https redirect in one IngressRoute, but with configuration below when I trying to access http endpoint traefik returns 404 not found error. If I remove tls section redirect works but tls not. Can I have both…
4
votes
3 answers

how to add caching to Microservices behind Traefik Ingress Controller?

I was using a Docker-based setup with an nginx reverse proxy forwarding to Dockerized Microservices for some time. Right now I am evaluating a switch to a Kubernetes-based approach and the Traefik Ingress Controller. The Ingress Controller provides…
muffel
  • 7,004
  • 8
  • 57
  • 98
4
votes
0 answers

HTTP 502 error when perfoming a rolling update of a backend

I am using traefik version 1.7.7 as an ingress controller in a kubernetes cluster version 1.11.5. Each time I perform a rolling upgrade of a Deployment of one of my backend, Traefik generates a 502 error (mostly only one) with the following error…
Alex Strate
  • 651
  • 7
  • 10
4
votes
2 answers

Traefik dashboard/web UI 404 when installed via helm on Digitalocean single node cluster

I am trying to set Traefik as my ingress controller and load balancer on a single node cluster(Digital Ocean). Following the official Traefik setup guide I installed Traefik using helm: helm install --values values.yaml stable/traefik #…
3
votes
2 answers

Run Traefik container & whoami container on Docker Desktop but not able to get response from server

I would like to have Traefik & traefik/whoami containers up and running. Then access the whoami server via Traefik container. I am using MacBook with M2 chip, that's armv8 architecture. So, the image I use for "whoami" server is traefik/whoami…
user842225
  • 5,445
  • 15
  • 69
  • 119
3
votes
1 answer

How to expose Traefik v2 dashboard with Kubernetes Ingress

Currently I use Traefik IngressRoute to expose the Traefik dashboard. I am using this configuration: apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: traefik-dashboard namespace: my-namespace spec: routes: - match:…
zingi
  • 1,141
  • 13
  • 23
3
votes
2 answers

IngressRoute for Kubernetes-Dashboard using Traefik

I'm moving my project to Kubernetes using Traefik for routing and MetalLB as my load balancer. I've deployed several apps and I'd like to make use of official Kubernetes-Dashboard. So I deployed the Kubernetes-Dashboard using recommended config and…
3
votes
2 answers

Diagnosing K3S Ingress 404

I am unable to get even the most basic examples of Ingress Resources working in K3S. According to the documentation, a Traefik Ingress Controller is installed by default but it doesn't seem to handle/see any Ingress Resources I create. The response…
Marc
  • 13,011
  • 11
  • 78
  • 98
3
votes
1 answer

How to remove Traefik 2.0 Middleware and IngressRoute in kubernetes once deployed

I have the following YAML (test.yaml) file that allows me to create ingress router and middleware for traefik 2 apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: test namespace: qa spec: entryPoints: - web …
Kush Patel
  • 3,685
  • 5
  • 42
  • 65
3
votes
1 answer

Traefik Ingress: Is blacklisting possible?

Whitelisting ips is possible with this annotation: ingress.kubernetes.io/whitelist-source-range: "1.1.1.1/24" Is it possible to do the same with blacklisting? would be nice to block some suspicous requests.
8bit
  • 528
  • 2
  • 6
  • 25
1
2
3
23 24