Traefik as kubernetes ingress

0 votes
I have my deployments on AWS and I just realized that there’s no default ingress controller available. I decided to use traefik.

But how do I use traefik as kubernetes ingress on my kubernetes cluster the same way as other ingress controllers?

Thank you in advance
Sep 11, 2018 in Kubernetes by lina
• 8,200 points
341 views

1 answer to this question.

0 votes

Try something like this

apiVersion: v1
kind: Service
metadata:
  name: traefik-proxy
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "arn:aws:acm:REGION:ACCOUNTID:certificate/CERT-ID"
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
spec:
  type: LoadBalancer
  selector:
    app: traefik-proxy
    tier: proxy
  ports:
  - port: 443
    targetPort: 80
answered Sep 11, 2018 by Kalgi
• 51,890 points

Related Questions In Kubernetes

0 votes
1 answer

Use traefik as an Ingress Controller on Kubernetes

You can create a traefik service something like ...READ MORE

answered Jan 6, 2019 in Kubernetes by Nick
463 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Forcing ssl for Kubernetes Ingress on GKE

https://github.com/kubernetes/ingress-gce#frontend-https If you want to block http, you ...READ MORE

answered Sep 6, 2018 in Kubernetes by ajs3033
• 7,280 points
2,713 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
7,674 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,890 points

reshown Apr 12, 2019 by Kalgi 2,269 views
0 votes
2 answers

Deny access to some specific paths while using kubernetes ingress

Try to create two Ingresses first by default ...READ MORE

answered Sep 21, 2018 in Kubernetes by Nilesh
• 6,970 points
4,870 views