How to write your own Kubernetes Operator in

  Рет қаралды 3,498

Edward Viaene

Edward Viaene

Күн бұрын

How to write your own Kubernetes Operator in #golang, with the controller runtime library instead of code generating tools. Kubebuilder also uses the controller runtime, so it's a good video to understand what kubebuilder does for you.
The code used can be found at github.com/war...
My Golang Udemy Course: www.udemy.com/...
More Golang content and our Cloud & DevOps Podcast: community.in4i...

Пікірлер: 13
@КириллКужукин-у6р
@КириллКужукин-у6р 3 ай бұрын
I don't understand why you need 2 clients (mgr client and client set). In my opinion you can use only one client from manager for operations with any types of k8s resources. Can you explain it please?
@EdwardViaene
@EdwardViaene 3 ай бұрын
In theory that should work indeed, but in practice, it didn't work out that well, because of version differences between the custom API packages you need in combination with a client that you need for a specific kubernetes version.
@КириллКужукин-у6р
@КириллКужукин-у6р 3 ай бұрын
@@EdwardViaene Thanks)
@pratham_computerpcce2084
@pratham_computerpcce2084 4 ай бұрын
Can you please create more in depth videos series on this topic with more realistic go lang operator examples!
@EdwardViaene
@EdwardViaene 4 ай бұрын
What are you looking for exactly? Managing specific external services or something else?
@amineghanmi-w1q
@amineghanmi-w1q Ай бұрын
@@EdwardViaene yes everything
@jhonsen9842
@jhonsen9842 4 ай бұрын
Hey I think you have somecourses in udemy. Could you please suggest some good books to learn these things in depth along side Golang. All though i have your golang course with cloud and devops. But i want to go little deep.
@EdwardViaene
@EdwardViaene 2 ай бұрын
I’m not aware of any books that go deeper. At some point you just need to dig in the Kubernetes docs and what’s available on GitHub in the kubernetes packages. Using the kubernetes go client can help you to ge more insights for sure.
@razvansodoleanu9755
@razvansodoleanu9755 5 ай бұрын
Great video. Do I need to register a scheme even if I want to work with secrets?
@EdwardViaene
@EdwardViaene 5 ай бұрын
If you're working with a build-in resource and not a custom resource, then you don't need to register a custom scheme. You can find an example of this here: github.com/kubernetes-sigs/controller-runtime/blob/main/examples/builtins/main.go#L67
@razvansodoleanu9755
@razvansodoleanu9755 5 ай бұрын
@@EdwardViaene Thank you
@pratham_computerpcce2084
@pratham_computerpcce2084 4 ай бұрын
I have few doubts regarding go lang operators, wanted to connect with you
@EdwardViaene
@EdwardViaene 4 ай бұрын
You can find me on LinkedIn, twitter, or udemy if you want to message me directly.
Kubernetes 101 - Episode 7 - Hello, Operator!
39:10
Jeff Geerling
Рет қаралды 24 М.
Complete Backend Engineering Course in Go
2:49:39
Tiago
Рет қаралды 44 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,8 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 40 МЛН
Kubernetes Mutating Webhook demo
34:57
Edward Viaene
Рет қаралды 9 М.
What The Heck Are Kubernetes Resources, CRs, CRDs, Operators, etc.?
21:08
Get on board with Kubernetes Operators!
37:27
Null Labs
Рет қаралды 8 М.
Writing Kubernetes Controllers
18:28
Peter Jausovec
Рет қаралды 17 М.
Everything you need to know about Kubebuilder: Write operators like a pro
32:02
Cloud Native Skunkworks
Рет қаралды 15 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН