{"id":27881829,"url":"https://github.com/src-d/kubernetes-local-pv-provisioner","last_synced_at":"2026-03-11T05:01:34.994Z","repository":{"id":64305270,"uuid":"164873554","full_name":"src-d/kubernetes-local-pv-provisioner","owner":"src-d","description":"Helping you setting up local persistent volumes","archived":false,"fork":false,"pushed_at":"2019-04-01T20:50:43.000Z","size":4578,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-05T05:05:35.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/src-d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-09T14:01:32.000Z","updated_at":"2022-12-07T23:12:10.000Z","dependencies_parsed_at":"2023-01-15T10:30:56.620Z","dependency_job_id":null,"html_url":"https://github.com/src-d/kubernetes-local-pv-provisioner","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/src-d/kubernetes-local-pv-provisioner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fkubernetes-local-pv-provisioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fkubernetes-local-pv-provisioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fkubernetes-local-pv-provisioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fkubernetes-local-pv-provisioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/src-d","download_url":"https://codeload.github.com/src-d/kubernetes-local-pv-provisioner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fkubernetes-local-pv-provisioner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-05-05T05:05:32.000Z","updated_at":"2026-03-11T05:01:34.971Z","avatar_url":"https://github.com/src-d.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Local PV Provisioner\n\nKubernetes Local PV Provisioner helps you setting up [local persistent volumes](https://kubernetes.io/docs/concepts/storage/volumes/#local) by looking at the state and creating an empty directory on the filesystem of the correct Kubernetes server if needed.\n\n# Installation\n\nThis tool is made to run in cluster as a DaemonSet with the root file system mounted. For testing purposes it can also run locally with a connection to a Kubernetes cluster, however this is of no use since it can not create the directory on the server.\n\n## Kubernetes manifests\nThis repository provides example manifests file you can use to deploy this. These contain a service account and RBAC configuration for the tool to be able to read the Persistent Volumes. As well as a DaemonSet to deploy this on all servers in a cluster.\n```bash\n~ $ cd manifests\n~ $ kubectl apply -f rbac.yaml\n~ $ kubectl apply -f daemonset.yaml\n```\n\n## Helm\nWe also provide a Helm chart in our [Charts repository](https://github.com/src-d/charts). \n```bash\n~ $ helm repo add srcd https://src-d.github.io/charts/\n~ $ helm install srcd/kubernetes-local-pv-provisioner --set image.tag=v1.0.0\n```\n\n# Configuration\n\n* envvar: `NODE_NAME` flag: `--node-name` This is the server's hostname it will look for in the PV's NodeSelector\n* envvar: `ROOTFS_PATH` flag: `--rootfs-path` This is the prefix used in the path to locate where the root filesystem is mounted. Default: `/rootfs`\n* envvar: `KUBERNETES_CONTEXT` flag: `--context` If this is set it will not attempt to load the in-cluster service account but loads the context value out of `$HOME/.kube/config`\n\n# Contribute\n\n[Contributions](https://github.com/src-d/kubernetes-local-pv-provisioner/issues) are more than welcome, if you are interested please take a look to\nour [Contributing Guidelines](CONTRIBUTING.md).\n\n# Code of Conduct\n\nAll activities under source{d} projects are governed by the [source{d} code of conduct](.github/CODE_OF_CONDUCT.md).\n\n# License\nApache License Version 2.0, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Fkubernetes-local-pv-provisioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrc-d%2Fkubernetes-local-pv-provisioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Fkubernetes-local-pv-provisioner/lists"}