Тёмный

Configuring and Managing Storage (volumes) in Kubernetes 

The Learning Channel
Подписаться 7 тыс.
Просмотров 7 тыс.
50% 1

In this video, we will discuss the need for storage in container-based applications and then we will Kubernetes objects that will provide those services to our container-based applications. We will cover both temporary storage (Ephemeral volumes) as well as permanent (Persistent Volumes “PersistentVolume”) and how they can be claimed for PODs through the “PersistentVolumeClaim” object and how those volumes are mounted inside PODs. We will also cover both static (PersistentVolume) and dynamic storage provisioning (StorageClass) and how the life cycle of resulting volumes is managed when different "reclaim" policies are applied. We will also cover setting up NFS client and server installation for the demos.
Links:
Demo scripts: github.com/gar...
My Other Videos:
► Cilium Kubernetes CNI Provider: Part 4, IP Routing Modes (Direct and Encapsulated)
• Cilium Kubernetes CNI ...
► Cilium Kubernetes CNI Provider, Part 3: Cluster Mesh
• Cilium Kubernetes CNI ...
►Cilium Kubernetes CNI Provider, Part 2: Security Policies and Observability Leveraging Hubble
• Cilium Kubernetes CNI ...
► Cilium Kubernetes CNI Provider, Part 1: Overview of eBPF and Cilium and the Installation Process • Cilium Kubernetes CNI ...
► What is VXLAN and How It is Used as an Overlay Network in Kubernetes?
• What is VXLAN and How ...
► Managing Linux Log-ins, Users, and Machines in Active Directory (AD): Part 2- Join Linux Machines to AD:
• Managing Linux Logins,...
► Managing Linux Log-ins, Users, and Machines in Active Directory (AD): Part 1- Setup AD:
• Managing Linux Logins,...
► Sharing Resources between Windows and Linux:
• Sharing Resources betw...
► Kubernetes kube-proxy Modes: iptables and ipvs, Deep Dive:
• Kubernetes kube-proxy ...
►Kubernetes: Configuration as Data: Environment Variables, ConfigMaps, and Secrets:
• Kubernetes: Configurat...
► Istio Service Mesh - Securing Kubernetes Workloads:
• Istio Service Mesh - S...
► Istio Service Mesh - Intro
• Istio Service Mesh (si...
► Understanding Kubernetes Networking. Part 6: Calico Network Policies:
• Understanding Kubernet...
► Understanding Kubernetes Networking. Part 5: Intro to Kubernetes Network Policies:
• Understanding Kubernet...
► Understanding Kubernetes Networking. Part 4: Kubernetes Services:
• Kubernetes services - ...
► Understanding Kubernetes Networking Part 3: Calico Kubernetes CNI Provider in-depth:
• Understanding Kubernet...
► Understanding Kubernetes Networking. Part 2: POD Network, CNI, and Flannel CNI: Plug-in: • Understanding Kubernet...
►Understanding Kubernetes Networking. Part 1: Container Networking: • Video
► Setup a Linux-Windows (Calico based) Hybrid Kubernetes Cluster to Host .NET Containers:
• Setup a Linux-Windows ...
► A Docker and Kubernetes tutorial for beginners:
A Docker and Kubernetes tutorial for beginners. - RU-vid
► Setup a "Docker-less" Multi-node Kubernetes Cluster on Ubuntu Server:
• Setup a "Docker-less" ...
►Step by Step Instructions on Setting up Multi-Node Kubernetes Cluster on CentOS: • Step by Step Instructi...
►Setup and Configure CentOS Linux Server on A Windows 10 Hypervisor - RU-vid: • Setup and Configure Ce...
►Setup NAT (Network Address Translation) on Hyper-V:
• Setup NAT (Network Add...
► Enable Nested Virtualization on Windows to run WSL 2 (Linux) and Hyper-V on a VM: • Enable Nested Virtuali...
►Setup a Multi-Node MicroK8S Cluster on Windows 10:
• Setup a Multi Node Mic...

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

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@darahaskopparapu
@darahaskopparapu 8 месяцев назад
Awesome Content ! Explained and demonstrated PV, PVC, SC so well !
@spiraldynamics6008
@spiraldynamics6008 6 месяцев назад
Thank you ❤
@MurtazaMotorwala53
@MurtazaMotorwala53 9 месяцев назад
You made "storage" really simple in K8s. I was always confused with these concepts but your explanation made it really clear and simple. Thanks a ton and keep up the good work :)
@kishor4910
@kishor4910 Год назад
Nice work! Gary!! Can you please make same video for EKS storageclass. Thank you!!👍
@TheLearningChannel-Tech
@TheLearningChannel-Tech Год назад
Hi and thanks. I currently don't use Amazon cloud but using it shouldn't be a big deal, after all, is just a storage class.
@tracylee8446
@tracylee8446 2 года назад
Hi Gary ! nice ! I was waiting for this PVC video for a long time ! haha just saw it, good video!
@TheLearningChannel-Tech
@TheLearningChannel-Tech 2 года назад
Thanks Tracy, and glad it was helpful!
@omega1962
@omega1962 Год назад
In Persistent Volume, when created (automatically or manually), where is the PV actually located? Is it inside one of cluster worker node? Is yes, will that PV be shared or mapped to other worker nodes as well?
@taka01110011
@taka01110011 Год назад
It depends, how PV was provisioned. It might be a NFS volume shared over network, iSCSI LUN provided by huge SAN storage etc. So if we have a small cluster (demo, learning environment) - we can provide a local volume as PV. For production ready clusters - more probably that it will be SAN storage. So as answer to your question, storage volume can be mounted at all the nodes (and must do), because if not - we can forget of high availability (ex: node maintenace). Hope it helps. p.s. forget to mention - the file system has to support concurrent working (locking mechanisms etc.),
@omega1962
@omega1962 Год назад
@@taka01110011 thx for the excellent explanation. In the lab env cluster scenario, if we create a pv which is of a local worker node and if that worker node fails, will the data be lost?
@taka01110011
@taka01110011 Год назад
@@omega1962 In the case of provision PV as local partition the answer is yes, if the node which provides local drive (or parition) for PV will die (ex: hard drive failure) - data will be lost of course. So, to avoid such a scenario you can create a volume with HA (high available) file system (ex: GlasterFS, DRBD volume etc) and provide it to all the nodes, also you can use separate VM as a NFS server.
@nicolal.1171
@nicolal.1171 Год назад
Quality content! Thx for this video!
@TheLearningChannel-Tech
@TheLearningChannel-Tech Год назад
Thank you very much!
@horlacsd
@horlacsd Год назад
excellent, quite helpful thanks
@TheLearningChannel-Tech
@TheLearningChannel-Tech Год назад
Glad it was helpful!
@bijanpartovi9768
@bijanpartovi9768 2 года назад
Great video! Thanks for sharing!
@TheLearningChannel-Tech
@TheLearningChannel-Tech 2 года назад
You bet! Thanks, Bijan.
Далее
Kubernetes, Volumes [06], Persistent Volume [1]
34:10
Просмотров 4,2 тыс.
Провал со стеклянным хлебом…
00:41
Лиса🦊 УЖЕ НА ВСЕХ ПЛОЩАДКАХ!
00:24
Istio Service Mesh (sidecar-based)- Intro
55:34
Просмотров 8 тыс.
Managing Local Storage with Kubernetes
41:34
Просмотров 4,4 тыс.
Kubernetes kube-proxy Modes: iptables and ipvs, Deep Dive
1:00:14
Kubernetes Volumes Simplified
39:37
Просмотров 35 тыс.
Cilium Kubernetes CNI Provider, Part 3: Cluster Mesh
52:44
Persistent Volumes on Kubernetes for beginners
18:47
Просмотров 53 тыс.