---
title: "Discussion on \"Set up Traefik Kubernetes Ingress for HTTP and HTTPS with redirect to HTTPS\" | Hashnode"
description: "Discussion on \"Set up Traefik Kubernetes Ingress for HTTP and HTTPS with redirect to HTTPS\". When services are deployed to kubernetes, it is necessary to configure how to expose and redirect traffic to them from outside the cluster.\nIn this blog post I will show you how you can set up Traefik ingress routers to redirect HTTP traffic to HTTPS..."
url: "https://hashnode.com/posts/set-up-traefik-kubernetes-ingress-for-http-and-https-with-redirect-to-https/618d8b6f468c06249afc85a3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Set up Traefik Kubernetes Ingress for HTTP and HTTPS with redirect to HTTPS](https://aqibrahman.com/set-up-traefik-kubernetes-ingress-for-http-and-https-with-redirect-to-https?utm_source=hashnode&utm_medium=feed)

When services are deployed to kubernetes, it is necessary to configure how to expose and redirect traffic to them from outside the cluster. In this blog post I will show you how you can set up Traefik ingress routers to redirect HTTP traffic to HTTPS...

Sep 17, 2021 · 3 min read · aqibrahman.com  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#tls](https://hashnode.com/tag/tls)
-   [#http](https://hashnode.com/tag/http)
-   [#https](https://hashnode.com/tag/https)

## Written by

[Aqib Rahman](https://hashnode.com/@rahman124)

@rahman124 · United Kingdom

  
[View profile](https://hashnode.com/@rahman124)

DevOps Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[Tomas Norre Mikkelsen](https://hashnode.com/@Tomasnorre)

[Nov 1, 2022](https://hashnode.com/posts/set-up-traefik-kubernetes-ingress-for-http-and-https-with-redirect-to-https/618d8b6f468c06249afc85a3/comment/6360d6f40c203a67bd87b6b9)

Hi.

Thanks for writing the article, this is exactly what I was looking for, and it works like a charm for me, with one exception.

When I go to my traefik dashboard, I see the following error on the web-route.

```
middleware "default-traefik-redirectscheme@kubernetescrd" does not exist
```

I have applied the middleware, and it's also present when I do `kubectl get middleware`

Do you have an idea why this is happening?
