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 - วิทยาศาสตร์และเทคโนโลยี
Thank you for having a much better example and not re-hashing "let's say you were installing a database.…"
Wowwwww, this video is brilliant.....🙏🏻
Great explanation..👏🏻
Thank you - glad you liked it!
Amazing! Thank you!
Glad you liked it!
Excellent tutorial!
Thank you!
Can you please provide the github link to this code, I wanted it to practice and work around it a little bit. Thank you.
Yes please @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
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
Great content, very detailed yet so easy to understand!! Really appreciated!!
Glad it was helpful!
Love it, great job!
thank you!
very good and easy-to-go example for understanding crd and cotrollers👍thanks and loved it.
thank you!
Loved it. Great job on explaining the distinction between default resources and CRDs, loved the example. Thanks for making this tutorial :)
Glad you enjoyed it!
@@learncloudnative Hey thanks for excellent tutorial and my job made easy by looking at the video
Hello Peter, can we call the combination of the CRD and the controller an operator?
Yes, you;'re completely right. An operator is a controller that uses CRDs.
This is awesome thankyou!!
thank you!
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.
mkd is my alias for mkdir and entering that new directory. go mod init is a command to initialize a go module
Plz show your code, i want use it to practice,tkx.
Can you give me a github url?
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
@@learncloudnative
Could you do this exact video but the Controller written in Python?
Nice video, could you please let us know which version of Kubebuilder and Go you have used for the video? Thanks In advance :)
😀
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.
Thank you so much for great content. Could you explain in which case should we use kubebuilder and in which case operator-sdk?
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.
Awesome! very well explained!! Love from INDIA, Keep up the good work 👍
Thanks a lot!
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
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.
@@learncloudnative Works for me , Thanks alot 🫡
Amazing!
Excellent tutorial. Really consolidates the relationship between CR, CRD and controllers. Thank you.
Glad it was helpful!
Thanks for the helpful content. Curious is this code shared anywhere, like github? thanks
I haven't posted the code for this on purpose because tooling changes so fast, it would probably be out of date :)
Could you explain in details how controller works? Why a pod has been created?
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
How to deploy the actual controller to the cluster instead of running it from local?
Check out the kubebuilder docs, specifically the deploy-image plugin: book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html
This channel is underrated. Good work
thank you Aayush!
Awesome tutorial! Really great content.
Much appreciated!
great video mate, super easy to follow.
thank you!
Nice explanation
thank you!
great content, thanks for sharing your knowledge!
Thank you!
Thanks. very pro
You're welcome!