{"id":24045150,"url":"https://github.com/blampe/longhorn-scheduler","last_synced_at":"2026-07-30T16:30:16.242Z","repository":{"id":141527523,"uuid":"605780240","full_name":"blampe/longhorn-scheduler","owner":"blampe","description":"A Kubernetes scheduler for data locality with Longhorn volumes.","archived":false,"fork":false,"pushed_at":"2024-04-30T19:26:00.000Z","size":438,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T23:54:37.233Z","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/blampe.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":"2023-02-23T22:11:32.000Z","updated_at":"2024-04-30T19:24:24.000Z","dependencies_parsed_at":"2024-06-21T07:08:05.531Z","dependency_job_id":"13bca02b-202c-4681-a0dd-6c4091120dfe","html_url":"https://github.com/blampe/longhorn-scheduler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blampe%2Flonghorn-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blampe%2Flonghorn-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blampe%2Flonghorn-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blampe%2Flonghorn-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blampe","download_url":"https://codeload.github.com/blampe/longhorn-scheduler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240823339,"owners_count":19863413,"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":"2025-01-08T23:55:11.399Z","updated_at":"2026-07-30T16:30:16.126Z","avatar_url":"https://github.com/blampe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐮 longhorn-scheduler\n\nThis is a fork of [linstor-scheduler-extender] modified to work with [Longhorn]\nvolumes. It uses [Stork] to schedule pods alongside existing replicas for\noptimal performance.\n\nThis is in contrast to Longhorn's built-in [data locality] functionality, which\nonly affects pods that have already been scheduled, and which re-allocates\nreplicas to achieve locality.\n\n## Behavior\n\nScheduling is best-effort -- if no replica nodes have capacity the pod will be\nscheduled without locality.\n\nIn situations where a pod has multiple Longhorn volumes attached, preference is\ngiven to nodes with more replicas.\n\nRWX volumes will attempt to schedule pods on the same node as the NFS share\nmanager, but the share manager may not have data locality _unless_ the admission\ncontroller is also deployed (see below).\n\n## Deployment\n\n```\nkubectl apply -f deploy/longhorn-scheduler.yaml\n```\n\n## Usage\n\nUse `schedulerName: longhorn` in your pod spec to take advantage of the\nscheduler.\n\n## Admission controller\n\nYou can also deploy the admission controller to automatically assign\n`schedulerName: longhorn` to all pods with Longhorn volumes:\n\n```\nkubectl apply -f deploy/longhorn-scheduler-admission.yaml\n```\n\n[linstor-scheduler-extender]: https://github.com/piraeusdatastore/linstor-scheduler-extender\n[Longhorn]: http://longhorn.io\n[Stork]: https://github.com/libopenstorage/stork\n[data locality]: https://longhorn.io/docs/1.4.0/high-availability/data-locality/#data-locality-settings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblampe%2Flonghorn-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblampe%2Flonghorn-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblampe%2Flonghorn-scheduler/lists"}