Тёмный

Persistent Volumes with NFS and Cloud Storage // Kubernetes Tutorial 

Christian Lempa
Подписаться 217 тыс.
Просмотров 45 тыс.
50% 1

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

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@DigitEgal
@DigitEgal 2 года назад
Your language is on point! Its great to see your language increases in quality with each video you took :) CIVO looks very interesting im gonna take a look into it
@christianlempa
@christianlempa 2 года назад
Thank you so much! Especially because you know exactly where I started :D
@epochphilosophy
@epochphilosophy 10 месяцев назад
Anyone else here wondering why the f*ck Kubernetes wouldn't allow an app's replicas to mount to Longhorn?
@mitchross2852
@mitchross2852 2 года назад
This was really helpful!
@christianlempa
@christianlempa 2 года назад
Thanks! Glad it helped
@yifeiren8004
@yifeiren8004 Год назад
You can deploy rancher. Then install longhorn from its graphic UI. It will give you a HA storage system running as containers in your cluster, using the hosts storage 😊
@christianlempa
@christianlempa Год назад
To be honest, I didn’t like it much. For me NFS works better.
@yifeiren8004
@yifeiren8004 Год назад
@@christianlempa the only issue I had is I accidentally deleted its daemon, and it is not repairable 🙃
@pjj7466
@pjj7466 Год назад
Sir is NFS and NAS both are same?
@geemobile6037
@geemobile6037 Год назад
@@pjj7466from my limited understanding they are not the same. NFS is a network protocol, think smb or dlna. Nas is more hardware and can be accessed via different network protocols or directly thunderbolt or usb if supported
@jefflucas_life
@jefflucas_life Год назад
14:53 I think this only works when remote NFS volume is mounted locally on the worker controller/nodes on the /etc/fstab. What setup/configured nfs csi how did you do the pods?
@denilsonbonatti709
@denilsonbonatti709 2 года назад
Thank you very much!!
@christianlempa
@christianlempa 2 года назад
You're welcome!
@dinushkam2444
@dinushkam2444 2 года назад
Great video
@christianlempa
@christianlempa 2 года назад
Thanks!
@shynggyskassen942
@shynggyskassen942 Год назад
bs, too much water
@am7-p
@am7-p Год назад
nfs-common needs to be installed on all nodes: sudo apt install -y nfs-common
@madhudson1
@madhudson1 2 года назад
Great overview of an initially confusing system. As a developer, it's hugely beneficial to have storage abstracted away like this
@christianlempa
@christianlempa 2 года назад
Thanks! Great feedback :)
@cholasimmons
@cholasimmons 5 месяцев назад
i used to laugh at the pricing of separate storage by the cloud provider, thinking i could just get away with regular hard drive storage on the server. lol
@vitusyu9583
@vitusyu9583 5 месяцев назад
If the CIVO supports only RWO, you mentioned only pods within a single node can access it. Could you explain more?
@samsulhaque8064
@samsulhaque8064 8 месяцев назад
Hi Sir, I have a question about stateful application Let’s say I have a PostgreSQL Sharded cluster in my Kubernetes cluster and have 3 replicas with Stateful Set and storage class Case1: If replica set increase 3 to 4 one pv attached to 4th number pod dynamically also some data stored in 4th member pv and all are ok Case2. When scale down 4 to 3 my 4th number pod down and pv remaining existing. And that data remaining inaccessible. when replicate set up that pv can accessible a. If that pv inaccessible so is there any data inconsistency happen? b. If inconsistency happen how to redistributed that data from 4th number pv to others pv . c. Or what the actual thing happens that orphan pv when do scale down in stateful application
@christianlempa
@christianlempa 8 месяцев назад
It's not that much different from running the DBs on separate VMs. But I doubt to have enough experience to tell you how you should build an HA DB cluster :/
@redakker
@redakker Год назад
Just love your content. And the presentation. Not just here, all videos are remarkable. (My thoughts came about it t this point:)) They are understandable, simple explanations. So keep doing this!
@christianlempa
@christianlempa Год назад
Thank you so much! Of course, I’ll do :)
@piotrka2842
@piotrka2842 11 месяцев назад
Containers are work ephemeral, but they're NOT immutable - you can change them.
@christianlempa
@christianlempa 11 месяцев назад
Thanks, yep didn't notice that mistake :D
@pfsykes
@pfsykes 2 года назад
Just started watching your tutorials and subscribed... The content is fantastic and well put together. Just one question what is the auto complete tool you are using in the wsl2 terminal?
@christianlempa
@christianlempa 2 года назад
Thank you so much! I'm using ZSH + zsh-autosuggestions, plugin: here is a video about my entire terminal setup: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oF6gLyhQDdw.html&
@cholasimmons
@cholasimmons 5 месяцев назад
Never before has a kubernetes tutorial made so much sense! 👌
@christianlempa
@christianlempa 5 месяцев назад
Glad you think so! ❤️
@andherium
@andherium Год назад
why not use NFS storage class?
@Shubhamhirau
@Shubhamhirau 2 года назад
Glad to see your videos on Every Tuesday ☺️
@davidkamaunu7887
@davidkamaunu7887 Год назад
....hear here
@MrShashankTube
@MrShashankTube 2 года назад
I have been using virtualbox in windows 10 with minikube and docker desktop for local development. I am using hostPath and (also tried using persistent volumes) at the moment and fetching data from apis is taking minimum of 5 seconds. 1 reuqests take 5 or more seconds. I have tried to figure out solution for it but can't. Somewhere i found that, it is the issue with DNS resolution. Do you know anything about it ? The issue with the slowness?
@pratahsinnetamby
@pratahsinnetamby Год назад
Great Video. I'm a newbee and a little confused as to how the nfs storage class works. In some of the literature I read, they refer to nfs provisioner however you seem to have simply used the IP address. Setting up the provisioner was a challenge in it self but you seem to have gotten around it! I am using Truenas. Does your approach use the SMB service or does the nfs service have to be active? Apologies if my questions don't make sense due the sketchy knowledge I have on how all of this hangs together! Your assistance is much appreciated.
@90DaysOfDevOps
@90DaysOfDevOps 2 года назад
Would you consider giving a talk like this for cloud-native data management days? The education around storage and data is daunting for a lot of people and think you could tell a great story here.
@christianlempa
@christianlempa 2 года назад
Thank you! Well I haven't considered giving any talks yet. I usually prefer making videos and livestreaming on YT.
@DigitEgal
@DigitEgal 2 года назад
@@christianlempa You should consider that Christian! You are ready!
@yashmurthy1019
@yashmurthy1019 Год назад
Very informative. Could you please create a similar video for iSCSI storage?
@ebiscaia
@ebiscaia Год назад
Hi Christian, Have you ever considered making a video of statefulsets and when to use them instead of persistent volumes? Cheers
@juanrebella2589
@juanrebella2589 2 года назад
World-Class content man, appreciated!
@christianlempa
@christianlempa 2 года назад
Thank you 😁
@jeet4050
@jeet4050 2 года назад
I have a question, what happens when two PVC tries to claim a PV at same time? like PV is of 10GB and those both PVC is of 3GB each, and they both tries to claim the PV at same point of time?
@christianlempa
@christianlempa 2 года назад
That does not work, unfortunately. I thought first it would work this way, but the PVC always claims the entire PV, so even when PVC wants 3GB and there is only 1 PV with 10GB, the PVC claims the entire 10GB and bounds it 1:1 to the PV.
@mitchross2852
@mitchross2852 2 года назад
Does each app get its own PVC? and /or Does each app need its own PV ? So If I have app1 and app2 can app1 and app2 share the same PV and do they each use the same PVC?
@christianlempa
@christianlempa 2 года назад
That depends on the kind of your app. Pods in Deployments share the same PVC, Pods in Statefulsets have all their own PVC.
@mitchross2852
@mitchross2852 2 года назад
@@christianlempa could you perhaps provide a drawing let’s say I have a Wordpress App and a Pihole app both having persistent storage. In the docker compose world each folder might be the root level storage directory so when the docker volume mounts it’s using the folders root level. Ie /home/docker/pihole/myconfigs or /home/docker/Wordpress/myDbConfigs
@MrKorwinK
@MrKorwinK Год назад
Thanks
@christianlempa
@christianlempa Год назад
Thank you 🙏
@rachid59
@rachid59 2 года назад
Hello, Thanks for all your vidéo. Do you know headscale ? It's a tailscale coordination server. Ils want to test it but i don't understand how i can install it. Can you make a vidéo about it ? Thanks
@christianlempa
@christianlempa 2 года назад
Hey thank you so much! I heard about it, but as I'm pretty happy with tailscale I haven't tried it out, yet.
@rachid59
@rachid59 2 года назад
@@christianlempa i have tailscale too. But i'm interested about this project 😁
@lorem4811
@lorem4811 2 года назад
Hi, can we deploy a pod that will be an NFS server?
@christianlempa
@christianlempa 2 года назад
Yes, that works! Maybe I make a video about it in the far future.
@nuruzzamanhossain5086
@nuruzzamanhossain5086 11 месяцев назад
Great, you are life saver
@whitev630
@whitev630 2 года назад
Can you create a video about setting up NFS server in ubuntu
@christianlempa
@christianlempa 2 года назад
Hm, I will include NFS in my kubernetes video about wordpress soon, watch out for that
@ashkaanhassan5398
@ashkaanhassan5398 2 года назад
Fantastic videos.. I'm subscribing!
@christianlempa
@christianlempa 2 года назад
Welcome aboard!
@KaMZaTa
@KaMZaTa Год назад
Have you ever checked OpenEBS? What do you think about it?
@christianlempa
@christianlempa Год назад
Not tried it yet
@KaMZaTa
@KaMZaTa Год назад
@@christianlempa I’ll be waiting for your videos about it! Thanks!
@KaMZaTa
@KaMZaTa Год назад
@@christianlempa Do you use an NFS share for your production environment? What about backup and restore?
@vishnupriyayeganathan6366
@vishnupriyayeganathan6366 2 года назад
How to copy the default exist files like index.html in nginx to /usr/share/nginx/html instead of creating a new default.html ?
@allisondealmeida
@allisondealmeida 2 года назад
Nice!!!
@christianlempa
@christianlempa 2 года назад
Thanks ;)
Далее
Inside Out 2: BABY JOY VS SHIN SONIC 4
00:16
Просмотров 3,9 млн
Don't use local Docker Volumes
12:43
Просмотров 176 тыс.
Persistent Volumes on Kubernetes for beginners
18:47
Просмотров 53 тыс.
Let's do GitOps in Kubernetes! ArgoCD Tutorial
18:01
Просмотров 65 тыс.
Kubernetes Volumes Simplified
39:37
Просмотров 35 тыс.
Kubernetes Storage | Why Use StorageClasses?
14:51
Просмотров 3,9 тыс.