[ 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...

Комментарии • 32

  • @rmnobarra
    @rmnobarra 3 года назад +4

    Middlewares are the heart of traefik v2. A very very explained video Mr. Venkat - The only one!

  • @mguven
    @mguven 2 года назад +2

    one of the most informative videos maybe the first one. thank you so much.

  • @TANVEER991164
    @TANVEER991164 2 года назад

    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!

  • @mathiascosta930
    @mathiascosta930 Год назад

    Thanks a lot for this tutorial! Your didactics is great, right straight to the point

    • @justmeandopensource
      @justmeandopensource  Год назад

      Hi Mathias, Thanks for watching. i had to look up what didactic means 😁.

  • @zaheerhussain5311
    @zaheerhussain5311 3 года назад +1

    Appreciated to update old videos with latest one

  • @nikhilwankhade3953
    @nikhilwankhade3953 Год назад

    Very informative Venkat 🙏

  • @nikhilwankhade3953
    @nikhilwankhade3953 Год назад

    Could you please have video on Kubernetes dashboard with https behind Traefik v.210

  • @hassije8615
    @hassije8615 Год назад

    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

  • @DileepKumarMB
    @DileepKumarMB 2 года назад

    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 ??

  • @ArielLothlorien
    @ArielLothlorien 2 года назад

    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

  • @julianomoraisbarbosa
    @julianomoraisbarbosa 3 года назад +1

    😎

  • @ClAddict
    @ClAddict 2 года назад

    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..

  • @harishreddy3374
    @harishreddy3374 2 года назад

    Hai team is their any udemy class for traefik v2

  • @alexal4
    @alexal4 2 года назад +1

    That's great content, really helpful.
    What Linux distro is this?

    • @justmeandopensource
      @justmeandopensource  2 года назад +2

      Arch Linux with I3 tiling window manager. Thanks for watching.

    • @alexal4
      @alexal4 2 года назад +1

      @@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.

    • @justmeandopensource
      @justmeandopensource  2 года назад +2

      @@alexal4 Many thanks for supporting me Alex. Much appreciated. Cheers.

    • @alexal4
      @alexal4 2 года назад +1

      @@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.

    • @justmeandopensource
      @justmeandopensource  2 года назад +1

      @@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

  • @raskosk
    @raskosk 3 года назад +1

    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

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      Thanks for watching. I can give it a try. Cheers.

    • @weiyen
      @weiyen 2 года назад

      I actually use oauth2-proxy to use as a side car for oidc purposes. Its a free solution.

    • @mubasilbokhari4477
      @mubasilbokhari4477 2 года назад

      @@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

    • @weiyen
      @weiyen 2 года назад

      @@mubasilbokhari4477 traefik reads off the configuration of your containers. Expose the oauth-proxy port instead of your application

  • @VuiDJi
    @VuiDJi 2 года назад

    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"