Simplify Kubernetes YAML with Kustomize

Поділитися
Вставка
  • Опубліковано 18 лип 2020
  • Subscribe to show your support! goo.gl/1Ty1Q2 .
    Patreon 👉🏽 / marceldempers
    Today we're going to look at simplifying YAML management with a tool called Kustomize.
    Kustomize is built into the kubectl binary, making it super easy to access and consume as part of your operations and CI/CD pipelines.
    Many times, especially for microservices we want a simple solution.
    Kustomize provides that simplicity without over complicated templating.
    If you want to support the channel further, become a member 😎
    marceldempers.dev/join
    Checkout "That DevOps Community" too
    marceldempers.dev/community
    If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)
    Checkout the source code below and follow along :)
    Kubernetes Guide for Beginners:
    ---------------------------------------------------
    • Kubernetes development...
    Kubernetes Monitoring Guide:
    -----------------------------------------------
    • Kubernetes Monitoring ...
    Kubernetes Secret Management Guide:
    --------------------------------------------------------------
    • Kubernetes Secret Mana...
    Like and Subscribe for more :)
    Source Code
    --------------------------------------------------------------
    github.com/marcel-dempers/doc...
    Follow me on socials!
    marceldempers.dev
    Twitter | / marceldempers
    GitHub | github.com/marcel-dempers
    Facebook | thatdevopsguy
    LinkedIn | / marceldempers
    Instagram | / thatdevopsguy
    Music:
    Track: Joakim Karud - Holiday Blues | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / holiday-blues
    Track: Joakim Karud - That Day | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / that-day
    Track: Amine Maxwell - Le Soir | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / le-soir
    Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / parallel
  • Наука та технологія

КОМЕНТАРІ • 145

  • @mediatwinkleTV
    @mediatwinkleTV 2 роки тому +30

    This is actually the best Kustomize tutorial on youtube hands down. Easy example, straight to the point with overlays and patching. Please keep up the great work !

  • @animeshkumar1606
    @animeshkumar1606 8 місяців тому +2

    Finally a video which explains concepts in depth

  • @patricknelson
    @patricknelson 2 роки тому +7

    4:53 - Yes yes yes, this 100%. I’ve only been working with k8s for a relative short while, but I found myself really over complicating things once I realized how much simpler it was to use Kustomize to accomplish the same thing. It’s all about _simplifying_ and making the code easier to *reason * with. I realized that the little trade offs (e.g. less verbosity) resulted in major downsides in other areas like incorporating too much logic and too many variables, layering of variables (defaults), for loops and worse, the use of parameters to incorporate dynamic values at template generation time _dramatically_ increased the cognitive load required to reason about what was ultimately happening. Once I stumbled upon Kustomize I started to realize a completely new way of thinking about how to solve these problems which resulted in a much simpler solution that may have had _slightly_ more code, but that code wasn’t harder to refactor. Best of all: It was just much easier to understand and I was _much_ more quickly able to add, edit, change things with less resistance.

  • @MegaMoses91
    @MegaMoses91 4 роки тому +40

    Thank you for keeping us updated with all the devops tools. You’re a talented instructor! Keep it up!

    • @funnyandgames1555
      @funnyandgames1555 2 роки тому

      False!!!, he is one of the best instructor

    • @devopskey6251
      @devopskey6251 2 роки тому

      I also agree that he teaches us extraordinary.

  • @felipeozoski
    @felipeozoski Рік тому +4

    Thank you so much for the great content Marcels !!! We love you man!!

  • @umermustafa2560
    @umermustafa2560 2 роки тому

    The way you explain is really concise and directly goes into the brain through the skull ... I love to watch you videos... Keep it up Boss.

  • @noo-sho8500
    @noo-sho8500 3 роки тому +18

    You're a legend. Thank you for this! This tutorial is so clear and perfectly focused on the topic! The added value of sharing your repo is saving a lot of time and makes it easier to learn. One thing I am missing is the agenda - it would be awesome if you could add timestamps for your video in the description or the video itself, it would make it easier to return to this outstanding tutorial and go through some of the stuff again. Either way, you're the top of the game. Thank you once more for this clear explanation! I subscribed after first few minutes of the video, obviously! Cheers!

    • @Akhan4u
      @Akhan4u Рік тому

      Same thoughts here. I too subscribed in just few starting mins 😎

  • @edidiongetuk7133
    @edidiongetuk7133 3 роки тому +2

    Thanks so much Marcel! I needed a crash course on Kustomize and I got exactly that!

  • @thesobercoder
    @thesobercoder 2 роки тому

    This is the best Kustomize tutorial I've seen on UA-cam. Period.

  • @stefanschmidbauer6075
    @stefanschmidbauer6075 3 роки тому

    Great job Marcel. It's a lot of fun to watch your videos!

  • @billqualls6622
    @billqualls6622 Рік тому +1

    Thank you! This video saved me days of tinkering with Kustomize and weeks of experimentation with yaml file organization.

  • @cafemike111
    @cafemike111 2 роки тому

    This is some superb content covered with a superb level of clarity! Subscribed!

  • @mzimmerman1988
    @mzimmerman1988 3 роки тому

    I pay for several kubernetes courses. I have to say, this is far better than any of them. Right blend of practical and theoretical. Thanks!

  • @ernesto.delaluzmtz
    @ernesto.delaluzmtz 2 роки тому

    Thank you so much for this tutorial, you go straight to the point, you are very good and so clear at explaining, I can say this has been one of the best tutorials I have ever seen.

  • @addmin000
    @addmin000 Рік тому

    This video is an awesome hands-on intro to Kustomize for newbies! Thank you for posting it man

  • @jonathancabral4188
    @jonathancabral4188 2 роки тому

    I have a task to update our projects to use Kustomize. I had some difficult do find good sources to learn more about it. Luckly I found this video. It helped me a lot.

  • @sandro_j
    @sandro_j 4 роки тому

    Thank you for posting. I always learn something new from your videos!

  • @umeshroy7373
    @umeshroy7373 2 роки тому

    There is some magic in the way you present. Thank You Sir 🙏!

  • @sanjayjitu1
    @sanjayjitu1 3 роки тому

    The best kustomize video i have watched till now.. you are amazing and the way you explains the topics are really cool...

  • @olehigorovich474
    @olehigorovich474 2 роки тому

    Very comprehensive and engaging tutorial! Thank you!

  • @Bill_the_Red_Lichtie
    @Bill_the_Red_Lichtie Рік тому

    Clearly explained and easy to follow. The perfect starter! Thank you! 💯

  • @oTwOrDsNe
    @oTwOrDsNe Рік тому

    This is amazingly helpful. Thank you for making this and other concepts simple to get started with!

  • @schrapj
    @schrapj 2 роки тому

    Brilliant! Fast, clear and to the point.

  • @subzeroleaf
    @subzeroleaf 3 роки тому

    You're doing a great job, bro! Congrats

  • @asdasddas100
    @asdasddas100 2 роки тому

    I wish I saw this video before I saw your helm charts video. I'm also a believer in keeping it simple but I already implemented helm into my application

  • @rodrigito78
    @rodrigito78 Рік тому

    Thanks for the fantastic kustomize overview.

  • @ab5848
    @ab5848 2 роки тому +1

    Very precisely explained!! Thank you

  • @NiteshKumar-do4en
    @NiteshKumar-do4en 4 роки тому

    I was using kustomize from 1 month and a good tool for all my yaml

  • @lakshmananganesh2090
    @lakshmananganesh2090 3 роки тому

    Really nice to learn everything from your video and implemented quickly.

  • @markmcgookin1729
    @markmcgookin1729 Рік тому

    This was absolutely brilliant buddy, thanks.

  • @SiddharthPant
    @SiddharthPant 7 місяців тому +1

    Subscribed and liked. Excellent tutorial. Marvellous job. Take my money!

  • @DevOpsDirective
    @DevOpsDirective 4 роки тому +6

    Great overview Marcel -- Having Kustomize automatically update deployments that consume a ConfigMap when it changes is particularly useful!

    • @gemmaatroxxibox5322
      @gemmaatroxxibox5322 3 роки тому

      This is exactly what I needed to know. I'm only 2 mins into the video so thanks for the heads up.

    • @TheShadow2707
      @TheShadow2707 2 роки тому +1

      what happens with old created CM's should they be deleted manually?

  • @albertopolofernandez3472
    @albertopolofernandez3472 Рік тому +1

    I have not that much interest in devops but you make really great videos, congratz!
    And ofc this kustomize video is one of the best ever summary of any tech I've ever seen! truly great!

  • @Ashu6443
    @Ashu6443 2 роки тому

    One of the best video on kustomization.. nice and good examples.. thanks 🎩

  • @sagarajayathilaka
    @sagarajayathilaka 2 роки тому

    Thanks a lot. Great Stuff, Short and right onto the point. Every word is valuable and meaningful.

  • @niharikanaidu4564
    @niharikanaidu4564 2 роки тому

    Crisp and very informative. Thankyou for posting this. Greetings from India

  • @gadieichhorn7570
    @gadieichhorn7570 2 роки тому

    very nice demo and agree with simplicity and usability

  • @farrukhahmedsid
    @farrukhahmedsid 3 роки тому

    Clear and informative video.. Quite a useful thing kustomize is. Thanks Guy!

  • @devopskey6251
    @devopskey6251 2 роки тому

    you are one of my best Mentor in DevOps

  • @JohnMatthew1
    @JohnMatthew1 2 роки тому

    I now understand Kustomize! thank you

  • @developer-guy
    @developer-guy 4 роки тому

    Love your videos another great topic that you covered 🤛

  • @hasanerken9604
    @hasanerken9604 Рік тому

    Very concise and clear explanation...

  • @Akhan4u
    @Akhan4u Рік тому

    Awesome tutorial! Great examples!

  • @nicotarquini
    @nicotarquini 3 роки тому

    Thanks Marcel! I have understood perfect. Greetings from Argentina!

  • @arpanchakraborty9874
    @arpanchakraborty9874 3 роки тому

    Thank you so much. That is really a great tutorial and easy to understand. 🙂

  • @algorithm1313
    @algorithm1313 2 роки тому

    dude you are awesome as hell!!!!! you make my work life easy and awesome

  • @lurhq343
    @lurhq343 2 роки тому

    Always on point! Thanks!

  • @richardlanglois5183
    @richardlanglois5183 2 роки тому

    Great presentation!

  • @Shubham__Saroj
    @Shubham__Saroj Рік тому

    Awesomely Explained.

  • @CasioArtist
    @CasioArtist Рік тому

    Thank You for making this Video

  • @lamle5183
    @lamle5183 3 роки тому

    Thank you very much. Your video is very informative and useful.
    I'm going to apply Kustomize to the project at work.
    I have been struggling to find a smooth approach to handle different environments (dev, testing, staging, prod, etc.). The pains include image tag replacing, persistent volume / persistent volume claim. Take PV and PVC for example, I use Docker Kubernetes on Windows, on local dev environment, I cannot specify static PV paths and can only use PVC with automatic storage allocation, but on staging and prod, I must use PV with nodeAffinity. So on. You know... I think this is a great find. Thank you!

  • @mihailyurukov5942
    @mihailyurukov5942 Рік тому

    Just wanted to let you know - you are awesome!

  • @OmarKhaled-re4lu
    @OmarKhaled-re4lu Рік тому +1

    veryy veryy good explanation, you're professional!

  • @TheK1t3
    @TheK1t3 3 роки тому

    Thank you for the very informative video!

  • @manjunathn6539
    @manjunathn6539 3 роки тому

    Awesome video
    As always😎

  • @devopskey6251
    @devopskey6251 2 роки тому

    Great explained

  • @Cloud-Radio
    @Cloud-Radio 2 роки тому +1

    Thanks it was great help !!

  • @ddpxl
    @ddpxl 3 роки тому +3

    Marcel... you rock!

  • @arpanchakraborty9874
    @arpanchakraborty9874 3 роки тому +6

    Compact yet highly informative videos!! Thanks a ton. Looking forward to more.I just have one question : What is the difference between patches and patchestrategicmerge?

  • @DrMicr0b
    @DrMicr0b 3 роки тому

    great explanation.... thanks Marcel.

  • @DaveThomson
    @DaveThomson 3 роки тому +1

    100% agreed, everything uses HELM where I am and it's ridiculous to manage and understand whats going on. Argo and Kustomize are wonderful!

  • @PixarBasim
    @PixarBasim 3 роки тому

    Thank you so much for this video! :)

  • @vishnupradeep1792
    @vishnupradeep1792 3 роки тому

    Thank you very much, Marcel.

  • @ashwaniahuja
    @ashwaniahuja 3 роки тому

    very well explained

  • @my-curiosity
    @my-curiosity 3 роки тому

    thanks! great tutorial

  • @Manuel-wg7lq
    @Manuel-wg7lq Рік тому

    thanks for sharing! :)

  • @nixkpro99
    @nixkpro99 3 роки тому

    Thanks video you explain different helm and kustomize. I support kustomize

  • @ybonda
    @ybonda 3 роки тому +1

    Great tutorials as usual!
    Please make tutorial on Terraform on AWS (with Terragrunt or without)
    Thanks!

  • @FelipeRodrigues-lj1el
    @FelipeRodrigues-lj1el 2 роки тому

    Thank you!

  • @songbaiyin7830
    @songbaiyin7830 27 днів тому

    Thanks for your insights, you make me less anxious about not using helm

  • @evansummers3867
    @evansummers3867 Рік тому +1

    Nice, i even shared with my boet

  • @vinitshah9984
    @vinitshah9984 3 роки тому

    Thank you for great explanation. You're an amazing instructor and awesome examples.
    Can you please make a video on tekton pipeline.

  • @calv.io.n8080
    @calv.io.n8080 3 роки тому

    Man you rock so hard.

  • @georgedicu7397
    @georgedicu7397 3 роки тому

    damn, ur explanations are neat!!! thank you!!

  • @mohamedhabas7391
    @mohamedhabas7391 Рік тому +1

    Bravo 🙌 🎉 👏 :)

  • @user-vq7vs8qw6k
    @user-vq7vs8qw6k 2 місяці тому

    The music is great

  • @peoplethesedaysberetarded
    @peoplethesedaysberetarded 4 роки тому +2

    Could you do a full Consul on k8s video? There are loads of examples out there for this, but most start with, “install helm,” which I very much don’t want to do. I had this running at one time but as I’m very new to Kubernetes I ended up blowing it away a few nights ago. The most promising bit of information out there results in nothing being deployed; 2 instances just get marked pending. :/ Your videos are very useful and I would welcome a namespaced consul deployment from you! And sidecars; I’m very unclear about sidecars. All I wanted to do there was monitor my Kubernetes Postgres instance. :/

  • @NiteshKumar-do4en
    @NiteshKumar-do4en 4 роки тому

    Thanks for new thing

  • @OliverRivettCarnac
    @OliverRivettCarnac 2 роки тому

    Excellent video!! Just wondering how would you use this if your image tags were coming from the CI pipeline and so could not be configured manually in a patch file?

  • @vivekmahajan6888
    @vivekmahajan6888 9 місяців тому

    He is the best

  • @kwamedevopsengineer7633
    @kwamedevopsengineer7633 10 місяців тому

    Thanks!

    • @MarcelDempers
      @MarcelDempers  10 місяців тому

      thanks for the support 🙏🏽💪🏽

  • @NaveenKumar-ld3rj
    @NaveenKumar-ld3rj 6 місяців тому

    Thanks for the wonderful tutorial. If possible Pls create similar video with Flux CD

  • @mohamedhabas7391
    @mohamedhabas7391 Рік тому +1

    Fabulous ;)

  • @jamesbotwina8744
    @jamesbotwina8744 2 роки тому

    Killer video. Had to watch on .75x

  • @vinaymanchundiya7480
    @vinaymanchundiya7480 3 роки тому +1

    Thank you for such a great explanation.
    Questions,
    Does Kustomize deletes stale configmaps from the cluster ?
    What are your thoughts on using a tool like "Stakater" for configmap and secret reloads ?
    Thanks again.

    • @MarcelDempers
      @MarcelDempers  3 роки тому +1

      Kubernetes does not delete state configmaps.
      Thanks for sharing, Stakater looks like a very cool utility 💪🏽

  • @user-ee7hl4bg9m
    @user-ee7hl4bg9m 3 роки тому +1

    Hello. I am a DevOps Engineer in Korea. I am getting a lot of good information from you. Could you please take a video that easily explains how Kubernetes works internally?
    Thank you for always.

  • @anonymoususer6448
    @anonymoususer6448 3 роки тому

    Awesome, condensed and super informative and useful video. Thank you !
    Tip: Try slow down on the screen switching.... I'm getting a bit seasick ;-)
    Super useful video

    • @anonymoususer6448
      @anonymoususer6448 3 роки тому

      I apologize if this sounds like nit-picking... I'm merely trying to be helpful :-)
      aAsimple fix, to correct any pre-recorded talk, could be to not switching the entire view to where you are sitting behind your computer, but leave your bash on the screen, freeze the screen, correct the audio and during that talk just blank the insert with yourself ... This results in a lot less screen swapping which gives our (my) eyes a lot more time to adjust and assimilate the contents.
      Also many of the Zooms are unnecessary...it is extra work for you and it makes me having stop the video everytime for a second or 2 just to be able to assimilate the contents (may my eyes are slow to adjust)

  • @atanudebnath9173
    @atanudebnath9173 4 роки тому +1

    could you please make a video using kustomize and helm charts

  • @piyushdhameja2173
    @piyushdhameja2173 2 роки тому

    Aamazing video

  • @florianbachmann
    @florianbachmann 3 роки тому

    Yeah

  • @user-gj8mb8gv6i
    @user-gj8mb8gv6i Рік тому

    Best !!!!!!!!!!!!!!!!

  • @stevebrayshaw7228
    @stevebrayshaw7228 3 роки тому

    Can you use kustomise to alter a base deployment via an override to add in the init container etc for vault integration ? I’m thinking about the use case where a vendor deployment uses basic secrets that I then want to change it yo integrate with hashicorp vault. Great presentation style btw.

  • @tonyjoanes
    @tonyjoanes 3 роки тому

    Something I'm thinking here is that if you want developers to easily setup their development environment which would be multiple Kubernetes resources from different repositories then Helm would make it easy to install everything they need rather than having to checkout each repo and deploy it (using helm registry)

  • @twrobel
    @twrobel 3 роки тому

    Great tutorials! What do you use for screen recording in VCS? How do you selectively focus on parts of the screen?

    • @MarcelDempers
      @MarcelDempers  3 роки тому +2

      Thanks for the kind words 💪🏽OBS is great for screen recording and any good video editing software will allow you to zoom to parts of the footage using keyframes 🤓

    • @twrobel
      @twrobel 3 роки тому

      @@MarcelDempers Thank you!

  • @sasidharallnewp1595
    @sasidharallnewp1595 3 роки тому

    hi,
    is it possible to make ingress with variable hosts using kustomization ?

  • @supervacuum
    @supervacuum 3 роки тому

    Great video although I would disagree on the copy and paste descriptors thing. It is puzzling how many problems are triggered when that approach is applied at scale.

  • @sanjayjitu1
    @sanjayjitu1 3 роки тому

    please make videos on AWS (eks, lambda, api gateway, terraform, spinnaker )

  • @Itsme-kx1us
    @Itsme-kx1us 11 місяців тому

    Tq sir❤❤❤❤

  • @isaacyuen5409
    @isaacyuen5409 3 роки тому

    Would you mind making videos on git-sync too?

  • @abhinavtripathi970
    @abhinavtripathi970 3 роки тому

    can you make video on codefresh ci/cd