How can I make Kubernetes mount the entire volume, and grow as it grows?

9/17/2018

I have an NFS server with 30GB, I mount it like so, and inside of the pod, I see only 10gb.

  volumes:
  - name: server-nfs-storage
    nfs: 
        server: --.--.--.--
        path: "/"

I want to avoid creating PVC, because PVC can't be changed in current release, I won't be able to change the size of the volume.

To put in a more general form: How can I make Kubernetes mount the entire volume, and grow as it grows?

Using Kubernetes 1.9

-- aclokay
kubernetes

0 Answers