[ Kube 101.4 ] Traefik v2 | Part 4 | Exploring Middlewares
HTML-код
- Опубликовано: 16 авг 2024
- In this fourth video of this series, we will explore some of the middlewares that we can use with Traefik. I will be explaining these with concrete examples.
Traefik Docs: doc.traefik.io...
📺 Traefik v2 Playlist:
• Traefik v2 in Kubernetes
⏲Timestamps:
00:00 Introduction
01:46 Middlewares
02:23 Example 1 Add Prefix
05:48 Example 2 Strip Prefix
08:25 Example 3 Redirect Scheme
11:25 Example 4 Basic Auth
😺 Github:
github.com/jus...
📺 Learn Kubernetes Playlist:
• Learn Kubernetes
Hope you enjoyed this video. Please share it with your friends and don't forget to subscribe to my channel. For any questions/issues/feedback, please leave me a comment and I will be happy to help.
👏 Thanks for watching.
💗 If you wish to support me:
www.paypal.com...
Middlewares are the heart of traefik v2. A very very explained video Mr. Venkat - The only one!
Many thanks for your interest 🤠
one of the most informative videos maybe the first one. thank you so much.
Hi Mustafa, Thanks for watching.
Some middleware rules were added to the docker image which was not functioning well when deployed to our AKS cluster. thank you for this video , it helped me to change my Ingress configuration to IngressRoutes and all the middleware rules. Cheers!
Thanks a lot for this tutorial! Your didactics is great, right straight to the point
Hi Mathias, Thanks for watching. i had to look up what didactic means 😁.
Appreciated to update old videos with latest one
Hi Zaheer, thanks for watching.
Very informative Venkat 🙏
Could you please have video on Kubernetes dashboard with https behind Traefik v.210
Hi, please u have a kubernetes in windows with docker-compose I want to use metallb but when get up I can't access to device nginx for example thanks for help
Hello sir, thanks for this video.
I am not able to simulate the "Retry" middleware.
Steps:
======
1) Sending the request from [ JMeter--> Traefik-->Service ]
2) I have restarted the pod during the request and checking the Traefik logs for "retry attempts" - I see no retry attempts from Traefik. (I get 503 service unavailable immediately)
Can you please suggest some scenarios to simulate this "Retry" operation from Traefik ??
My basic Auth is exactly like yours and even shows in the dashboard but when I connect to the application there is no request for login
😎
Thanks for watching.
You probably could have gone through this faster.. not sure how, but it’s probably possible. Some examples were shown for a full couple of frames. Good thing this tutorial is only for people who know exactly what it is you’re doing and looking at..
Hai team is their any udemy class for traefik v2
That's great content, really helpful.
What Linux distro is this?
Arch Linux with I3 tiling window manager. Thanks for watching.
@@justmeandopensource
Looks nice, will give it a try tomorrow on virtual machine. Sent you a bit of support yesterday, please keep doing what you are doing.
@@alexal4 Many thanks for supporting me Alex. Much appreciated. Cheers.
@@justmeandopensource
Archlinux now is my default distro :)
What terminal you using? I am using terminator, but I don't recognize the one you are using. And what is the monitor status at at the top right side? It will take some time to get use to navigate with i3, but it is a fun for sure.
@@alexal4 Cool. I was using Termite and recently switched to Alacritty. And had been an Arch + I3 user for a very long time.
Few people asked about my setup and I actually ended up doing a series of video on how to get to my setup from scratch using Ansible automation.
Here is the playlist. But I guess it is outdated and might need some tweaks to get it working.
ruclips.net/p/PL34sAs7_26wOgqJAHey16337dkqahonNX
My terminal setup is here (in the video used Ubuntu to showcase)
ruclips.net/video/PUWnCbr9cN8/видео.html
common softwares that I use
ruclips.net/video/21sLT6Hi5nY/видео.html
some more info about my distro hopping habbit
ruclips.net/video/xf0cNi91bhk/видео.html
Great work again.
Could you do a video about the forwardAuth middleware as well?
As far as I Know, OIDC or oAuth2 Authentications are Enterprise-Only features.
I'm wondering whether it's possible to make a workaround with forwardAuth middleware and some sort of "gatekeeper"-Deployment-Pod
Thanks for watching. I can give it a try. Cheers.
I actually use oauth2-proxy to use as a side car for oidc purposes. Its a free solution.
@@weiyen hey I am doing an oauth2 proxy solution myself. I am confused as to how to use traefik routes/middleware to route traffic to my proxy container. I am able to set up the proxy with an appropriate auth provider( Keycloak). I would appreciate a response if possible
@@mubasilbokhari4477 traefik reads off the configuration of your containers. Expose the oauth-proxy port instead of your application
You could enable automatic redirection from http to https using traefik helm additionalArguments:
- "--entrypoints.web.http.redirections.entryPoint.to=:443"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--entrypoints.web.http.redirections.entrypoint.permanent=true"