{"id":28233068,"url":"https://github.com/mendrugory/pod-chaos-monkey","last_synced_at":"2026-04-27T01:31:43.738Z","repository":{"id":83786956,"uuid":"537553361","full_name":"mendrugory/pod-chaos-monkey","owner":"mendrugory","description":"Pod chaos monkey is a PoC of a chaos engineering for Kubernetes which will help us to test the reliability of our system. It will killed pod, in a desired namespace in a schedule.","archived":false,"fork":false,"pushed_at":"2022-09-17T07:24:18.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T14:08:13.231Z","etag":null,"topics":["chaos","chaos-engineering","chaos-monkey","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mendrugory.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,"zenodo":null}},"created_at":"2022-09-16T17:17:30.000Z","updated_at":"2022-09-16T17:18:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"e577c6fa-35fc-48f9-9e89-3bcca192e9d9","html_url":"https://github.com/mendrugory/pod-chaos-monkey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mendrugory/pod-chaos-monkey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendrugory%2Fpod-chaos-monkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendrugory%2Fpod-chaos-monkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendrugory%2Fpod-chaos-monkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendrugory%2Fpod-chaos-monkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendrugory","download_url":"https://codeload.github.com/mendrugory/pod-chaos-monkey/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendrugory%2Fpod-chaos-monkey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32319559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","kubernetes"],"created_at":"2025-05-18T20:10:32.323Z","updated_at":"2026-04-27T01:31:43.728Z","avatar_url":"https://github.com/mendrugory.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pod Chaos Monkey\n\nPod chaos monkey is a PoC of chaos engineering for Kubernetes which will help us to test the reliability of our system. It will kill pods (once at a time), in a desired namespace, in a schedule.\n\nThis PoC has been developed using [Python](https://www.python.org/) 3.10\n\nThe project contains a [Makefile](./Makefile) to make easier the interaction with it.\n\n## Local Python Environment\n\nCreate a local environment to develop/test your python code.\n\n```bash\n$ make local-environment\n```\n\n\n## Unit test\n\nRun unit tests\n\n```bash\n$ make unittest\n```\n\n## Create local Kubernetes cluster (KinD)\n\n[Docker](https://www.docker.com/) is mandatory because is a hard requirement of [Kind](https://kind.sigs.k8s.io/).\n\n```bash\n$ make kind\n```\n\nOnce that you have your Kubernetes cluster, you can create some pods:\n\n```bash\n$ kubectl run nginx1 --image=nginx\n```\n\n## Environment Variables\n\n* **ENVIRONMENT**: Environment where the software will be running (*KUBERNETES*, *LOCAL*). By default: *KUBERNETES*.\n* **LOGGER_LEVEL**: Level for the logger. By default: *INFO*\n\n\n## Build Docker image\n\n```bash\n$ TAG=\u003cdesired tag\u003e make docker-build\n```\n\n## Load Image into Kubernetes\n\nYour desired image will be loaded into the kubernetes node.\n\n```bash\n$ TAG=\u003cdesired tag\u003e make load-image\n```\n\n## Install Helm Chart\n\nIt will install the [helm chart](./chart/) with the default [values](./chart/values.yaml).\n\n```bash\n$ make helm-install\n```\n\nHelm chart values file contains the docker image, cron value and namespace where the pods will be removed.\nYou can apply your own values.\n\n**example:**\n\n```yaml\nimage: pod-chaos-monkey:latest\nschedule: \"* * * * *\"\nnamespace: default\n```\n\n## Destroy your cluster\n\n```bash\n$ make destroy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendrugory%2Fpod-chaos-monkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendrugory%2Fpod-chaos-monkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendrugory%2Fpod-chaos-monkey/lists"}