Kubernetes Dynamic Client | Interacting with CRs without having generated code

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

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

  • @AvikKundu-yw2do
    @AvikKundu-yw2do Год назад +2

    Some Kubernetes Unit Tests would be nice!

  • @YouTubers-rj9xv
    @YouTubers-rj9xv 2 года назад +1

    Excellent teaching bro

  • @farzadmf
    @farzadmf 2 года назад +1

    Very nice video, thank you.
    Small nit: maybe you can use `log.Fatal` or something to exit the program when you get an error to avoid continuing

    • @viveksinghggits
      @viveksinghggits  2 года назад +1

      Hi Farzad,
      Thank you. I agree I should take care of that, I have been skipping that by saying you will have to handle the errors correctly when you are writing the code. But I agree, I will take care of this in future.

    • @farzadmf
      @farzadmf 2 года назад

      Great 🙂

  • @rootkiller
    @rootkiller Год назад

    How to interacting with CRs not using Dynamic client?

    • @viveksinghggits
      @viveksinghggits  Год назад

      If the CRs are created by you there are chances that you also have generated client code to interact with them. If yes, you can use that client code.
      If CR is not generated/maintained by you, but the code for cr as well as client to interact with that CR is open source, you can use that to interact with the CRs.
      If both of these options are not applicable, I think dynamic client is the only way.

  • @YouTubers-rj9xv
    @YouTubers-rj9xv 2 года назад +2

    Bro your videos are super.
    Can you please make video on coredns, flannel plugin go code understand program

    • @viveksinghggits
      @viveksinghggits  2 года назад

      Hi,
      I, atleast now, don't want to create the videos on those topics because I want to cover container/kubernetes networking first. And then I am planning to talk about network plug-ins.

    • @YouTubers-rj9xv
      @YouTubers-rj9xv 2 года назад +1

      It's ok bro anyway I like you please don't forget the letter,

  • @shamstabrez2986
    @shamstabrez2986 2 года назад

    poor sound quality not able to hear properly phir b going to like this video to support u

    • @viveksinghggits
      @viveksinghggits  2 года назад

      I am planning to improve the setup.

    • @shamstabrez2986
      @shamstabrez2986 2 года назад

      @@viveksinghggits u don't have to change the entire setup itna paisa q khrch krna just use proper microphone dats it