Persistent Volumes with NFS and Cloud Storage // Kubernetes Tutorial

  Рет қаралды 48,636

Christian Lempa

Christian Lempa

Күн бұрын

Пікірлер: 73
@Shubhamhirau
@Shubhamhirau 3 жыл бұрын
Glad to see your videos on Every Tuesday ☺️
@davidkamaunu7887
@davidkamaunu7887 Жыл бұрын
....hear here
@madhudson1
@madhudson1 3 жыл бұрын
Great overview of an initially confusing system. As a developer, it's hugely beneficial to have storage abstracted away like this
@christianlempa
@christianlempa 3 жыл бұрын
Thanks! Great feedback :)
@cholasimmons
@cholasimmons 9 ай бұрын
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
@cholasimmons
@cholasimmons 9 ай бұрын
Never before has a kubernetes tutorial made so much sense! 👌
@christianlempa
@christianlempa 9 ай бұрын
Glad you think so! ❤️
@DigitEgal
@DigitEgal 3 жыл бұрын
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 3 жыл бұрын
Thank you so much! Especially because you know exactly where I started :D
@MrKorwinK
@MrKorwinK 2 жыл бұрын
Thanks
@christianlempa
@christianlempa 2 жыл бұрын
Thank you 🙏
@redakker
@redakker 2 жыл бұрын
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 2 жыл бұрын
Thank you so much! Of course, I’ll do :)
@TheDeclancox
@TheDeclancox 2 ай бұрын
Excellent overview, great delivery, vielen Dank!
@christianlempa
@christianlempa 2 ай бұрын
Vielen Dank! :)
@juanrebella2589
@juanrebella2589 3 жыл бұрын
World-Class content man, appreciated!
@christianlempa
@christianlempa 3 жыл бұрын
Thank you 😁
@90DaysOfDevOps
@90DaysOfDevOps 3 жыл бұрын
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 3 жыл бұрын
Thank you! Well I haven't considered giving any talks yet. I usually prefer making videos and livestreaming on YT.
@DigitEgal
@DigitEgal 3 жыл бұрын
@@christianlempa You should consider that Christian! You are ready!
@am7-p
@am7-p Жыл бұрын
nfs-common needs to be installed on all nodes: sudo apt install -y nfs-common
@michelangelop3923
@michelangelop3923 10 күн бұрын
This was the reason my deployment was failing and I was looking for issues in my NFS setup, but it was just a missing package on the nodes, thank you for the comment, it helped me resolve the issue faster.
@yashmurthy1019
@yashmurthy1019 Жыл бұрын
Very informative. Could you please create a similar video for iSCSI storage?
@pfsykes
@pfsykes 3 жыл бұрын
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 3 жыл бұрын
Thank you so much! I'm using ZSH + zsh-autosuggestions, plugin: here is a video about my entire terminal setup: kzbin.info/www/bejne/pXeZmH-vnbZ3mtk&
@ashkaanhassan5398
@ashkaanhassan5398 2 жыл бұрын
Fantastic videos.. I'm subscribing!
@christianlempa
@christianlempa 2 жыл бұрын
Welcome aboard!
@nuruzzamanhossain5086
@nuruzzamanhossain5086 Жыл бұрын
Great, you are life saver
@ebiscaia
@ebiscaia Жыл бұрын
Hi Christian, Have you ever considered making a video of statefulsets and when to use them instead of persistent volumes? Cheers
@mitchross2852
@mitchross2852 2 жыл бұрын
This was really helpful!
@christianlempa
@christianlempa 2 жыл бұрын
Thanks! Glad it helped
@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?
@pratahsinnetamby
@pratahsinnetamby 2 жыл бұрын
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.
@vitusyu9583
@vitusyu9583 9 ай бұрын
If the CIVO supports only RWO, you mentioned only pods within a single node can access it. Could you explain more?
@dinushkam2444
@dinushkam2444 3 жыл бұрын
Great video
@christianlempa
@christianlempa 3 жыл бұрын
Thanks!
@denilsonbonatti709
@denilsonbonatti709 2 жыл бұрын
Thank you very much!!
@christianlempa
@christianlempa 2 жыл бұрын
You're welcome!
@ElTebe
@ElTebe 4 ай бұрын
Is there an available option to add persistent volumes of the kubernetes cluster on Ceph? 3 Proxmox+Ceph physical nodes -> VMs -> kubernetes cluster connect to the host node's Ceph storage (I found some info about Ceph on a Kubernetes cluster but not the other way)
@christianlempa
@christianlempa 4 ай бұрын
I haven't looked at that, yet. Currently, I'm working on a new tutorial on Longhorn, probably coming out somewhere next year.
@ElTebe
@ElTebe 4 ай бұрын
@@christianlempa Great news, thank you
@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
@epochphilosophy
@epochphilosophy Жыл бұрын
Anyone else here wondering why the f*ck Kubernetes wouldn't allow an app's replicas to mount to Longhorn?
@whitev630
@whitev630 3 жыл бұрын
Can you create a video about setting up NFS server in ubuntu
@christianlempa
@christianlempa 3 жыл бұрын
Hm, I will include NFS in my kubernetes video about wordpress soon, watch out for that
@KaMZaTa
@KaMZaTa 2 жыл бұрын
Have you ever checked OpenEBS? What do you think about it?
@christianlempa
@christianlempa 2 жыл бұрын
Not tried it yet
@KaMZaTa
@KaMZaTa 2 жыл бұрын
@@christianlempa I’ll be waiting for your videos about it! Thanks!
@KaMZaTa
@KaMZaTa 2 жыл бұрын
@@christianlempa Do you use an NFS share for your production environment? What about backup and restore?
@samsulhaque8064
@samsulhaque8064 Жыл бұрын
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 Жыл бұрын
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 :/
@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?
@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.
@rachid59
@rachid59 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@christianlempa i have tailscale too. But i'm interested about this project 😁
@andherium
@andherium Жыл бұрын
why not use NFS storage class?
@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
@piotrka2842
@piotrka2842 Жыл бұрын
Containers are work ephemeral, but they're NOT immutable - you can change them.
@christianlempa
@christianlempa Жыл бұрын
Thanks, yep didn't notice that mistake :D
@jeet4050
@jeet4050 3 жыл бұрын
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 3 жыл бұрын
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.
@shynggyskassen942
@shynggyskassen942 Жыл бұрын
bs, too much water
@allisondealmeida
@allisondealmeida 3 жыл бұрын
Nice!!!
@christianlempa
@christianlempa 3 жыл бұрын
Thanks ;)
@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 ?
Kubernetes explained simply, and why you should learn it!
31:59
Christian Lempa
Рет қаралды 83 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Let's do GitOps in Kubernetes! ArgoCD Tutorial
18:01
Christian Lempa
Рет қаралды 71 М.
Credentials and Configs in Kubernetes Secrets and ConfigMaps
19:54
Christian Lempa
Рет қаралды 22 М.
Persistent Volumes on Kubernetes for beginners
18:47
That DevOps Guy
Рет қаралды 56 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 356 М.
Package Management with Helm // Kubernetes Tutorial
20:11
Christian Lempa
Рет қаралды 32 М.
Kubernetes Volumes Simplified
39:37
Pavan Elthepu
Рет қаралды 41 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН