Welcome to the Linux Foundation Forum!

Lab 8.4 - Use a ResourceQuota to Limit PVC Count and Usage - Discussions

Options

I just followed this lab instructions. But the pod is not using NFS mounted volume as shown in the sample output in the lab instructions.

I don't get what I missed in the steps mentioned.

Comments

  • chrispokorni
    chrispokorni Posts: 2,165
    edited December 2020
    Options

    Hi @deepakgcp,

    When asking for help, it would be useful to provide information specific to your environment, rather than a snapshot of the exercise from the lab manual. From the limited information provided it is difficult to tell what was missed in earlier steps.

    The grep command only displays one line (-A1) following the grep parameter mount. Have you tried increasing the number of lines to possibly include additional mount points?

    As far as troubleshooting the mount inside the container, verify the YAML of your nginx-nfs Pod to ensure you provided both a volumes and a volumeMounts entries for the nfs-vol. An additional step would be to ensure that the PV pvvol-1 is Bound to the pvc-one PVC. Also, are the Pod and PVC created in the correct namespace?

    Regards,
    -Chris

Categories

Upcoming Training