How to write your own Kubernetes Operator in

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 13

  • @КириллКужукин-у6р
    @КириллКужукин-у6р 4 месяца назад +1

    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  4 месяца назад

      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р 4 месяца назад

      @@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.