What is GitOps, How GitOps works and Why it's so useful

2024 ж. 15 Мам.
329 231 Рет қаралды

What GitOps is, how GitOps works and the benefits of using GitOps in 10 minutes.
► FREE E-Book "Kubernetes Backup & Recovery For Dummies" for my followers 🎉 :
Check it out here: www.kasten.io/nana-k8s-backup
► You can also try Kasten K10 Kubernetes Backup Hands-on Lab: self-guided, no local install required!
► This video is sponsored by Kasten 🙌🏼
In this video you will learn about the concept of GitOps.
What GitOps is, how GitOps works and the benefits of using GitOps.
#gitops #devops #techworldwithnana
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
0:14 - Infrastructure as Code - X as Code
1:31 - Using IaC the wrong way
4:17 - What is GitOps?
4:38 - How GitOps works?
6:35 - CD Pipeline: Push vs Pull Model
8:48 - Easy Rollback
9:27 - Git - Single Source of Truth
10:09 - Increasing Security
11:09 - Wrap Up
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Full K8s course ► • Kubernetes Tutorial fo...
DevOps Tools, like Terraform, Prometheus ► bit.ly/2W9UEq6
Full Docker course ► • Docker Tutorial for Be...
Jenkins Pipeline Tutorials ► bit.ly/2Wunx08
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
FB group ► bit.ly/32UVSZP
DEV ► bit.ly/3h2fqiO
▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3Ozl28x

Пікірлер
  • ► Follow me on IG for behind-the-scenes content 😊: bit.ly/2F3LXYJ ► Become a DevOps Engineer - full educational program: bit.ly/3gEwf4V ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 0:00 - Intro 0:14 - Infrastructure as Code - X as Code 1:31 - Using IaC the wrong way 4:17 - What is GitOps? 4:38 - How GitOps works? 6:35 - CD Pipeline: Push vs Pull Model 8:48 - Easy Rollback 9:27 - Git - Single Source of Truth 10:09 - Increasing Security 11:09 - Wrap Up ▬▬▬▬▬▬ Courses & Ebooks & Bootcamp 🚀 ▬▬▬▬▬▬ ► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/3gEwf4V ► High-Quality and Hands-On Courses 👉🏼 bit.ly/3nIouPW ► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3mPIaiU

    @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
    • hi nana GitOps seems more like git pull request pls clarify me bit confused..,

      @ravimaisa5772@ravimaisa57722 жыл бұрын
    • I'm beginning to realize your youtube channel is the best spot on the web for all things Devops. When I learn something from you channels I will always share the URL. We are connected on linkedin. My name is Elliott Arnold. Just want to let you know how effective your Tubes are. Happy 4th of July (Im in America lol)

      @elad3958@elad39582 жыл бұрын
    • @@elad3958 Wow thank you for this amazing feedback Elliott! Thanks especially for sharing and spreading the word 😊Happy Independence Day! :)

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • I read many articles but did not find any article in which concepts are explained in a clear and crisp manner. You are awesome!

    @bhagarenikhil@bhagarenikhil9 ай бұрын
  • So good! Thank you very much Nana!! What I loved from this video is you make no assumptions, therefore elaborated the idea of GitOps in a very clear way for beginners and probably for advanced users who might lost any bits of info before… brilliant!!

    @linamargothpinerosrubiano3684@linamargothpinerosrubiano36842 жыл бұрын
  • Love this video! You did a great job explaining IAC. XaC was a new concept to me, but I may use this in the future. Also, I appreciated the clear way in which you described the natural evolution of IAC, why the local dev pattern is flawed, and how we solve that with git-managed pipelines.

    @aaronsteers@aaronsteers2 жыл бұрын
  • This the only video one needs to watch to know what GitOps is all about. Great explanation Nana. Thanks.

    @yashkumarbarot581@yashkumarbarot5812 жыл бұрын
    • Thanks a lot Yashkumar, happy to hear that! :)

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • I just discovered your channel and it's really really helping me begin to understand all this concepts and technologies! Thank you so so much, your videos are wonderful

    @marabgc20@marabgc20 Жыл бұрын
  • Thank you Nana for clear and crisp explanation. It clearly shows your passion for tech!

    @krishnaravitejavarmanallap6802@krishnaravitejavarmanallap68027 ай бұрын
  • As always, clear and cogent information with no wasted time. Thank you.

    @michaelmichael8406@michaelmichael84062 жыл бұрын
    • Agreed great channel

      @krisnrg@krisnrg2 жыл бұрын
    • Thanks Michael, really happy to hear! 😊

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
    • +1

      @invalidred@invalidred2 жыл бұрын
    • +1, Yes, as always. Thank you

      @mzhxj69@mzhxj692 жыл бұрын
    • Thats why i am here ;)

      @sVIIDragonfly@sVIIDragonfly2 жыл бұрын
  • Hi Nana, Great job once again. You did it right, I am extremely satisfied with more information in less than 12 mins. You got a great teaching skills too :)

    @kalankaraivilakkam@kalankaraivilakkam2 жыл бұрын
  • Loved the video. Simple... Powerful and very visual. I watch every day to gain small amount of wonderful knowledge

    @travelvidme4796@travelvidme47962 жыл бұрын
  • Wow Nana. I am falling in love with these videos. why I found these videos so late. Thank you so much for these detailed concepts explanations. your videos are exactly what I needed at this point of time. Thank you. Please don't stop.

    @vipinmittal2415@vipinmittal24159 ай бұрын
  • Thanks Nana!!, this is what I was looking for, you made it easy to understand! :)

    @gabrielarodriguez7320@gabrielarodriguez73202 жыл бұрын
  • Just clear and crisp. Bless you. Thanks so much

    @arpanchakraborty9874@arpanchakraborty98742 жыл бұрын
  • Outstanding way of presenting an overview with clear and concise info 🙏

    @indiansouls8357@indiansouls83572 жыл бұрын
  • Thank you! GitOps is really valuable for AI research teams as well. Most of the time, blockers in development are caused by limitations in the infra and the turn around time before requirements are applied are usually long because of submitting ticket requests and discussions just so infra managers can do the changes.

    @opinoynated@opinoynated2 жыл бұрын
  • Thanks Nana for the great video! Honestly, i don't know why 'gitops' appers as a separate direction, because as soon as you treat your infrastructure as a code, you have to apply all practices that you use for developers code i.e. vcs, build pipelines, tests, stages etc. - because it's a code. But, how to build your 'build' infrastructure as code (egg or chicken:))

    @zlonux@zlonux2 жыл бұрын
    • Alex Have you got the answer to your question. It seems she is not answered

      @ramkannan8955@ramkannan89552 жыл бұрын
    • I agree, I find the line between IaC & GitOps to be very blurry. I think most IaC guys already adopt some kind of GitOps without realizing it.

      @jelledenburger992@jelledenburger9922 жыл бұрын
    • 'gitops' appears as a separate direction -> Simply speaking, GitOps is IaC. I think it's going in a different direction (personal opinion, I could be wrong) is this practice is popular in container space (especially in orchestration tools like Kubernetes), where there is a concept of operators/controllers which keep looking for declarative config changes on git and making sure deployed state always reconcile with git state. It's the same thing in IaC, where IaC can have CI/CD pipeline doing the same job. Same principle, same workflow, but gaining popularity because k8s (or similar orchestration) becoming more mature.

      @GoglidesDev@GoglidesDev Жыл бұрын
    • We were doing GitOps without realizing it. When I first heard about GitOps I thought that it is a new framework, but at it seems that the name is new.

      @polinakoornneef1145@polinakoornneef1145 Жыл бұрын
    • @@jelledenburger992 In my opinion, the most critical size of GitOps related to "storing IaC files and monitor evolution" is in the testing part. The way in which you verify the deployment (both by reviewing or which some sort of automation) makes the difference. (Just an opinion)

      @nicolasafonso8916@nicolasafonso8916 Жыл бұрын
  • As usual great video, simple and easy to understand, this is helping new learners very much. Thank You!

    @narendrar9940@narendrar99402 жыл бұрын
  • wow! Thank you so much for this review Nana! Super helpful and I finally understand why some people choose to use jenkins versus argocd! Thank you so much!

    @4eversuju@4eversuju2 жыл бұрын
  • Your videos are very clear and the animation is so sharp ! Thank you

    @ajitmohanraj@ajitmohanraj2 жыл бұрын
  • I can't believe that this brilliant channel doesn't have at least 1M subscribers yet. Guys step on it!!!

    @arxistrateg@arxistrateg2 жыл бұрын
    • let it be underrated!!

      @arunchakravarthi1058@arunchakravarthi1058Ай бұрын
  • Hats off Nana for such precise and informative video of topic I was struggling to understand. Thanks and keep posting. Best wishes

    @talhajahangiri8656@talhajahangiri8656 Жыл бұрын
  • Cristal clear explanation thank you Nana

    @sivakumar-hs3rd@sivakumar-hs3rd2 жыл бұрын
  • So well explained, kudos to this kind of quality content!!!

    @pritomdas6215@pritomdas62152 жыл бұрын
  • It's amazing lot more better than other videos I watched. Because very clear speech, nice easy and slowly pronouncing words. And lot more efforts put in visualization. This is the key and makes it amazing and best of the best. Keep up the good work. I have one question, how do we test IaC, can we write tests for it, or just create all infra in test account or something and then verify manually???

    @netUncle@netUncle2 жыл бұрын
  • These videos are great Nana. Thank you so much

    @aaen9417@aaen9417 Жыл бұрын
  • Thank you for the great explanation! Easy to understand!

    @trump1688@trump16882 жыл бұрын
  • A pattern we are using is to apply to a very low environment (e.g., dev or a devops dev env) from the PR itself. This allows teams to test the apply of their PR before merging to main and helps catch "apply time" errors. One challenge you have with this is that multiple PRs can overwrite each other's test apply maybe before the first one has been completely validated. To support this we put have a standing rule if there is an open PR < 2 hours old, hold off creating yours, or talk to the requestor first. If its over 2 hours, go for it unless you are nice then go talk to them first. Since we have composed our repos around teams there is rarely a conflict.

    @brutusmaximumus@brutusmaximumus Жыл бұрын
  • Thanks for making the video that finally made the pull based GitOps concept click for me.

    @ikelewis678@ikelewis67810 ай бұрын
  • Thank you for this informative presentation, as a developer this seemed really obvious to me and it's what we did when we moved to cloud. The CI/CD pipeline is pretty much the same as app dev pipelines. What I'd like to see is the automated testing and validation of IaC - this is a well defined process with rich tooling in coding languages like Java, C# etc etc. but what are the best practises for IaC?

    @abigailcharteris4329@abigailcharteris43292 жыл бұрын
  • Very clear and understandable explanation of GitOps. Thank you.

    @iamjimgroth@iamjimgroth8 ай бұрын
  • Nana, your contents are amazing! thank you very much!

    @lucasfe3436@lucasfe34362 жыл бұрын
  • As always, top notch, Nana! Thanks!

    @jaxparrow1794@jaxparrow17942 жыл бұрын
  • Great information! One thing I'd like to add is that in any urgent events (example the need to upgrade infrastructure due to high traffic) you would still want to leave open doors to do this quickly, like just doing terraform apply and skipping the whole commit and CI/CD workflow. Of course you should still commit this change but when seconds count you have to be prepared to break certain rules.

    @kolos121@kolos1212 жыл бұрын
  • Awesome video Nana, thank you a lot! I'm waiting for one about argocd.. Greetings from Brazil :)

    @Ferregus@Ferregus2 жыл бұрын
  • Simple and clear. Thank you for putting it up

    @AlayDhagia@AlayDhagia Жыл бұрын
  • Very clear explanation! We'll have to change focus and start DevOps teams to develop their own CI/CD pipelines

    @manuelnucci_@manuelnucci_2 жыл бұрын
  • Thank you for this video, i've learned a lot!

    @geanfrancovolpe@geanfrancovolpe Жыл бұрын
  • loving your videos👏👏 .. very informative and easy language ..please keep making videos for us 🙏🏻🙏🏻

    @DoodleIO.@DoodleIO.2 жыл бұрын
  • Thank you so much for this wonderful explanation!

    @rajitpaul4676@rajitpaul46762 жыл бұрын
  • Thanks. The explanation in video is short and but clear and understandable.

    @tuanquynet@tuanquynet2 жыл бұрын
  • Nice and clear explanation. Thank you.

    @omarsyr5802@omarsyr58022 жыл бұрын
  • Great explanation on what GitOps is! Loved the CD integration part explanation, it's spot on!

    @stuffedcode@stuffedcode2 жыл бұрын
    • Appreciate your great feedback, thank you! :)

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • As always, you rocked it!! Thank you. Just curious, what are the different tools and software do you use to make your videos?

    @chandup@chandup2 жыл бұрын
  • we are exactly using & following the same process, good to know follow this in detail and the global standards.

    @saidireddy2246@saidireddy2246 Жыл бұрын
  • Thanks Nana for the great GitOps introduction!

    @chuongtran6224@chuongtran62242 жыл бұрын
  • I am new to the devops practices and these kind on videos are really great, simple, clear and easy to understand for me. It helps me to figure out instantly what is what and what direction to go. Thanks 🙏

    @andreynazarenko@andreynazarenko2 жыл бұрын
  • I came across one of your videos this morning completely by chance (well, not exactly by chance, ain't it, google?) and now I'm hooked on your channel. Kudos, Nana! All videos clear and precise. This will save me a few bucks. Sorry, Udemy! ;-)

    @cesarolavo@cesarolavo2 жыл бұрын
  • Excellent content as always. Thank you, Nana!

    @manedurphy@manedurphy2 жыл бұрын
    • Thanks Dane, appreciate your comment :)

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • So clear and useful- thank you!

    @leahleiva8060@leahleiva80602 жыл бұрын
  • great, concise summary as usual :)

    @aL3891_@aL3891_2 жыл бұрын
  • Thanks Nana again, its helpful. I hope will do some hands on...

    @sandeeptembare@sandeeptembare Жыл бұрын
  • Nice video, thank you very much! I really like the illustrations and animations. Maybe you could hang some acoustic panels in the room you're recording in to get rid of some of the echo :)

    @Marty@Marty2 жыл бұрын
  • Crystal Clear explanation Nana. Great work !! Can you please make a video on Chaos Engineering and CHaos Mesh tool. Just a request. Thanks

    @kirancn8394@kirancn83942 жыл бұрын
  • So good videos, dude, helped me so much 🤗

    @MrArtod@MrArtod9 ай бұрын
  • Thank you for the video. Very informative.

    @sereose@sereose2 жыл бұрын
  • Now this is how you make an educational video! Great job!

    @user-rc3fx9vx3t@user-rc3fx9vx3t5 ай бұрын
  • Thank you as always!

    @andreapetrelli410@andreapetrelli4102 жыл бұрын
  • I think another benefit the pull model has over the push model is it prevents the team from tampering with the deployment file like Jenkinsfile. For example, they can issue command in the file to print credentials to access the cluster. in other words, it separates CI from CD

    @AnhNguyen-tf4yl@AnhNguyen-tf4yl2 жыл бұрын
  • Love all your courses. Wish there was a course on Apache Spark from you.

    @gmitto75@gmitto752 жыл бұрын
  • Thank you so much! Brilliant video!

    @rbelatamas@rbelatamas2 жыл бұрын
  • Very helpful. Smooth explanation!

    @joemadrid9706@joemadrid9706 Жыл бұрын
  • Awesome! Please more videos on the subject!

    @GabrielMamuttee@GabrielMamuttee2 жыл бұрын
  • Your videos are wonderful, Thanks!

    @simaattar3154@simaattar3154 Жыл бұрын
  • Very nice video, short and concise.

    @FriedrichBrunzema@FriedrichBrunzema2 жыл бұрын
  • i was just learning devops but this also makes me interesting.

    @vasudevadernierstuff@vasudevadernierstuff2 жыл бұрын
  • Sounds great when you put it that way, perhaps organizations should emphasize more in this, always thanks for sharing!

    @GermanLarez@GermanLarez2 жыл бұрын
  • Thanks for this knowledge.

    @hassannawazish9300@hassannawazish93002 жыл бұрын
  • I already have an opinion but would be interested to know your opinion regarding pull vs push within gitops principle? What do you think about advantage and cons. Using one of those two options ? Again, yet another great video with clear and useful content 👍👍👍

    @davidef.982@davidef.9822 жыл бұрын
  • Great video. Excellent explanation about GitOps.

    @balapurambhaskar@balapurambhaskar Жыл бұрын
  • Nana, Your presentation about GitOps is excellent! Thank you! I learned a lot. I have 2 questions, i hope you do not mind: If GitOps = IaC + Version Control System + Merge Requests + CI/CD, don't you think that "Version Control system" is quite redundant because "Merge Requests" means you are already using a Version Control System. Another question is: Does GitOps require Git?

    @robertdy3402@robertdy34022 жыл бұрын
  • Hi Nana, thanks for the great video. One question: when for example our team changes something in our ansible playbook, what kind of automated tests can run whether to check this playbook is valid to go to the main branch?

    @WesleyRouw@WesleyRouw2 жыл бұрын
  • As always, awesome content

    @cambellajoe@cambellajoe2 жыл бұрын
  • Love this video but I wish you'd mentioned slash command. I've found, for practical purposes, triggering IAC pipelines via slash commands like /tf-apply is generally the preferred implementation.

    @aaronsteers@aaronsteers2 жыл бұрын
  • Fantastically Explained! Thank You! - Can we extend GitOps concept to On-Premise as Infrastructure As Code Solution?

    @nikhilpatel4278@nikhilpatel42782 жыл бұрын
  • Great video Nana!

    @sebastiaanstoffels7565@sebastiaanstoffels75652 жыл бұрын
  • Many thanks for the video Nana. A really very exciting feature for sys admins and net admins. Could you please consider a video that explains your ideas about SRE role? Ironically I found many professionals who don’t really know what an SRE is!!

    @mohzaher2000@mohzaher20002 жыл бұрын
    • Thanks Mohamed and yes we will consider it!

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • Excellent as always 👌 can you make some videos on flux and argo

    @sambasiva1702@sambasiva17022 жыл бұрын
  • Great Explication thank u very much , Just I have a question , u have a great presentation so what tool did u use to make this presentation please ?

    @hommiamessaoud9882@hommiamessaoud98828 ай бұрын
  • Great video, thanks for sharing.

    @johnny2703@johnny27032 жыл бұрын
  • hey Nana, thank you :) learning a lot from your videos

    @iakashpatel@iakashpatel2 жыл бұрын
    • That's great to hear, thank you Akash :)

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • Your explaining way is awesome 👌👌

    @chamanbharti@chamanbharti2 жыл бұрын
  • Awesome video! Congrats

    @leorotondano@leorotondano Жыл бұрын
  • Thanks, that was very clear!

    @natahmad84@natahmad842 жыл бұрын
  • very nice and useful video, my company flow is the same with your video. Pluse terraform enterprise, which has a queue for TF changes.

    @feiyang9136@feiyang91362 жыл бұрын
  • Well done explanation.

    @nagdali9209@nagdali92092 жыл бұрын
  • Excellent video, thanks👍

    @santosharakere@santosharakere Жыл бұрын
  • Inspirational content!!!

    @kevinyu9934@kevinyu99342 жыл бұрын
  • Amazing and clean explanation. Straight to the point! One question: why the need of a separate git repository? Why not the same production code repository?

    @michaelpacheco7421@michaelpacheco74212 жыл бұрын
    • Well one logic according to me is Benefit 1 : Access to infra code to only those team members , clear separation of concern between app code and infra

      @1982iniceman@1982iniceman2 жыл бұрын
  • Awesome job Nana - thanks!

    @NR-bt7yz@NR-bt7yz Жыл бұрын
    • Thanks for your support, much appreciated!

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
  • I'm huge fan of u'r explanation

    @aietisreekar2425@aietisreekar24252 жыл бұрын
  • amazing video thanks !!!

    @josephbatish9476@josephbatish94762 жыл бұрын
  • Thanks for the video, is so good, Saludos desde Perú! :3

    @jeanreyes1234@jeanreyes1234 Жыл бұрын
  • Thank you Nana.

    @nas-veridid@nas-veridid2 ай бұрын
  • Great video! Thank you! What software do you use to create your content/slides?

    @freemanpd36@freemanpd362 жыл бұрын
  • Your videos are great !!!!

    @vailtonbeserra9408@vailtonbeserra9408 Жыл бұрын
  • This is really great information. @Nana which Video editing tool/animation tool you are using, it's really amazing how you plot things.

    @TradeNiftyBank@TradeNiftyBank9 ай бұрын
  • Consistently high S/N ratios. Thanks Nana!

    @robwells57@robwells572 жыл бұрын
  • Perfect Nana!

    @thomash.8297@thomash.82972 жыл бұрын
  • As always, thanks :)

    @iaa6662@iaa6662 Жыл бұрын
  • outstanding explanation

    @KamilMansoor@KamilMansoor10 ай бұрын
KZhead