Writing Kubernetes Controllers

Sdílet
Vložit
  • čas přidán 28. 08. 2022
  • In this video, you'll learn how to write a Kubernetes controller.
    🆕 Check out a more recent video I did on building Kubernetes controllers (includes link to Github repo): • Deploy and run Embedch...
    #kubernetes #kubernetescourse
    If you like the video, consider subscribing: / peterjausovec
    ▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬
    ➡️ Newsletter: learncloudnative.com/newsletter
    ➡️ Twitter: / pjausovec
    ➡️ LinkedIn: / pjausovec
  • Věda a technologie

Komentáře • 57

  • @ThereIsNoRoot
    @ThereIsNoRoot Před 3 měsíci +1

    Thank you for having a much better example and not re-hashing "let's say you were installing a database.…"

  • @muppedaanvesh
    @muppedaanvesh Před měsícem +2

    Wowwwww, this video is brilliant.....🙏🏻
    Great explanation..👏🏻

  • @vonschnappi
    @vonschnappi Před 2 měsíci

    Excellent tutorial. Really consolidates the relationship between CR, CRD and controllers. Thank you.

  • @amirmohg1319
    @amirmohg1319 Před rokem +4

    Loved it. Great job on explaining the distinction between default resources and CRDs, loved the example. Thanks for making this tutorial :)

    • @learncloudnative
      @learncloudnative  Před rokem

      Glad you enjoyed it!

    • @yathendramca20
      @yathendramca20 Před 10 měsíci

      @@learncloudnative Hey thanks for excellent tutorial and my job made easy by looking at the video

  • @aquarius6722
    @aquarius6722 Před rokem

    great content, thanks for sharing your knowledge!

  • @rafaykashif2297
    @rafaykashif2297 Před 8 měsíci +1

    Amazing! Thank you!

  • @develom_ai
    @develom_ai Před 5 dny

    Excellent tutorial!

  • @techcode_man
    @techcode_man Před rokem +1

    Great content, very detailed yet so easy to understand!! Really appreciated!!

  • @suhdev
    @suhdev Před rokem

    great video mate, super easy to follow.

  • @akash-tj8ru
    @akash-tj8ru Před 9 měsíci +1

    Awesome! very well explained!! Love from INDIA, Keep up the good work 👍

  • @yiranli8976
    @yiranli8976 Před 7 měsíci

    Love it, great job!

  • @AnselmoBattisti
    @AnselmoBattisti Před rokem

    Amazing!

  • @richardbalfour
    @richardbalfour Před 5 měsíci

    Awesome tutorial! Really great content.

  • @aayush5474
    @aayush5474 Před rokem

    This channel is underrated. Good work

  • @Pirake123
    @Pirake123 Před 7 měsíci

    This is awesome thankyou!!

  • @dipi411
    @dipi411 Před 2 měsíci

    Nice explanation

  • @ai__76
    @ai__76 Před 5 měsíci

    Thanks. very pro

  • @bzz3657
    @bzz3657 Před rokem +1

    very good and easy-to-go example for understanding crd and cotrollers👍thanks and loved it.

  • @chetankapoor
    @chetankapoor Před 10 dny +1

    Nice video, could you please let us know which version of Kubebuilder and Go you have used for the video? Thanks In advance :)
    😀

    • @learncloudnative
      @learncloudnative  Před 10 dny

      Honestly, I don't remember the versions as the video is a couple of years old now :)
      I did a recent video on building a controller here: czcams.com/video/q2sG9cRJh-w/video.html
      That one has an accompanying Github repo as well that can get you started faster.

  • @user-mo6gx1bm3w
    @user-mo6gx1bm3w Před 5 měsíci +1

    Thank you so much for great content. Could you explain in which case should we use kubebuilder and in which case operator-sdk?

    • @learncloudnative
      @learncloudnative  Před 5 měsíci

      Thank you!
      I think both projects are fairly similar; might be best if you go through the FAQ here perhaps: sdk.operatorframework.io/docs/faqs/ - that might give you some perspective on how the two projects differ.

  • @flapa2010
    @flapa2010 Před rokem +1

    Hello Peter, can we call the combination of the CRD and the controller an operator?

    • @learncloudnative
      @learncloudnative  Před rokem +1

      Yes, you;'re completely right. An operator is a controller that uses CRDs.

  • @krishnadhandas3112
    @krishnadhandas3112 Před rokem

    Thanks for the helpful content. Curious is this code shared anywhere, like github? thanks

    • @learncloudnative
      @learncloudnative  Před rokem

      I haven't posted the code for this on purpose because tooling changes so fast, it would probably be out of date :)

  • @umanggoyal5482
    @umanggoyal5482 Před rokem +1

    Hi , Peter great video, do you have this source code somewhere , like I was following the tutorial , but to create CRD I had to type it all

    • @learncloudnative
      @learncloudnative  Před rokem +1

      Hi,
      I've added the two CRDs here: github.com/peterj/k8s-shorts-files/tree/main/files/controllers in case that helps. I don't have the full source as majority of the code is auto-generated anyway by the tools.

    • @umanggoyal5482
      @umanggoyal5482 Před rokem +1

      @@learncloudnative Works for me , Thanks alot 🫡

  • @ai__76
    @ai__76 Před 5 měsíci

    Could you explain in details how controller works? Why a pod has been created?

    • @learncloudnative
      @learncloudnative  Před 4 měsíci

      If you're still interested -- I'll be building a k8s controller on a live stream: czcams.com/video/q2sG9cRJh-w/video.html

  • @4wdandcoffee
    @4wdandcoffee Před 11 měsíci

    How to deploy the actual controller to the cluster instead of running it from local?

    • @learncloudnative
      @learncloudnative  Před 11 měsíci

      Check out the kubebuilder docs, specifically the deploy-image plugin: book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html

  • @yongsubchung2414
    @yongsubchung2414 Před 7 měsíci

    10:28 what does 'mkd' do? Why suddenly PWD changed to subdirectory pdfcontroller? And, how does go mod init worked? Were there any initialization beforehand? This step was too dramatic.

    • @learncloudnative
      @learncloudnative  Před 7 měsíci

      mkd is my alias for mkdir and entering that new directory. go mod init is a command to initialize a go module

  • @danielding-tm9jy
    @danielding-tm9jy Před 2 měsíci

    Plz show your code, i want use it to practice,tkx.
    Can you give me a github url?

    • @learncloudnative
      @learncloudnative  Před 2 měsíci

      Hi! I did a more recent video where I am building a K8s controller: czcams.com/video/q2sG9cRJh-w/video.html
      You can find the code from that video here: github.com/peterj/ec-kube

    • @danielding-tm9jy
      @danielding-tm9jy Před 2 měsíci

      @@learncloudnative