Загрузка страницы

Mounting attached volume to a staging directory | Writing a Kubernetes CSI plug-in from scratch -8

In this video we continued writing the CSI plugin that we have been writing in previous videos in this series and implemented the NodeGetCapabilities and NodeStageVolume RPCs of the node plugin.
This RPC (NodeStageVolume) is called after the ControllerPublishVolume of the controller plugin was successful and Node plugin has specified that is supports stage and unstage of volumes (using NodeGetCapabilities RPC).
Web:
https://viveksingh.dev/

00:00 Introduction
00:22 Agenda
00:40 Brief summary to the workflow of volume creation
01:46 Things that we have already implemented
03:22 What happens after ControllerPublishVolume succeeds
03:56 Add log in NodeGetCapabilities
04:23 Build, Deploy and Test the log
08:04 Brief summary again
09:16 Look into how /dev looks like after volume is attached
10:26 Run df -h to verify that the attached device is not mounted anywhere
11:36 Implement NodeGetCapabilities
13:05 Implement NodeStageVolume
13:36 Fields of the request that we get in NodeStageVolume
16:52 Verify all the required fields
19:00 Check if request is for block mode volume
22:34 Figure out the source, or path of attached volume
27:03 Format/Create FS in the block device
40:10 Mount the attached volume to the staging dir
49:03 Changes in the k8s manifests for node plugin (volume mounts)
54:40 Make the pods volume, Bidirectional
56:24 Change Dockerfile to have mkfs utility
57:29 Build, deploy and Test everything
01:01:02 Add SecurityContext to node plugin
01:04:22 Logs in node plugin
01:05:17 Check the k8s nodes to verify volume is mounted successfully
01:07:41 Add logs to NodePublishVolume to make sure everything works
01:09:03 Build, Deploy and test again
01:12:33 Verify in the k8s node that volume is mounted to staging dir
01:13:30 Summary
01:15:15 Like, Share and Subscribe

Видео Mounting attached volume to a staging directory | Writing a Kubernetes CSI plug-in from scratch -8 канала Vivek Singh
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
19 сентября 2022 г. 1:33:15
01:15:47
Другие видео канала
Implementing K8S Volume Populator | Writing a K8S Volume Populator from scratch - 3Implementing K8S Volume Populator | Writing a K8S Volume Populator from scratch - 3Packaging (containerise and RBAC) your K8S operator as a developer | Writing K8S Operator - Part 6Packaging (containerise and RBAC) your K8S operator as a developer | Writing K8S Operator - Part 6Writing Go (MySQL) API from scratch, containerizing it and deploying it on Kubernetes | Part - 2Writing Go (MySQL) API from scratch, containerizing it and deploying it on Kubernetes | Part - 2SubResources and additional printer columns for CRDs | Writing K8S Operator - Part 4SubResources and additional printer columns for CRDs | Writing K8S Operator - Part 4Handle delete event for object | Writing controller to expose your deployment | Part - 3Handle delete event for object | Writing controller to expose your deployment | Part - 3Internal architecture of K8S Volume Populators | Writing a K8S Volume Populator from scratch - 2Internal architecture of K8S Volume Populators | Writing a K8S Volume Populator from scratch - 2Kubernetes objects/resources in Go | Basics of client-go Kubernetes Part - 3Kubernetes objects/resources in Go | Basics of client-go Kubernetes Part - 3Kubernetes Volumes and Persistent Volumes tutorial | Detailed explanation of volume provisioningKubernetes Volumes and Persistent Volumes tutorial | Detailed explanation of volume provisioningEvent recorder for Kluster and routines to handle Objects from Queue | Writing K8S Operator - Part 5Event recorder for Kluster and routines to handle Objects from Queue | Writing K8S Operator - Part 5Kubernetes initContainers | Wait for MySQL to be running using initContainersKubernetes initContainers | Wait for MySQL to be running using initContainersDeploy node plugin and node-driver-registrar | Writing a Kubernetes CSI plug-in from scratch -6Deploy node plugin and node-driver-registrar | Writing a Kubernetes CSI plug-in from scratch -6Writing a Kubernetes custom controller (ekspose) from scratch to expose your deployment | Part - 2Writing a Kubernetes custom controller (ekspose) from scratch to expose your deployment | Part - 2Setting up the gRPC server for CSI plug-in | Writing a Kubernetes CSI plug-in from scratch -3Setting up the gRPC server for CSI plug-in | Writing a Kubernetes CSI plug-in from scratch -3Implement CreateVolume RPC of Controller Service | Writing a Kubernetes CSI plug-in from scratch -5Implement CreateVolume RPC of Controller Service | Writing a Kubernetes CSI plug-in from scratch -5Implementing NodePublishVolume of NodePlugin | Writing a Kubernetes CSI plug-in from scratch -9Implementing NodePublishVolume of NodePlugin | Writing a Kubernetes CSI plug-in from scratch -9Deploying ext.-provisioner and controller plugin | Writing a Kubernetes CSI plug-in from scratch -4Deploying ext.-provisioner and controller plugin | Writing a Kubernetes CSI plug-in from scratch -4Calling DigitalOcean APIs on Kluster's add event | Writing K8S Operator - Part 3Calling DigitalOcean APIs on Kluster's add event | Writing K8S Operator - Part 3Hello World !!! (Deprecated)Hello World !!! (Deprecated)Anatomy of Persistent Volume Controller in Kubernetes | Code walk throughAnatomy of Persistent Volume Controller in Kubernetes | Code walk throughWriting Go (MySQL) API from scratch, containerizing it and deploying it on Kubernetes | Part - 3Writing Go (MySQL) API from scratch, containerizing it and deploying it on Kubernetes | Part - 3
Яндекс.Метрика