Тёмный

Supporting multiple versions (v1alpha1, v1beta1) of CR in Kubernetes | Conversion Webhook Explained 

Vivek Singh
Подписаться 8 тыс.
Просмотров 2 тыс.
50% 1

In this video we first set up a basic understanding of when would we need conversion webhook and that is where we talked about supporting/having a custom resource in more than one API versions.
We also looked into a simple demo of creating a CR from one version (v1alpha1) and checking that we get the same output even if we try to get the resource from another version (v1beta1). Apart from that we looked into the architecture of conversion webhook and also talked about how we can add the deprecation notice on a version of CR.
At the end we very briefly talked about how to configure conversion webhook while creating a CRD.
Web:
viveksingh.dev/
GitHub:
github.com/viveksinghggits/vi...
00:00 Introduction
00:24 Agenda
01:02 Brief look into Kluster CRD
02:03 Need to serve resource from two versions
03:46 Don't drop support for a version suddenly
05:23 Serve a resource from two versions
07:37 Creating resource from non storage version
08:18 Demo, Creating CRD and CRs
11:37 Canonical Versioning while getting a resource
13:00 Response from both the versions
14:13 Why conversion webhooks
15:41 Architecture of conversion webhook
17:45 Configure conversion webhook in your CRD
18:55 Add deprecation warning
21:03 Create resource from non storage version
21:58 Like, Share and Subscribe

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@Dan-uh9sg
@Dan-uh9sg 2 года назад
Thank you for these videos! The K8s documentation for CRDs and code-generator doesn't really explain the "advanced features" very well even with the examples in the kubernetes repository, and these in depth videos of how these concepts work combined with your Go controller videos have really helped me out.
@viveksinghggits
@viveksinghggits 2 года назад
Hey Dan, Thank you for the comment and that was basically the idea to make sure people understand how these things are related to each other/working together.
@marylinfernando9408
@marylinfernando9408 2 года назад
Happy birthday Vivek Sir...🙂
@viveksinghggits
@viveksinghggits 2 года назад
Thank you, Marylin.
@avinashupadhya2090
@avinashupadhya2090 2 года назад
Vivek can you make one video on writing a conversion webhook?
@viveksinghggits
@viveksinghggits 2 года назад
Hi Avinash, Sure, I will create one. Thanks.
@shamstabrez2986
@shamstabrez2986 Год назад
hmmm nyc video ye hua content
@viveksinghggits
@viveksinghggits Год назад
Thank you
@shamstabrez2986
@shamstabrez2986 Год назад
@@viveksinghggits bht hi acha content tha srusly bht hi deep n r Dikhra tha k. Ap dil se batare ho very nyc
Далее
Sinfdosh xotin 7😂
01:01
Просмотров 1,7 млн
Самоприкорм с сестрой 😂
00:19
Просмотров 264 тыс.
The ARCH LINUX Experience
34:30
Просмотров 83 тыс.