{"id":23293747,"url":"https://github.com/bestgopher/nfs-flexvolume","last_synced_at":"2025-07-13T14:37:26.002Z","repository":{"id":117912691,"uuid":"445071117","full_name":"bestgopher/nfs-flexvolume","owner":"bestgopher","description":"nfs flexvolume implement in rust.","archived":false,"fork":false,"pushed_at":"2022-01-07T02:03:09.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T00:47:38.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestgopher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-06T06:51:34.000Z","updated_at":"2023-03-05T07:39:38.000Z","dependencies_parsed_at":"2023-07-14T01:00:27.373Z","dependency_job_id":null,"html_url":"https://github.com/bestgopher/nfs-flexvolume","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestgopher%2Fnfs-flexvolume","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestgopher%2Fnfs-flexvolume/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestgopher%2Fnfs-flexvolume/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestgopher%2Fnfs-flexvolume/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestgopher","download_url":"https://codeload.github.com/bestgopher/nfs-flexvolume/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535489,"owners_count":20954574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T06:17:11.956Z","updated_at":"2025-04-06T18:49:01.299Z","avatar_url":"https://github.com/bestgopher.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nfs-flexvolume\n\nnfs-flexvolume is an automatic provisioner that use your *existing and already configured* NFS server to support dynamic provisioning of Kubernetes Persistent Volumes via Persistent Volume Claims. \n\n## Usage\n\n1. Install the binary file in your nodes by cargo.\n\n```shell\nmkdir -p /usr/libexec/kubernetes/kubelet-plugins/volume/exec/bestgopher~nfs\ncargo install --git https://github.com/bestgopher/nfs-flexvolume.git\ncd /usr/libexec/kubernetes/kubelet-plugins/volume/exec/bestgopher~nfs\nln ~/.cargo/bin/nfs\n```\n\n2. Specify `flexvolm` in `pods.spec.volumes`.\n\n   ```yaml\n   apiVersion: v1\n   kind: Pod\n   metadata:\n     name: busybox\n     namespace: default\n   spec:\n     containers:\n       - name: busybox\n         image: busybox\n         command:\n           - sleep\n           - \"3600\"\n         imagePullPolicy: IfNotPresent\n         volumeMounts:\n           - name: test  # use volume\n             mountPath: /data\n     volumes:\n       - name: test\n         flexVolume:\n           driver: \"bestgopher/nfs\"  # DON'T EDIT IT\n           fsType: \"nfs\"\n           options:\n             server: 172.16.58.5  # YOUR NFS SERVER HOSTNAME\n             path: /data # The export dir\n   \n   ```\n\n   Or specify `flexvolm` in `pv`\n\n   ```yaml\n   apiVersion: v1\n   kind: PersistentVolume\n   metadata:\n     name: pv-flex-nfs\n   spec:\n     capacity:\n       storage: 10Gi\n     accessModes:\n       - ReadWriteMany\n     flexVolume:\n       driver: \"bestgopher/nfs\"  # DON'T EDIT IT\n       fsType: \"nfs\"\n       options:\n         server: 172.16.58.5  # YOUR NFS SERVER HOSTNAME\n         path: /data # The export dir\n   ```\n\n## Options\n\n| option   | comment                             | required           |\n| -------- | ----------------------------------- | ------------------ |\n| server   | nfs server hostname                 | yes                |\n| path     | path                                | yes                |\n| protocol | mount -o tcp                        | no, default: tcp   |\n| atime    | if atime is zerom, mount -o noative | no, default: 0     |\n| readonly | if readlyonly is true, mount -o ro  | no, default: false |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestgopher%2Fnfs-flexvolume","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestgopher%2Fnfs-flexvolume","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestgopher%2Fnfs-flexvolume/lists"}