{"id":13475370,"url":"https://github.com/converged-computing/slurm-operator","last_synced_at":"2026-01-12T03:01:23.118Z","repository":{"id":172949709,"uuid":"649983832","full_name":"converged-computing/slurm-operator","owner":"converged-computing","description":"Testing if I can implement slurm in an operator","archived":false,"fork":false,"pushed_at":"2024-11-03T21:19:35.000Z","size":169,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T05:36:52.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/converged-computing.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-06T04:38:08.000Z","updated_at":"2025-07-19T20:45:21.000Z","dependencies_parsed_at":"2023-12-18T02:22:44.307Z","dependency_job_id":"b488d78d-19e0-4849-8a2a-6429c54691d4","html_url":"https://github.com/converged-computing/slurm-operator","commit_stats":null,"previous_names":["converged-computing/slurm-operator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/converged-computing/slurm-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fslurm-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fslurm-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fslurm-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fslurm-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/converged-computing","download_url":"https://codeload.github.com/converged-computing/slurm-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fslurm-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":"2024-07-31T16:01:19.822Z","updated_at":"2026-01-12T03:01:23.101Z","avatar_url":"https://github.com/converged-computing.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# slurm-operator\n\n\u003e What happens when I run out of things to do on a Monday... ohno \n\nThis will be an attempt at creating a slurm operator. I mostly want to learn a production setup for SLURM,\nand have some fun! Note that it's not working yet! The next step is to customize the configuration files\n(e.g., slurm.conf and slurmdbd.conf) to be config maps, and specific to the cluster.\n\n## Development\n\n### Creation\n\n```bash\nmkdir slurm-operator\ncd slurm-operator/\noperator-sdk init --domain flux-framework.org --repo github.com/converged-computing/slurm-operator\noperator-sdk create api --version v1alpha1 --kind slurm --resource --controller\n```\n\n## Getting Started\n\nYou’ll need a Kubernetes cluster to run against. You can use [KIND](https://sigs.k8s.io/kind) to get a local cluster for testing, or run against a remote cluster.\n**Note:** Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster `kubectl cluster-info` shows). \n\n### Examples\n\nFor examples, see the following subdirectories:\n\n - [hello-world](examples/tests/hello-world/): a basic example with one slurm cluster to submit jobs to\n - [federated](examples/federated/): more than one cluster connected to the same database.\n\nNote that we don't have pretty rendered docs yet, as this was mostly a quick, few day project, and we are just returning to it to try out federated slurm. If we use or develop beyond a few simple times we will definitely spruce up the docs here.\n\n### How it works\n\nThis project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/).\n\nIt uses [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/),\nwhich provide a reconcile function responsible for synchronizing resources until the desired state is reached on the cluster.\n\n\n### TODO\n\n- Generate slurm.conf and slurmdbd.conf as templates, with custom hosts, etc.\n- Custom user generation?\n- If username/password not provided, generate as random\n- Add script logging levels / quiet\n- consider putting node start in loop (won't exit for job, maybe OK for now)\n- make more params in slurm configs variables\n- allow the command given to script to be given to srun (timing will be tough, probably need to ensure sinfo working)\n\n## License\n\nHPCIC DevTools is distributed under the terms of the MIT license.\nAll new contributions must be made under this license.\n\nSee [LICENSE](https://github.com/converged-computing/cloud-select/blob/main/LICENSE),\n[COPYRIGHT](https://github.com/converged-computing/cloud-select/blob/main/COPYRIGHT), and\n[NOTICE](https://github.com/converged-computing/cloud-select/blob/main/NOTICE) for details.\n\nSPDX-License-Identifier: (MIT)\n\nLLNL-CODE- 842614\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconverged-computing%2Fslurm-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconverged-computing%2Fslurm-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconverged-computing%2Fslurm-operator/lists"}