{"id":17901633,"url":"https://github.com/steveb/tenkspoons","last_synced_at":"2025-06-10T10:41:02.081Z","repository":{"id":66670035,"uuid":"553966703","full_name":"steveb/tenkspoons","owner":"steveb","description":"Single threaded fake workload generator for the Ironic Bare Metal service.","archived":false,"fork":false,"pushed_at":"2023-02-21T04:31:35.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:27:16.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/steveb.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-10-19T03:25:53.000Z","updated_at":"2023-02-21T22:44:02.000Z","dependencies_parsed_at":"2023-02-23T10:00:48.863Z","dependency_job_id":null,"html_url":"https://github.com/steveb/tenkspoons","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/steveb%2Ftenkspoons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveb%2Ftenkspoons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveb%2Ftenkspoons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveb%2Ftenkspoons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steveb","download_url":"https://codeload.github.com/steveb/tenkspoons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveb%2Ftenkspoons/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259057651,"owners_count":22799199,"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-10-28T16:02:55.420Z","updated_at":"2025-06-10T10:41:02.073Z","avatar_url":"https://github.com/steveb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"TenKSpoons\n==========\n\nSingle threaded fake workload generator for the Ironic Bare Metal service.\n\nThis tool repeatedly creates and deploys a fake node, toggles the power state,\nthen undeploys and deletes. Metrics are exposed on port 8000 which can be viewed\nin a browser and consumed by Prometheus.\n\nEnvironment Variables\n---------------------\n\n- OS_CLOUD: valid key for openstacksdk clouds.yaml for a cloud containing a\n  baremetal endpoint\n- TENKSPOONS_NAME: base name of created nodes, defaults to `tenkspoons`\n\n- TENKSPOONS_SUFFIX_LENGTH: length of random suffix to add to end of node name,\n  defaults to `5`. If set to `0` and node `TENKSPOONS_NAME` already exists then\n  actions will be performed on that node (apart from create and delete).\n\nRunning as a script\n-------------------\n\nCreate a virtualenv and run the following:\n\n```\npip install -r requirements.txt\nexport OS_CLOUD=mycloud\n./tenkspoons\n# Ctrl-c to exit, view metrics at http://localhost:8000/\n```\n\nBuild a container\n-----------------\n```\nbuildah bud -t quay.io/steveb/tenkspoons:main-latest .\n```\n\nRunning locally as a container\n------------------------------\n\nContainer builds are up to date with the main branch\n\n```\npodman run --net=host -ti --rm --env OS_CLOUD=tenkspoons --volume ~/.config/openstack:/etc/openstack  quay.io/steveb/tenkspoons:main-latest\n# Ctrl-c to exit, view metrics at http://localhost:8000/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveb%2Ftenkspoons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteveb%2Ftenkspoons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveb%2Ftenkspoons/lists"}