Тёмный

EBS Volume Provisioning with Storage Class and PVC creation in Kubernetes: A Practical Guide 

DevOps Pro
Подписаться 11 тыс.
Просмотров 10 тыс.
50% 1

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

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 79   
@DevOpsPro
@DevOpsPro Год назад
Please help us with your valuable feedback - forms.gle/E9r3xvTxnLPKz9Hw9
@jalandharbehera99
@jalandharbehera99 8 месяцев назад
Itna achhe se koi nahi samajh payega aur itne details pe koi nahi bata payega…aut ek baat apka bolna aur samjhana bahut bahut achha hai mam….Thank you so much 😊😊
@DevOpsPro
@DevOpsPro 7 месяцев назад
Thanks! Stay tuned!
@jainkapil6316
@jainkapil6316 11 месяцев назад
Best demo video on pv pvc and storage class
@ramansharma95
@ramansharma95 10 месяцев назад
This video is WOW because of excellent explaination
@santosharakere
@santosharakere 2 месяца назад
Amazing demo. Thanks.
@_man.on.strings__
@_man.on.strings__ Год назад
thank you bs ese hi vid bnate jaiye, your all vid are great.
@satishalla
@satishalla Год назад
What an outstanding explanation!!!! if possible, make a video on aws network concepts
@DevOpsPro
@DevOpsPro Год назад
Thank you for the fantastic feedback! I'll definitely consider making a video on AWS network concepts. Stay tuned for more valuable content!
@vaibhav.v6403
@vaibhav.v6403 Год назад
You deserve more subscribers i have been looking for this EBS volume content since a 2 days thanks for explanation 👍
@DevOpsPro
@DevOpsPro Год назад
Thank you! Glad you found the content helpful. 👍
@samikshasharma3544
@samikshasharma3544 Год назад
Very well explained 👌
@Sumantkrmishra
@Sumantkrmishra Год назад
Well explained Riya
@rajbalhara7338
@rajbalhara7338 Год назад
Great content, please make a video on RBAC in k8s with practical
@RajeshVishwakarma-wz4ml
@RajeshVishwakarma-wz4ml Год назад
👍 awesome information
@DevOpsPro
@DevOpsPro Год назад
Thank you and keep watching!
@abrarsyed7177
@abrarsyed7177 Год назад
Thnx mam nice video please make more topic rbac helm statefulset
@netsaosa4973
@netsaosa4973 5 месяцев назад
Thank you, i was able to get the driver working with my kubeadm cluster
@rajraj6627
@rajraj6627 5 месяцев назад
Hi. Could you please let me know which kubeadm version u r working on. I m still struggling with this. Kubeadm v1.29 on ec2. I get issue like "rpc error : could not provision volume. Context deadline exceeded". Any help would be very nice
@DevOpsPro
@DevOpsPro 5 месяцев назад
This error can occur due to various reasons. Firstly, ensure your EC2 instances have the necessary permissions to create EBS volumes. Additionally, check your network connectivity and DNS resolution, as timeouts can occur if the Kubernetes nodes can't communicate properly. If the issue persists, providing more details about your setup would help diagnose the problem further.
@saikatdasgupta2006
@saikatdasgupta2006 5 месяцев назад
​@@DevOpsProI have added role to the IAM user with ec2fullaccess. Other than this not added any role. If any other role needs to be added kindly suggest me please
@Kk-rl7nv
@Kk-rl7nv 11 месяцев назад
Hi Riya, You have created storage for centos, can you please create a video where a deployment 2 pods will create and an another multi pod will create in statefulset which consumed the ebs volume, I.e deployment + statefulset will communicate together
@innovatoranonymous4312
@innovatoranonymous4312 5 дней назад
Is it valid for the nodes running outside AWS? Like on-prem k8s cluster ?
@kishoreT-j5b
@kishoreT-j5b 9 месяцев назад
excellent...
@suraj_dhakad
@suraj_dhakad Год назад
Thank you mam
@shivamsrivastava3050
@shivamsrivastava3050 Год назад
please upload video for static configuration of pv and pvc with EFS on multi nodes cluster
@pushpakjadhav5296
@pushpakjadhav5296 10 месяцев назад
Hello, I followed all the same steps in my EKS setup but still my pod and pvc are showing me in pending state please suggest me to solve this issue.. BTW your explaining the concept with your awesome presentations are very helpful to understand the concepts
@debrajpradhan5500
@debrajpradhan5500 Год назад
Mam, i created my cluster in eks.. It already default storage class present. So i am not creating storage class. I have the name of sc in pvc. And I follow your steps but my pvc and pod still in Pending state. Kindly help.
@DevOpsPro
@DevOpsPro Год назад
Please ensure that the PV you intend to use is available and configured correctly with matching capacity and access modes as specified in your PVC. Also check your PVC's storage class name and ensure it matches the one in your EKS cluster. If the problem persists, feel free to provide more details with us.
@gungungumber6450
@gungungumber6450 3 месяца назад
Hey Thanks for the tutorial....I have 1 question: The example you've shown is of cloud . what if we use nfs or we deployed k8s on Oracle Cloud . How the storage class file will look like?
@DevOpsPro
@DevOpsPro Месяц назад
For NFS, the storage class would reference an NFS provisioner, pointing to your NFS server and export path. For Oracle Cloud, you'd use a storage class configured for Oracle’s block storage, specifying the volume type, file system, and other Oracle-specific parameters. The setup will vary based on the storage type and cloud environment, but the basic structure remains similar.
@balakrishnag1707
@balakrishnag1707 Год назад
Nice presentation, I don't Hindi but I can understand the concept, but why did you create the iam user , can you do the EFS
@Ashborn_Dynasty
@Ashborn_Dynasty 3 месяца назад
Hi Mam, I hope this message finds you well. I had doubts regarding the volume provisioning, while creating the PVC. Basically, is it Bounded when we created the pod while specifying the claim name, or it took it's time to get bound ?
@Ashborn_Dynasty
@Ashborn_Dynasty 3 месяца назад
is it because of the VolumeBindingMode, that has been set to "WaitForFirstConsumer" ? Because the Pod was created, it immediately Bound the PVC and created the PV ( the EBS volume in AWS )
@DevOpsPro
@DevOpsPro Месяц назад
Yes, you’re correct-when VolumeBindingMode is set to WaitForFirstConsumer, the PVC gets bound to a PV only when a pod that uses it is scheduled. This ensures the volume is provisioned in the same zone as the pod. That’s why when you created the pod, the PVC immediately got bound and the EBS volume was created in AWS. It’s all about optimizing resource allocation. Hope this clears up your doubt!
@sagarhm2237
@sagarhm2237 Год назад
Mam can u share were u setup the k8 cluster on ec2 I not getting proper play list confused
@DevOpsPro
@DevOpsPro Год назад
You can watch here - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6_i1hXXviHw.html
@ankushp9937
@ankushp9937 2 месяца назад
If we create one more pod with different application, can we make use of the same storage class to provision another dynamic pv or how it should be processed.
@DevOpsPro
@DevOpsPro Месяц назад
Yes, you can use the same storage class to provision another dynamic PV for a different pod. Just create a new PersistentVolumeClaim (PVC) with the same storage class, and it will automatically provision a new PV for the new pod.
@dhirajgaikwad5086
@dhirajgaikwad5086 9 месяцев назад
Please make more video K8 topics, How to extend PVs if request come from client ?
@DevOpsPro
@DevOpsPro 7 месяцев назад
Absolutely! I appreciate your request.
@David-jf4ee
@David-jf4ee 17 дней назад
That is possible only via dynamic provisioning of volume and in storage class the parameter AllowVolumeExpansion should be set too true
@_IT_Krunalpanchal
@_IT_Krunalpanchal 9 месяцев назад
this tutorial make k8s easy for me.....
@DevOpsPro
@DevOpsPro 7 месяцев назад
Awesome to hear that. Thank you
@vicbooks3480
@vicbooks3480 Год назад
Not working, did exactly the steps mentioned, but volume mount failed... Can u plzz make a complete video on how to self managed cluster on ec2 including pv, pvs storage classs... I spent 3 days but didn't work... But thumps for clear explanation 👍
@DevOpsPro
@DevOpsPro Год назад
what error are you facing?
@bhaskarmehta746
@bhaskarmehta746 Год назад
Can we take readWriteMany in access mode in pvc in ebs? Because I tried but it was not happening. Can you please make a video of mounting Storage class with pv and pvc using NFS.
@DevOpsPro
@DevOpsPro Год назад
Unfortunately, Amazon Elastic Block Store (EBS) volumes do not currently support the ReadWriteMany access mode in Kubernetes. EBS volumes are designed for ReadWriteOnce access, meaning they can only be attached to a single pod at a time. If you require shared read and write access to a volume from multiple pods, you may want to consider using a different storage solution that supports the ReadWriteMany access mode, such as a network file system (NFS) or a distributed storage system like GlusterFS or Ceph. Let me know if you have any further questions!
@bhaskarmehta746
@bhaskarmehta746 Год назад
@@DevOpsProThank you. Can you please make a video on mounting NFS with Storage Class or PV?
@dhirajgaikwad5086
@dhirajgaikwad5086 9 месяцев назад
Please make video on Networking and certificate in use in K8 ?
@DevOpsPro
@DevOpsPro 7 месяцев назад
Thanks for the suggestion! I'll definitely create a video covering Networking and Certificate usage in Kubernetes. Stay tuned for the upcoming tutorial! If you have any more topics in mind, feel free to share. Your input is valuable!
@ShourovRoy-pk5zm
@ShourovRoy-pk5zm 5 месяцев назад
In future, if I increase the storage from pvc 1gi to 12gi. Is that going to create new ebs or it will just increase the existing volume storage to 12gi. And if it creates new ebs then what will happen with those data inside the previously created ebs.?
@DevOpsPro
@DevOpsPro 4 месяца назад
Increasing the PVC size will expand the existing EBS volume, not create a new one. Your data will remain intact on the expanded volume.
@ShourovRoy-pk5zm
@ShourovRoy-pk5zm 4 месяца назад
@@DevOpsPro thank you. ❤️
@sumannayak628
@sumannayak628 5 месяцев назад
Please upload videos for ELK in k8S
@DevOpsPro
@DevOpsPro 5 месяцев назад
Sure, will upload soon
@rohanekar
@rohanekar 9 месяцев назад
How many types of storage type in Kubernetes ?
@DevOpsPro
@DevOpsPro 7 месяцев назад
Great question! In Kubernetes, there are several storage types, including local storage, network-attached storage (NAS), and block storage like EBS. Each serves different use cases. I've covered EBS Volume Provisioning in this video. Stay tuned for more in-depth explanations on various storage types!
@shivaone
@shivaone 6 месяцев назад
Awesome
@HimanshuSingh-ki4ee
@HimanshuSingh-ki4ee 7 месяцев назад
The secret that was created is not mounted anywhere, will kubernetes directly read the secret to connect to AWS, or it needs to mounted on an object like storage class.
@DevOpsPro
@DevOpsPro 5 месяцев назад
Yes, Kubernetes directly reads the secret to connect to AWS. It doesn't need to be mounted on an object like a storage class.
@uhsay1986
@uhsay1986 6 месяцев назад
when are you launching playlist on docker, helm .
@DevOpsPro
@DevOpsPro 5 месяцев назад
next series will be on helm and docker. Keep watching
@rajraj6627
@rajraj6627 5 месяцев назад
I get issue like : rpc error - context deadline exceeded while trying to provision the volume. Using kubeadm v1.29 on ec2
@DevOpsPro
@DevOpsPro 5 месяцев назад
Please provide more details
@rajraj6627
@rajraj6627 5 месяцев назад
@@DevOpsPro k get events --watch 0s Normal ExternalProvisioning persistentvolumeclaim/ebs-claim Waiting for a volume to be created either by the external provisioner 'ebs.csi.aws.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered. 0s Warning ProvisioningFailed persistentvolumeclaim/ebs-claim failed to provision volume with StorageClass "ebs-sc": rpc error: code = DeadlineExceeded desc = context deadline exceeded 0s Normal Provisioning persistentvolumeclaim/ebs-claim External provisioner is provisioning volume for claim "default/ebs-claim" 0s Warning ProvisioningFailed persistentvolumeclaim/ebs-claim failed to provision volume with StorageClass "ebs-sc": rpc error: code = DeadlineExceeded desc = context deadline exceeded 0s Normal Provisioning persistentvolumeclaim/ebs-claim External provisioner is provisioning volume for claim "default/ebs-claim" k logs ebs-csi-controller-54d6fc8879-4p8l8 --follow b2-7649cdd7cedc\": could not create volume in EC2: operation error EC2: CreateVolume, request canceled, context deadline exceeded" E0517 16:15:33.431541 1 driver.go:107] "GRPC error" err="rpc error: code = Internal desc = Could not create volume \"pvc-a5aab4c0-6dff-4d18-aeb2-7649cdd7cedc\": could not create volume in EC2: operation error EC2: CreateVolume, request canceled, context canceled" E0517 16:16:49.432798 1 driver.go:107] "GRPC error" err="rpc error: code = Internal desc = Could not create volume \"pvc-a5aab4c0-6dff-4d18-aeb2-7649cdd7cedc\": could not create volume in EC2: operation error EC2: CreateVolume, request canceled, context canceled"
@devidas90
@devidas90 Год назад
Adds are coming more, plz hv a thought on this, it's irritating sometimes, ty for the nice explanation
@DevOpsPro
@DevOpsPro Год назад
According to the new policy of youtube, now ads are not controlled by the creator, youtube decides on its own when and where to show the ads.
@devidas90
@devidas90 Год назад
@@DevOpsPro ok.. I was not aware of
@aadiraj6126
@aadiraj6126 Год назад
Madam...we need helm lectures. 🧐
@DevOpsPro
@DevOpsPro Год назад
Noted! Helm tutorials are on the list. Stay tuned for upcoming content!
@PiyushKushwaha-pyshkshwh
@PiyushKushwaha-pyshkshwh 6 месяцев назад
Kaha ho madam, Aaj kal videos nahi aa rahe?
@DevOpsPro
@DevOpsPro 5 месяцев назад
will upload very soon
@sandeepvemu794
@sandeepvemu794 5 месяцев назад
What is your english channel name
@DevOpsPro
@DevOpsPro 4 месяца назад
DevOps Pro English
@sandeepvemu794
@sandeepvemu794 4 месяца назад
@@DevOpsPro sure.your teaching and presentation is awesome and a big fan of learning k8s
@SpunkyMonkey23
@SpunkyMonkey23 Месяц назад
your intro music tear my ears, soo annoying please do something fot that................
@samikshasharma3544
@samikshasharma3544 Год назад
i am getting this error "Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 31m default-scheduler Successfully assigned default/app to minikube Normal SuccessfulAttachVolume 31m attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-7cfd1c5b-59ba-4bb0-a262-5a341615ea00" Warning FailedMount 20m (x2 over 22m) kubelet Unable to attach or mount volumes: unmounted volumes=[persistent-storage], unattached volumes=[kube-api-access-smb4g persistent-storage]: timed out waiting for the condition Warning FailedMount 8m49s (x8 over 29m) kubelet Unable to attach or mount volumes: unmounted volumes=[persistent-storage], unattached volumes=[persistent-storage kube-api-access-smb4g]: timed out waiting for the condition Warning FailedMount 24s (x23 over 31m) kubelet MountVolume.MountDevice failed for volume "pvc-7cfd1c5b-59ba-4bb0-a262-5a341615ea00" : rpc error: code = Internal desc = Failed to find device path /dev/xvdaa. no device path for device "/dev/xvdaa" volume "vol-06b4c44765da5b59d" found" while describing in pod "app" although i followed all the steps which you asked to. kindly provide the solution.
@DevOpsPro
@DevOpsPro Год назад
show me the output of kubectl get pv,pvc
Далее
Watching This On Loop ♾️
00:32
Просмотров 10 млн
Борщ в стиле высокой кухни!
00:57
Кольцо Всевластия от Samsung
01:00
Просмотров 428 тыс.
Это было КРАСИВО!
01:00
Просмотров 1,1 млн
Kubernetes Storage | Why Use StorageClasses?
14:51
Просмотров 4,2 тыс.
Persistent Volumes on Kubernetes for beginners
18:47
Просмотров 53 тыс.
Watching This On Loop ♾️
00:32
Просмотров 10 млн