Welcome to the Linux Foundation Forum!

Exercise 8.3 - mounts and capacities

1) When I kubectl describe pod nginx-nfs... I get the expected output for volumes, but for Mounts I only have: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-lpsr7 (ro)
The pod is on the worker node and I verified the mount point is on the worker node. Where should it be getting /opt from nfs-vol (rw) from?

2) Why does the PVC show a capacity of 1Gi when the manifest has a request of 200Mi? Is the request setting not a limit on the claim?

Comments

  • Hi @aalang,

    If you examine closely the nfs-pod.yaml file shows a nfs-vol volumedefinition and its corresponding volumeMount that specifies the mountPath. If either of these properties are not specified in the definition file or there are any possible typos the kubectl describe pod will not display the volume.

    Regards,
    -Chris

Categories

Upcoming Training