{"id":18795004,"url":"https://github.com/fbac/chaosnetes","last_synced_at":"2026-05-07T04:39:29.687Z","repository":{"id":91737565,"uuid":"527330135","full_name":"fbac/chaosnetes","owner":"fbac","description":"Chaos as a Service for Kubernetes clusters","archived":false,"fork":false,"pushed_at":"2022-08-22T22:16:04.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-14T06:58:40.987Z","etag":null,"topics":["chaos","chaos-engineering","chaos-monkey","client-go","controllers","docker","go","golang","kubeconfig","kubernetes","operators"],"latest_commit_sha":null,"homepage":"","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/fbac.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-08-21T21:24:44.000Z","updated_at":"2022-09-20T07:49:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"5103a8bb-3d5f-43d9-8d82-53a7920fe2d8","html_url":"https://github.com/fbac/chaosnetes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fbac/chaosnetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbac%2Fchaosnetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbac%2Fchaosnetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbac%2Fchaosnetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbac%2Fchaosnetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbac","download_url":"https://codeload.github.com/fbac/chaosnetes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbac%2Fchaosnetes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275071515,"owners_count":25400398,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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":["chaos","chaos-engineering","chaos-monkey","client-go","controllers","docker","go","golang","kubeconfig","kubernetes","operators"],"created_at":"2024-11-07T21:32:11.824Z","updated_at":"2026-05-07T04:39:24.663Z","avatar_url":"https://github.com/fbac.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chaoscmd\n\nChaos as a Service for Kubernetes clusters\n\n- [chaoscmd](#chaoscmd)\n  - [cmd options](#cmd-options)\n    - [Usage as binary](#usage-as-binary)\n    - [Usage as container](#usage-as-container)\n    - [Usage in kubernetes](#usage-in-kubernetes)\n  - [TODO](#todo)\n\n## cmd options\n\n```bash\nUsage:\n  -dry-run\n        run chaosnetes as dry-run. (default true)\n  -kubeconfig string\n        absolute path to the kubeconfig file (default \"kubeconfig\")\n  -namespace string\n        namespace to use (default \"workloads\")\n  -pods-to-kill int\n        set maximum amount of pods to kill (default 1)\n```\n\n### Usage as binary\n\n  ```bash\n  chaoscmd -kubeconfig=/path/to/kubeconfig -dry-run=false -pods-to-kill=4\n  ```\n\n### Usage as container\n\n- Place your kubeconfig in the root path of the repository\n- Run `make image`\n- Run `docker run fbac/chaoscmd:latest \u003cOPTIONS\u003e`\n\n### Usage in kubernetes\n\n- There's a cronjob in assets to run this in a cluster\n\n## TODO\n\n- Test suite: fmt, vet, lint and test using v1 api mocks\n- Critical change: Do not upload kubeconfig in the image, instead pass it inside a volume to the container\n- Change build logic: binary should be built inside the container\n- Authenticate to cluster using serviceAccount if running in kubernetes\n- Github Actions workflow to build container and push to ghcr.io as OCI object\n- Set flags as env vars and adapt the cronjob to use them\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbac%2Fchaosnetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbac%2Fchaosnetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbac%2Fchaosnetes/lists"}