Kubernetes Dynamic Client | Interacting with CRs without having generated code

Описание к видео Kubernetes Dynamic Client | Interacting with CRs without having generated code

In this video we looked into what are dynamic clients and how we can use them to interact with custom resources, in most cases. We looked into what are the use cases where you would want to use dynamic clients and how to convert the object that we get from dynamic client to a concrete type.

Web:
https://viveksingh.dev/

Github:
https://github.com/viveksinghggits/dy...

Video where we wrote Lister:
   • client-go library to develop Kubernet...  

References:
https://pkg.go.dev/k8s.io/client-go/d...
https://pkg.go.dev/k8s.io/apimachiner...
https://erwinvaneyk.nl/kubernetes-uns...


00:00 Introduction
00:24 Agenda
00:52 Brief look into typed clients
04:20 Use cases for dynamic client
09:06 Using dynamic clients to list custom resources
21:09 Use case to interact with VolumeSnapshot APIs
22:16 Using dynamic clients to get custom resources
25:50 Test paniced :(, requested resource is not found
30:50 Resolution to the problem
32:50 Methods exposed on unstructured object
33:00 Converting unstructured object to a concrete type
42:10 Using dynamic informers
50:00 Summary
51:35 Like, Share and Subscribe

Комментарии

Информация по комментариям в разработке