Writing Kubernetes Controllers

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • 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: learncloudnati...
    ➡️ Twitter: / pjausovec
    ➡️ LinkedIn: / pjausovec
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 62

  • @ThereIsNoRoot
    @ThereIsNoRoot 6 หลายเดือนก่อน +1

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

  • @muppedaanvesh
    @muppedaanvesh 5 หลายเดือนก่อน +2

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

    • @learncloudnative
      @learncloudnative  5 หลายเดือนก่อน

      Thank you - glad you liked it!

  • @rafaykashif2297
    @rafaykashif2297 ปีที่แล้ว +1

    Amazing! Thank you!

  • @develom_ai
    @develom_ai 3 หลายเดือนก่อน

    Excellent tutorial!

  • @akshanssharma8318
    @akshanssharma8318 หลายเดือนก่อน +1

    Can you please provide the github link to this code, I wanted it to practice and work around it a little bit. Thank you.

    • @superduper7398
      @superduper7398 หลายเดือนก่อน

      Yes please @learncloudnative

    • @learncloudnative
      @learncloudnative  หลายเดือนก่อน

      I didn't publish the code for this video as it would probably be out of date very quickly.
      I recorded a more recent video (th-cam.com/video/q2sG9cRJh-w/w-d-xo.html) and that one does have a Github repo, in case it helps: github.com/peterj/ec-kube

    • @learncloudnative
      @learncloudnative  หลายเดือนก่อน

      I didn't publish the code for this video as it would probably be out of date very quickly.
      I recorded a more recent video (th-cam.com/video/q2sG9cRJh-w/w-d-xo.html) and that one does have a Github repo, in case it helps: github.com/peterj/ec-kube

  • @techcode_man
    @techcode_man ปีที่แล้ว +1

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

  • @yiranli8976
    @yiranli8976 11 หลายเดือนก่อน

    Love it, great job!

  • @bzz3657
    @bzz3657 ปีที่แล้ว +1

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

  • @amirmohg1319
    @amirmohg1319 ปีที่แล้ว +4

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

    • @learncloudnative
      @learncloudnative  ปีที่แล้ว

      Glad you enjoyed it!

    • @yathendramca20
      @yathendramca20 ปีที่แล้ว

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

  • @flapa2010
    @flapa2010 ปีที่แล้ว +1

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

    • @learncloudnative
      @learncloudnative  ปีที่แล้ว +1

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

  • @Pirake123
    @Pirake123 10 หลายเดือนก่อน

    This is awesome thankyou!!

  • @yongsubchung2414
    @yongsubchung2414 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

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

    • @learncloudnative
      @learncloudnative  5 หลายเดือนก่อน

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

    • @danielding-tm9jy
      @danielding-tm9jy 5 หลายเดือนก่อน

      @@learncloudnative

  • @firesh
    @firesh 6 วันที่ผ่านมา

    Could you do this exact video but the Controller written in Python?

  • @chetankapoor
    @chetankapoor 4 หลายเดือนก่อน +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  4 หลายเดือนก่อน

      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: th-cam.com/video/q2sG9cRJh-w/w-d-xo.html
      That one has an accompanying Github repo as well that can get you started faster.

  • @AyşegülÖzkayaEren
    @AyşegülÖzkayaEren 9 หลายเดือนก่อน +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  9 หลายเดือนก่อน

      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.

  • @akash-tj8ru
    @akash-tj8ru ปีที่แล้ว +1

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

  • @umanggoyal5482
    @umanggoyal5482 ปีที่แล้ว +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  ปีที่แล้ว +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 ปีที่แล้ว +1

      @@learncloudnative Works for me , Thanks alot 🫡

  • @AnselmoBattisti
    @AnselmoBattisti ปีที่แล้ว

    Amazing!

  • @vonschnappi
    @vonschnappi 6 หลายเดือนก่อน

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

  • @krishnadhandas3112
    @krishnadhandas3112 ปีที่แล้ว

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

    • @learncloudnative
      @learncloudnative  ปีที่แล้ว

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

  • @ai__76
    @ai__76 9 หลายเดือนก่อน

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

    • @learncloudnative
      @learncloudnative  7 หลายเดือนก่อน

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

  • @4wdandcoffee
    @4wdandcoffee ปีที่แล้ว

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

    • @learncloudnative
      @learncloudnative  ปีที่แล้ว

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

  • @aayush5474
    @aayush5474 ปีที่แล้ว

    This channel is underrated. Good work

  • @richardbalfour
    @richardbalfour 9 หลายเดือนก่อน

    Awesome tutorial! Really great content.

  • @suhdev
    @suhdev ปีที่แล้ว

    great video mate, super easy to follow.

  • @dipi411
    @dipi411 6 หลายเดือนก่อน

    Nice explanation

  • @aquarius6722
    @aquarius6722 ปีที่แล้ว

    great content, thanks for sharing your knowledge!

  • @ai__76
    @ai__76 9 หลายเดือนก่อน

    Thanks. very pro