{"id":27471793,"url":"https://github.com/bloomberg/powerfulseal","last_synced_at":"2025-04-16T02:01:54.757Z","repository":{"id":40102966,"uuid":"113219762","full_name":"powerfulseal/powerfulseal","owner":"powerfulseal","description":"A powerful testing tool for Kubernetes clusters.","archived":false,"fork":false,"pushed_at":"2023-11-10T18:28:39.000Z","size":8561,"stargazers_count":1961,"open_issues_count":54,"forks_count":165,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-04-14T16:57:09.196Z","etag":null,"topics":["chaos-engineering","hacktoberfest","kubernetes","openstack","testing"],"latest_commit_sha":null,"homepage":"","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/powerfulseal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2017-12-05T18:43:45.000Z","updated_at":"2025-04-07T03:17:09.000Z","dependencies_parsed_at":"2024-01-16T09:52:45.406Z","dependency_job_id":"bc2a28b6-6b44-43bf-b3cc-62814aa32033","html_url":"https://github.com/powerfulseal/powerfulseal","commit_stats":{"total_commits":895,"total_committers":36,"mean_commits":24.86111111111111,"dds":0.2670391061452514,"last_synced_commit":"83e138c92ce3d3cff3c7b19d76f5c7c76bbf817e"},"previous_names":["bloomberg/powerfulseal"],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerfulseal%2Fpowerfulseal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerfulseal%2Fpowerfulseal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerfulseal%2Fpowerfulseal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerfulseal%2Fpowerfulseal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/powerfulseal","download_url":"https://codeload.github.com/powerfulseal/powerfulseal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183098,"owners_count":21226140,"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":["chaos-engineering","hacktoberfest","kubernetes","openstack","testing"],"created_at":"2025-04-16T02:01:26.708Z","updated_at":"2025-04-16T02:01:54.746Z","avatar_url":"https://github.com/powerfulseal.png","language":"Python","funding_links":[],"categories":["Testing","🏗相关开源项目","Chaos testing","Tools and Libraries","Python","Notable Tools","3. Fault Injection"],"sub_categories":["[Jenkins](#jenkins)","测试","Testing and Troubleshooting","Cloud"],"readme":"\n# PowerfulSeal\n\n[![Travis](https://img.shields.io/travis/powerfulseal/powerfulseal.svg)](https://travis-ci.com/powerfulseal/powerfulseal) [![PyPI](https://img.shields.io/pypi/v/powerfulseal.svg)](https://pypi.python.org/pypi/powerfulseal)\n\n**PowerfulSeal** injects failure into your Kubernetes clusters, so that you can detect problems as early as possible. It allows for writing scenarios describing complete [chaos experiments](https://principlesofchaos.org).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/media/powerful-seal.png\" alt=\"Powerful Seal Logo\" width=\"150\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  Embrace the inevitable failure. \u003cstrong\u003eEmbrace The Seal\u003c/strong\u003e.\n  \u003cbr\u003e\n\u003c/p\u003e\n\n## [Documentation](https://powerfulseal.github.io/powerfulseal)\n\nPlease refer to the [Powerfulseal documentation](https://powerfulseal.github.io/powerfulseal) to learn how to use it.\n\n## Highlights\n\n- works with `Kubernetes`, `OpenStack`, `AWS`, `Azure`, `GCP` and local machines\n- `yaml` [policies](https://powerfulseal.github.io/powerfulseal/policies) describing complete chaos experiments\n- `Prometheus` and `Datadog` metrics collection\n- multiple [modes](https://powerfulseal.github.io/powerfulseal/modes) for differnt use cases\n\n\n## Hello world!\n\nJust to give you a taste, here's an example policy. It will kill a single pod, and then check that the service continues responding to HTTP probes, to verify its resiliency to one of its pods going down.\n\n```yaml\nscenarios:\n- name: Kill one pod in my namespace, make sure the service responds\n  steps:\n  # kill a pod from `myapp` namespace\n  - podAction:\n      matches:\n        - namespace: myapp\n      filters:\n        - randomSample:\n            size: 1\n      actions:\n        - kill:\n            probability: 0.75\n  # check my service continues working\n  - probeHTTP:\n      target:\n        service:\n          name: my-service\n          namespace: myapp\n      endpoint: /healthz\n```\n\nAssuming that's in `policy.yml`, you can run it like this:\n\n```sh\npowerfulseal autonomous --policy-file ./policy.yaml\n```\n\n[Learn more](https://powerfulseal.github.io/powerfulseal)\n\n## Installing\n\n- [docker hub](https://hub.docker.com/r/powerfulseal/powerfulseal/tags): `docker pull powerfulseal/powerfulseal:3.1.1`\n- [pip](https://pypi.org/project/powerfulseal/): `pip install powerfulseal`\n\n\n## Read about the PowerfulSeal\n\n- https://medium.com/faun/failures-are-inevitable-even-a-strongest-platform-with-concrete-operations-infrastructure-can-7d0c016430c6\n- https://www.techatbloomberg.com/blog/powerfulseal-testing-tool-kubernetes-clusters/\n- https://siliconangle.com/blog/2017/12/17/bloomberg-open-sources-powerfulseal-new-tool-testing-kubernetes-clusters/\n- https://github.com/ramitsurana/awesome-kubernetes#testing\n- https://github.com/ramitsurana/awesome-kubernetes#other-useful-videos\n- https://github.com/dastergon/awesome-chaos-engineering#notable-tools\n- https://www.linux.com/news/powerfulseal-testing-tool-kubernetes-clusters-0\n- https://www.infoq.com/news/2018/01/powerfulseal-chaos-kubernetes\n- [PowerfulSeal presentation at KubeCon 2017 Austin](https://youtu.be/00BMn0UjsG4)\n\n\n## Tools consuming PowerfulSeal\n\n- Chaos and resiliency testing tool for Kubernetes and OpenShift: https://github.com/openshift-scale/kraken\n\n---\n\n## Footnotes\n\nPowerfulSeal logo Copyright 2018 The Linux Foundation, and distributed under the Creative Commons Attribution (CC-BY-4.0) [license](https://creativecommons.org/licenses/by/4.0/legalcode).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Fpowerfulseal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloomberg%2Fpowerfulseal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Fpowerfulseal/lists"}