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
3
votes
2 answers

How to enable CORS in Kubernetes with Traefik

I am trying to enable CORS on ingress in kubernetes running traefik. So that in the response header I could add CORS origin to be allowed to every host for now. How can I do that? Below is the k8 ingress.yml file. apiVersion:…
josh8303
  • 33
  • 1
  • 5
3
votes
0 answers

Deploy to kubernetes cluster using helm with smoke tests

I'm working on moving our micro-service to kubernetes cluster using helm charts. Flow will be Deploy the app Run automated smoke test If the test passes, route traffic to a new set of pods. If the test fails, delete the new deployment. Currently…
Santosh Hegde
  • 3,420
  • 10
  • 35
  • 51
3
votes
2 answers

Treafik uses DEFAULT CERT instead of using Let's Encrypt wildcard certificate

I try to setup Traefik to get certificates from Let's Encrypt using DNS challenge and secure a whoami app with this certificate. I manage to get the certificate (well present in the acme.json file) but my IngressRoute doesn't use these certificate…
3
votes
2 answers

what is the disadvantage using hostSNI(*) in traefik TCP route mapping

Now I am using HostSNI(*) to mapping the TCP service like mysql\postgresql... in traefik 2.2.1 in Kubernetes cluster v1.18 . beacuse I am in my local machine and did not have a valid certification. This is the config: apiVersion:…
Dolphin
  • 29,069
  • 61
  • 260
  • 539
3
votes
1 answer

increasing traefik ingress timeout settings through annotations

I need to increase my traefik ingress timeouts because now I'm getting 499 errors. When I was using Nginx as my ingress proxy as was able to use theses annotations: appVersion: .. kind: Ingress ... metadata: annotations: …
3
votes
2 answers

Open other ports more than HTTP & HTTPS in Traefik Kubernetes Ingress

I've gotten up Traefik as an Ingress in Kubernetes with this configuration: https://github.com/RedxLus/traefik-simple-kubernetes/tree/master/V1.7 And works well to HTTP and HTTPS but I don't know how can open others ports to forward, for example, a…
3
votes
3 answers

Install two traefik ingress controller on same kubernetes Cluster

I have a situation, where I am planning to use two separate traefik ingress controller inside the Kubernetes cluster. I have a few URLs which I want to be accessible through VPN only, and few which can be publicly accessible. In the current…
kadamb
  • 1,532
  • 3
  • 29
  • 55
3
votes
1 answer

Symfony app not getting HTTPS traffic behind Traefik and Nginx proxy

I currently try to deploy a Symfony app in a Docker setup. The current setup is: [ Traefik ] -> [ Nginx ] -> [ PHP-FPM ] Traefik is the ingres point, handling SSL certificates (using the dnsChallenge option). Nginx handles serving of static files…
wawa
  • 4,816
  • 3
  • 29
  • 52
3
votes
1 answer

Traefik on Kubernetes does not keep path over redirect

I have a Traefik on Kubernetes that acts as ingress and load balancer. I have a ingress setup like this: { "apiVersion": "extensions/v1beta1", "kind": "Ingress", "metadata": { "name": "nppl-ingress", "annotations": { …
Justin
  • 1,149
  • 2
  • 19
  • 35
3
votes
2 answers

Traefik Ingress (Kubernetes) not receiving letsencrypt certificates

I've configured Traefik (helm chart) with let'sencrypt ACME, but I'm not receiving any certificates. The Traefik Ingress is exposed on port 80 and 443 to the internet. traefik.toml logLevel = "INFO" InsecureSkipVerify = true defaultEntryPoints =…
3
votes
2 answers

Configure Kubernetes Traefik Ingress with different path rewrites for each service

I'm in the process of migration of our application from single instance Docker-compose configuration to Kubernetes. I currently have the following example NGINX configuration, running as a reverse proxy of my application: server { server_name …
3
votes
1 answer

RollingUpdate on kubernetes does not prevent Gateway Timeout

I've followed http://rahmonov.me/posts/zero-downtime-deployment-with-kubernetes/ blog, created two docker images with index.html returning 'Version 1 of an app' and 'Version 2 of an app'. What I want to achieve is zero downtime release. I'm…
hi_my_name_is
  • 4,894
  • 3
  • 34
  • 50
3
votes
1 answer

Path based routing issues Traefik as Ingress Controller

I'm running through what looks like a configuration issue! I am using traefik as ingress controller within kubernetes and I have an ingress to route some URLs to route some frontends to various backends. Let's say I have something like…
Cedric Morent
  • 1,719
  • 1
  • 14
  • 25
2
votes
1 answer

Forward k3s traffic to host machine

Is it possible to make the k3s ingress route a certain path to a certain IP or port of a service which is not running inside the Kubernetes, but on same physical machine? My use-case Using single node k3s setup. I have a special server running on…
Paperclip
  • 615
  • 5
  • 14
2
votes
0 answers

Setting HTTPS with Traefik2 on AWS EKS with ACM

I have an AWS EKS cluster with Traefik2 deployed via helm with the following config. The ACM cert set is a wildcard cert *.example.com service: enabled: true type: LoadBalancer annotations: { …
1 2
3
23 24