This video is the first video in the series where we are going to write a Volume Populator from scratch, and in this video we looked into the DataSource and DataSourceRef field of PVC resource.
We talked about these resources in details for example how they can be used to create volume from existing PVC or volume snapshot resource.
A part from that we also talked about the difference between these two fields of PVC resource and the feature gates they depend on.
Web:
viveksingh.dev/
00:00 Introduction
00:23 Agenda
01:27 Use Case for DataSource and DataSourceRef
02:34 Summary to Use Case
03:19 Intro of these fields
03:35 Data Sources and Volume Populators
05:34 Closer look into DataSource field
07:55 CSI Plugin is eventually responsible
08:45 Closer look into DataSourceRef field and diff with DataSource
11:30 Responsible Feature Gates
13:20 Invalid source for DataSource are ignored silently
15:13 Demo of DataSource field (volume cloning and snapshot restore)
29:06 DataSourceRef details/limitations
32:14 Use DataSourceRef whenever possible
33:00 Summary
28 июн 2024