Getting Started with Kubernetes Part 4 - Storage

Описание к видео Getting Started with Kubernetes Part 4 - Storage

This is the fourth in a series of practical video tutorials to help users get started with Kubernetes in minutes. We walk you through Kubernetes fundamentals for beginners.

In this video, we explain when and how to add storage to your Scaleway Kubernetes Kapsule, and walk you through how to do it.

First, we recap what we did in the previous three videos, and explore some key concepts related to Kubernetes and storage, including persistent vs system volumes, stateful vs stateless applications, storage classes, CSI, persistent volumes and persistent volume claims and StatefulSets.

Next, we show you how to create a StatefulSet object with its own Scaleway Block Storage volumes, using a yaml manifest and kubectl. The CSI takes care of provisioning the storage from Scaleway.

We then demonstrate how to view your newly created Block Storage volumes in the console, and witness how the volumes can reattach themselves to the pods of the StatelessSet, even if the pods are temporarily destroyed.

You can go further by creating snapshots to back up your volumes, by creating a manifest for a VolumeSnapshot object and applying it with kubectl. See the Kubernetes doc for more information: https://kubernetes.io/docs/concepts/s.... Note that you can also create volumes from existing snapshots: https://kubernetes.io/docs/concepts/s...

Don’t forget to subscribe to our channel!

CHAPTERS:
0:00 Introduction & Recap
2:43 Why and how do we provision storage?
2:56 System volume vs Persistent volume
4:36 Stateful application vs Stateless application
6:07 StorageClasses, CSI, dynamic provisioning of Block Storage volumes
7:56 PersistentVolumes vs PersistentVolumeClaims
8:34 Deployments vs StatefulSets
10:05 Demo: checking cluster resources and available StorageClasses
10:55 Demo: creating a StatefulSet manifest
14:51 Demo: observing Block Storage volumes in the Scaleway console
15:48 Demo: scaling replicas up and down and observing effect on storage volumes
18:57 Going further - snapshots
19:54 Conclusion

USEFUL LINKS:
Written tutorial to accompany this video:
https://www.scaleway.com/en/docs/tuto...

Getting started with Kubernetes: Part 1 - Containers & Docker:
Video tutorial:    • Getting started with Kubernetes: Part...  
Written tutorial: https://www.scaleway.com/en/docs/tuto...

Getting started with Kubernetes: Part 2 - Deploying an application with Kuberenetes Kapsule:
Video tutorial:    • Getting started with Kubernetes Part ...  
Written tutorial: https://www.scaleway.com/en/docs/tuto...

Getting started with Kubernetes: Part 3 - Load Balancers:
Video tutorial:    • Getting Started with Kubernetes Part ...  
Written tutorial: https://www.scaleway.com/en/docs/tuto...

Sign up for a Scaleway account:
https://console.scaleway.com/register/

Scaleway blog:
https://www.scaleway.com/en/blog/

Official Kubernetes documentation:
https://kubernetes.io/docs/home/
https://kubernetes.io/docs/home/

Комментарии

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