{"id":21178446,"url":"https://github.com/elementtech/kube-arch-scheduler","last_synced_at":"2025-08-17T12:37:29.764Z","repository":{"id":173886352,"uuid":"651430921","full_name":"ElementTech/kube-arch-scheduler","owner":"ElementTech","description":"An architecture-aware Kubernetes scheduler plugin","archived":false,"fork":false,"pushed_at":"2024-05-03T20:58:33.000Z","size":31608,"stargazers_count":31,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-22T19:08:34.516Z","etag":null,"topics":["kubernetes","kubernetes-controller","kubernetes-operator","plugin","scheduler","scheduler-plugin","schedulers"],"latest_commit_sha":null,"homepage":"https://elementtech.github.io/kube-arch-scheduler/","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/ElementTech.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-06-09T08:13:36.000Z","updated_at":"2024-06-04T13:17:02.000Z","dependencies_parsed_at":"2024-05-03T21:55:22.282Z","dependency_job_id":null,"html_url":"https://github.com/ElementTech/kube-arch-scheduler","commit_stats":null,"previous_names":["jatalocks/kube-arch-scheduler","elementtech/kube-arch-scheduler"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementTech%2Fkube-arch-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementTech%2Fkube-arch-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementTech%2Fkube-arch-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementTech%2Fkube-arch-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElementTech","download_url":"https://codeload.github.com/ElementTech/kube-arch-scheduler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224989905,"owners_count":17403413,"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":["kubernetes","kubernetes-controller","kubernetes-operator","plugin","scheduler","scheduler-plugin","schedulers"],"created_at":"2024-11-20T17:21:29.364Z","updated_at":"2024-11-20T17:21:29.906Z","avatar_url":"https://github.com/ElementTech.png","language":"Go","funding_links":["https://www.buymeacoffee.com/elementtech"],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eKubernetes Architecture Scheduler Plugin\u003c/h1\u003e\n\u003cp align=\"center\"\u003eAn image architecture aware Kubernetes scheduler plugin\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca  target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/elementtech/kube-arch-scheduler\" /\u003e\u003c/a\u003e\n\u003ca  target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/github/downloads/elementtech/kube-arch-scheduler/total\"/\u003e\u003c/a\u003e\n\u003ca  target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/elementtech/kube-arch-scheduler\"/\u003e\u003c/a\u003e\n\u003ca  target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/github/go-mod/go-version/elementtech/kube-arch-scheduler\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**kube-arch-scheduler** is a kubernetes scheduler filter plugin that will filter nodes by the compatibility of the container image architectures (platforms) present in a Pod. It can also assign weight to each architecture, so that pods can prefer sitting on a specific one.\n\n## Deploy - Helm\n\n```bash\nhelm repo add kube-arch-scheduler https://elementtech.github.io/kube-arch-scheduler/\nhelm repo update\nhelm install -n kube-system kube-arch-scheduler/kube-arch-scheduler\n```\n\n**Core Values:**\n\n```yaml\n# While enabled, this will add the scheduler to the default scheduler plugins,\n# this will make it affect all pods in the cluster.\naddToDefaultScheduler: true\n\n# If addToDefaultScheduler if false, this will be the name of the scheduler,\n# and it will only affect pods with: [schedulerName: kube-arch-scheduler].\nnonDefaultSchedulerName: kube-arch-scheduler\n\n# This is relevant if your Kubernetes pod does not have permissions to your private registries.\n# dockerconfig.json is a base64 encoded docker config file, it will be used\n# to pull the image manifests. The pod needs to have the secret mounted at\n# /root/.docker/config.json. This is only needed if you are using a private\n# registry. If you are using a public registry, you can leave this empty.\ndockerConfigSecretName: \"\"\n\n# The weight of each architecture,\n# if a pod can sit on both, it will prefer the one with the higher weight.\n# The default weight of undefined architectures is 0, meaning none will have\n# any particular preference.\nweight:\n  amd64: 0\n  arm64: 0\n  arm: 0\n  ppc64le: 0\n  s390x: 0\n  riscv64: 0\n```\n\n## Development\n\nUse this command to run the scheduler locally while connected to your Kubernetes cluster's context:\n\n```shell\ngo run main.go --authentication-kubeconfig ~/.kube/config --authorization-kubeconfig ~/.kube/config --config=./example/scheduler-config.yaml --v=2\n```\n\nYou can use the [example deployment](example/busybox.yaml) in order to test the scheduler on a live pod:\n\n```\nkubectl deploy -f example/busybox.yaml\n```\n\n## Support\n\n\u003ca href=\"https://www.buymeacoffee.com/elementtech\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementtech%2Fkube-arch-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felementtech%2Fkube-arch-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementtech%2Fkube-arch-scheduler/lists"}