Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-23198

Test the local-path-provisioner on a k8s cluster

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The local-path-provisioner implements a local-path storage class for provisioning persistent volumes of hostPath type in Kubernetes. That worked fine on a single node running k3s.

      In this ticket, we'll run tests to make sure it works as expected in a (multi-node) k8s cluster.

        Attachments

          Issue Links

            Activity

            Hide
            afausti Angelo Fausti added a comment -

            I've open another ticket DM-23307 to test the secutiryContext spec in a different environment than the current NCSA test stand EFD.

            Show
            afausti Angelo Fausti added a comment - I've open another ticket DM-23307 to test the secutiryContext spec in a different environment than the current NCSA test stand EFD.
            Hide
            afausti Angelo Fausti added a comment -

            The local-path-provisioner controller correctly creates the pv's on multiple nodes in the cluster, which is great. However, we had to export the nfs with no_root_squash for that to work.

            It seems we can avoid that using the securityContext spec in the pod, see for example:

            https://github.com/rancher/local-path-provisioner/blob/master/examples/pod-with-security-context.yaml

            Show
            afausti Angelo Fausti added a comment - The local-path-provisioner controller correctly creates the pv's on multiple nodes in the cluster, which is great. However, we had to export the nfs with no_root_squash for that to work. It seems we can avoid that using the securityContext spec in the pod, see for example: https://github.com/rancher/local-path-provisioner/blob/master/examples/pod-with-security-context.yaml

              People

              • Assignee:
                afausti Angelo Fausti
                Reporter:
                afausti Angelo Fausti
                Watchers:
                Angelo Fausti, Matthew Thomas Long, Michelle Butler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel