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

            afausti Angelo Fausti created issue -
            afausti Angelo Fausti made changes -
            Field Original Value New Value
            Epic Link DM-22721 [ 427980 ]
            afausti Angelo Fausti made changes -
            Link This issue relates to DM-23064 [ DM-23064 ]
            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
            afausti Angelo Fausti made changes -
            Description The `local-path-provisioner` provides a `local-path` storage class for provisioning persistent volumes of `hostPath` type. That worked fine on a single node running k3s.

            In this ticket, we'll run tests to make sure the `local-path-provisioner` works as expected in a (multi-node) k8s cluster.
            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.
            afausti Angelo Fausti made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            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.
            afausti Angelo Fausti made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Done [ 10002 ]

              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