NFS Storage Class with OpenShift & Kubernetes

  Рет қаралды 11,050

Ryan Hay

Ryan Hay

Күн бұрын

Пікірлер: 19
@АнатолийЕвдокимов-к7щ
@АнатолийЕвдокимов-к7щ 2 жыл бұрын
best guide as usually!
@bensatunia8842
@bensatunia8842 4 жыл бұрын
Good stuff. Awesome & thanks
@dudecool321
@dudecool321 3 жыл бұрын
awesome video mate....learned a lot from it ...
@saurabhshinde250
@saurabhshinde250 2 жыл бұрын
Hi Ryan, great video, had an issue recently, provisioner pod gets stuck for container creation, it was working a while back, currently using openshift 4.9.
@AbdulRasheed-uv6sf
@AbdulRasheed-uv6sf 3 ай бұрын
How can we encrypt this SC so that the files are protected on the NFS servers?
@davorinkocbek4779
@davorinkocbek4779 3 жыл бұрын
Great post. Escpecially scc part. Do you know how to handle "chown: changing ownership of '/data/db': Operation not permitted ."? Which is the right scc to solve that?
@chandu4131
@chandu4131 8 ай бұрын
Hello ryan Its great video but, what if i want to increase nfs storage after the utilization is full to 100% /nfsmount ?? How to proceed futher
@mustufamithaiwala7205
@mustufamithaiwala7205 4 жыл бұрын
Hey Ryan, nice video.. are your working on migration from v3 to v4?
@RyanHay
@RyanHay 4 жыл бұрын
Hi Mustufa, I dont think I will be able to. I had a look at it but I'm not familiar with the migration tools and unfortunately I don't have the resources to spin up two clusters to play around with it.
@ms9580
@ms9580 3 жыл бұрын
Hi Ryan, thanks for the great videos. It has been videos that I was able to install OCP 4.7 on Hyper-V. There is an odd problem that I am facing with NFS storage. the test claim and pod runs fine and I can see a file on the NFS server. But when I try to create a MySQL database, the pod fails with the error "Failed to find valid data directory." Would really appreciate any help in resolving this. Thank you.
@RyanHay
@RyanHay 3 жыл бұрын
That sounds like a MySQL error. Can you get a shell into the running container and confirm there does exists a data directory where MySQL expects it to be?
@fesj2023
@fesj2023 3 жыл бұрын
Hi, could you make a video installing rook ceph on kubernetes?
@RyanHay
@RyanHay 3 жыл бұрын
Sure, I can put it on the list but its fairly straight forward. Make sure you add some disks to your hosts, they will be auto discovered and then run: git clone github.com/rook/rook.git cd rook/cluster/examples/kubernetes/ceph oc create -f common.yaml oc create -f operator-openshift.yaml oc create -f crds.yaml oc create -f cluster.yaml oc create -f ./csi/rbd/storageclass.yaml oc create -f ./csi/rbd/pvc.yaml oc create -f filesystem.yaml oc create -f ./csi/cephfs/storageclass.yaml oc create -f ./csi/cephfs/pvc.yaml oc create -f toolbox.yaml to get cephfs and block storage classes setup for use. Object storage CRs are in that same directory too.
@fesj2023
@fesj2023 3 жыл бұрын
@@RyanHay thank you... you have been helping me a lot with your content on the channel.
@EricLowryUT
@EricLowryUT 3 жыл бұрын
Hey Ryan, I was trying to apply this to an OCP 4.4 cluster but my PVC never gets fulfilled. When I look at the logs for the provisioner I see this `error retrieving resource lock nfs/nfs-storage: endpoints "nfs-storage" is forbidden: User "system:serviceaccount:nfs:nfs-client-provisioner" cannot get resource "endpoints" in API group "" in the namespace "nfs"` - I am researching it now, but is this something you have seen before?
@EricLowryUT
@EricLowryUT 3 жыл бұрын
Ok - figured it out on my own. I added the following to the end of the cluster role `nfs-client-provisioner-runner`: ``` - verbs: - get - list - watch - create - update - patch apiGroups: - '' resources: - endpoints ``` and I changed the namespace on the cluser role binding `run-nfs-client-provisioner` from "default" to "nfs" - and it all started working...
@RyanHay
@RyanHay 3 жыл бұрын
Hi Eric, I just used the instructions from this video setting up a 4.6 cluster and didn't have to make any changes to the cluster role so it might be something specific to your cluster.
@EricLowryUT
@EricLowryUT 3 жыл бұрын
@@RyanHay that must have been the magic of OpenShift and things getting fixed up-stream ;-)
@amaramootaz4537
@amaramootaz4537 3 жыл бұрын
Hello can you leave you email or linkedin profile , i have some questions about openshift
[ Kube 23.1 ] A guide to setting up dynamic NFS provisioning in Kubernetes
26:00
Just me and Opensource
Рет қаралды 31 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,2 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Kubernetes and OpenShift: What's the Difference?
7:27
IBM Technology
Рет қаралды 312 М.
Accessing and Using the Internal OpenShift Registry
14:38
OCPdude
Рет қаралды 7 М.
OpenShift Bare Metal LoadBalancer Services with MetalLB
14:58
What is OpenShift?
7:04
IBM Technology
Рет қаралды 678 М.
Building a Container Image - Pt 1 - OCI, UnionFs, Overlay
17:27
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,2 МЛН