dusansusic / kubernetes-traefik Goto Github PK
View Code? Open in Web Editor NEWHow to deploy Traefik Ingress Controller to K8S - DEPRECATED
How to deploy Traefik Ingress Controller to K8S - DEPRECATED
[api]
entryPoint = "traefik"
So I really do not understand. Is there a way to make your recipe actually work ?
Note the error message, very well reported in containous/traefik repo :
$ kubectl logs -f service/traefik-ingress-controller-http-service -n traefik
Found 2 pods, using pod/traefik-ingress-controller-7c9bb644cc-4jxgl
2020/05/09 13:39:38 command traefik error: field not found, node: entryPoint
Thanks for the tutorial. I'm working through a K8S setup for the first time and your documentation has been helpful.
I was getting an error that the secret traefik-ui-tls-cert could not be found. According to the docs:
"Secret API objects reside in a namespace. They can only be referenced by pods in that same namespace."
I adjusted the command to kubectl create secret tls traefik-ui-tls-cert --key k8s/ssl/tls.key --cert k8s/ssl/tls.crt --namespace traefik
kubectl --namespace=traefik describe ingress traefik-dashboard-ingress
Name: traefik-dashboard-ingress
Namespace: traefik
Address:
Default backend: default-http-backend:80 (<none>)
Rules:
Host Path Backends
---- ---- --------
traefik-ui.example.com
/ traefik-dashboard:8080 (<none>)
Annotations:
kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"extensions/v1beta1","kind":"Ingress","metadata":{"annotations":{"kubernetes.io/ingress.class":"traefik","traefik.ingress.kubernetes.io/frontend-entry-points":"http,https","traefik.ingress.kubernetes.io/redirect-entry-point":"https","traefik.ingress.kubernetes.io/redirect-permanent":"true"},"name":"traefik-dashboard-ingress","namespace":"traefik"},"spec":{"rules":[{"host":"traefik-ui.example.com","http":{"paths":[{"backend":{"serviceName":"traefik-dashboard","servicePort":8080},"path":"/"}]}}]}}
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/redirect-permanent: true
Events: <none>
Is there a way we can have subpath but different backend in the traefik? We tested below but no luck.
Heya,
traefik traefik-ingress-controller-5d96649bb7-v5q4b 0/1 Error 4 114s 10.32.0.3 kuber-03.local <none> <none>
traefik traefik-ingress-controller-5d96649bb7-v5q4b 0/1 CrashLoopBackOff 4 116s 10.32.0.3 kuber-03.local <none> <none>
traefik traefik-ingress-controller-5d96649bb7-v5q4b 0/1 Error 5 3m29s 10.32.0.3 kuber-03.local <none> <none>
traefik traefik-ingress-controller-5d96649bb7-v5q4b 0/1 CrashLoopBackOff 5 3m31s 10.32.0.3 kuber-03.local <none> <none>
traefik traefik-ingress-controller-5d96649bb7-v5q4b 0/1 Running 6 6m20s 10.32.0.3 kuber-03.local <none> <none>
traefik traefik-ingress-controller-5d96649bb7-v5q4b 0/1 Error 6 6m21s 10.32.0.3 kuber-03.local <none> <none>
❯ k logs traefik-ingress-controller-5d96649bb7-v5q4b -n traefik
2020/04/06 21:01:45 command traefik error: field not found, node: entryPoint
To fix this, one must change
- image: traefik
to
- image: traefik:1.7
in kubernetes-traefik/deployment.yaml
file.
Might be good idea to update that line.
Found some info on this particular error here traefik/traefik#5135
After pushed deployment.yaml content,I am getting error.
Readiness probe failed: HTTP probe failed with statuscode: 404
Back-off restarting failed container
Hi, I want to first thank you for sharing your work, and give a small contrib. :
README.md
:
- Modify
entryPoints.traefik.auth.basic
section ofdeployment.yaml
with new admin username/password
- Modify
entryPoints.traefik.auth.basic
section ofconfigmap.yaml
with new admin username/password
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.