kubernetes-101 icon indicating copy to clipboard operation
kubernetes-101 copied to clipboard

Episode 05 nfs server client provioner is deprecated

Open RoelAdriaans opened this issue 4 years ago • 5 comments

In the readme of Episode 5, the new nfs-subdir-external-provisioner is mentioned, but the helm chart installs the old (?) one, from ckotzbauer/nfs-client-provisioner. According to their github his repo is indeed deprecated, and moved to nfs-subdir-external-provisioner.

Kubernetes 1.20 removed support for SelfLink, rendering this example no longer working on newer versions. It also doesn't work natively on raspberry pi's.

The new helm does work without issues and can probably replaced as is. But this will render the video outdated?

RoelAdriaans avatar Feb 18 '21 15:02 RoelAdriaans

But this will render the video outdated?

Yeah, that's the nature of video content.

Luckily, this change can be made in here, and also I'll make sure to change it in the book too—and that way people can still get to the right directions here and in the book content after they try the video example and see it fail :D

geerlingguy avatar Feb 18 '21 16:02 geerlingguy

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar May 21 '21 05:05 stale[bot]

This issue is no longer marked for closure.

stale[bot] avatar May 21 '21 15:05 stale[bot]

Just a note for anyone doing this in August 2022 -

The resolution/workaround listed by @kiollpt in Issue 30 is valid for kubernetes 1.24. Note the change of IPAddress required for set nfs.server=x.x.x.x

$ helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/
$ helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \
    --set nfs.server=x.x.x.x \
    --set nfs.path=/exported/path

dstuartkelly avatar Aug 22 '22 16:08 dstuartkelly

Hello,

I follow a Linode's article to set up a Rook NFS solution at chapter 5 and I was able to deploy Drupal with three replicas.

In drupal.yml, I used:

storageClassName: rook-nfs-share1

Looks like rook-nfs-share1 was deployed using sc.yml

nqb avatar Oct 07 '22 12:10 nqb