Simplify Kubernetes YAML with Kustomize

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 148

  • @animeshkumar1606
    @animeshkumar1606 Рік тому +2

    Finally a video which explains concepts in depth

  • @mediatwinkleTV
    @mediatwinkleTV 3 роки тому +31

    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 !

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

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

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

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

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

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

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

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

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

      I also agree that he teaches us extraordinary.

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

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

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

  • @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 2 роки тому

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

  • @zyomanine
    @zyomanine 6 місяців тому

    no water, straight to the point, liked and subscribed. respect💪

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

  • @patricknelson
    @patricknelson 3 роки тому +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.

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

    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.

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

    you are one of my best Mentor in DevOps

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

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

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

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

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

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

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

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

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

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

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

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

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

    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!

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

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

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

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

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

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

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

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

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

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

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

    Just wanted to let you know - you are awesome!

  • @elielberra2867
    @elielberra2867 3 місяці тому

    Amazing video! Thank you so much for posting all this content on k8s it is really helpful!

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

    Very precisely explained!! Thank you

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

    Thanks for the fantastic kustomize overview.

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

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

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

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

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

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

    This was absolutely brilliant buddy, thanks.

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

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

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

    Brilliant! Fast, clear and to the point.

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

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

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

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

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

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

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

    Thanks!

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

    veryy veryy good explanation, you're professional!

  • @DaveThomson
    @DaveThomson 4 роки тому +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!

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

    Very concise and clear explanation...

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

    very nice demo and agree with simplicity and usability

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

    Very comprehensive and engaging tutorial! Thank you!

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

    Awesome tutorial! Great examples!

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

    I now understand Kustomize! thank you

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

    Marcel... you rock!

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

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

  • @Shan_niv
    @Shan_niv 6 місяців тому

    just have one doubt here. If it automatically creates a configmap 18:42 . Will the old configmap resource which was mounted to the pod remains there or will it automatically gets deleted??

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

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

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

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

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

    You're doing a great job, bro! Congrats

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

    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!

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

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

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

    Great presentation!

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

    Awesomely Explained.

  • @arpanchakraborty9874
    @arpanchakraborty9874 4 роки тому +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?

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

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

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

    Thank You for making this Video

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

    Hows does one inject variables into k8? That is to say values which cannot be coded into files.

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

    Awesome video
    As always😎

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

    Always on point! Thanks!

  • @paulsalomon7859
    @paulsalomon7859 5 місяців тому

    First things first, thanks a lot for this awesome tutorial. As far as I understood, the base tag is deprecated since v2.1.0., isn't it? Instead, I need to convert base to resources?

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

    why do we need it ? Dont mind I have single yaml for all the files and we change by using replace tokens whether in config maps or direct yml in azure devops pipeline and all customization goes into azure devops library variables . I am not sure why to to hardcode everything in files which can be customizable using the devops pipeline .

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

    How to generate yaml file for any kubernetes object to see all possible field keys and their structure?

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

      I usually copy from existing YAML that I have on hand. But the best place to get all possible fields is the API docs kubernetes.io/docs/reference/kubernetes-api/
      There are some UI tools i've seen before, but they are still not very mature enough to recommend.

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

      @@MarcelDempers this is not I am looking for. Again I have to browse. I want command to get details in clusters server without going to internet.

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

      For existing objects in a cluster you can get the output as YAML , example:
      kubectl get deploy -o yaml

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

    Thanks it was great help !!

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

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

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

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

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

    Great explained

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

    Key 'bases' is deprecated ,how can I know use like your video?

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

    It is really a helpful video, I've go through it for several times and learnt kustomize, I have one case need your help:
    I need build the application from Jenkinsfile, and it has some jenkins environment vars need to be passed before apply the kustomize, so in the deployment.yaml, it has the mustache templating, like {{env}}, to be replaced.
    What is the best way to achieve this?
    Looking forward to your kindly reply. Thanks a lot

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

      BTW, in our project, we have a jenksin method to replace the content, just it is by single file name. So I can not figure out how to call it with kustomize folder, maybe before the kustomize build.

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

      Oh, with sed can work

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

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

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

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

    could you please make a video using kustomize and helm charts

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

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

    Thank you very much, Marcel.

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

    Love your videos another great topic that you covered 🤛

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

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

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

    Hi Marcel, at 17:00 you said that the pod that's still running will not pick up the change of the configmap but that's false. If the configmap is mounted as a volume, it will be changed without needing to recreate the pod. Then, it's up to the application inside the pod to pick up the change or not.

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

      Maybe, however sometimes the application running in the container does not updates to the configuration on the fly. Some applications may only read their configuration on startup and from then onwards it is static, regardless if the underlying config files changed. In these scenarios the application would need to be restarted which is equivalent to restarting or recreating a pod.

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

      @@OliverRivettCarnac yes

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

    great explanation.... thanks Marcel.

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

    very well explained

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

  • @NaveenKumar-ld3rj
    @NaveenKumar-ld3rj Рік тому

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

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

    Killer video. Had to watch on .75x

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

    Does Kustomize work with CRD's

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

    Thank you so much for this video! :)

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

    Bravo 🙌 🎉 👏 :)

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

    Man you rock so hard.

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

    Thank you for the very informative video!

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

    The music is great

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

    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.

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

    He is the best

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

  • @vinaymanchundiya7480
    @vinaymanchundiya7480 4 роки тому +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  4 роки тому +1

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

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

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

  • @조현상-t7x
    @조현상-t7x 4 роки тому +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.

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

    Thank you!

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

    What about secrets? If I'm using this + argo/cd wouldn't everyone be able to see em?

  • @Manuel-wg7lq
    @Manuel-wg7lq 2 роки тому

    thanks for sharing! :)

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

    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)

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

    Is kustomize will be able to recreate the pod whenever there is a configmap update . So what I want exactly is you update the configmap in prod environment and want the updated one should be enforced to the pod so it means pod should recreate bcz of the configmap change.