# krkn-chaos/krkn

> krkn is a chaos and resiliency testing tool for Kubernetes. It injects deliberate failures into Kubernetes clusters to check whether they stay resilient under turbulent conditions. The project is written mainly in Python.

Source: https://github.com/krkn-chaos/krkn
Indexed: commit 2fbf4b5 on 2026-09-20 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Library
- Language: Python
- Stars: 522 at index time
- License: Apache-2.0
- Code health: 6.8/10, Fair
- Last commit: 2026-09-17
- Contributors: 76

## How it works

The entry point is server.py, the only entry point listed for the project. Most of the code sits in the krkn directory, which has 134 files and holds the core logic. krkn/resiliency/resiliency.py is one of the files flagged as a hotspot, and it belongs to the resiliency part of the code. krkn/summarized_reports/transform.py sits under the summarized reports package and is also flagged as a hotspot. The tests directory, with 72 files, includes tests such as tests/test_summarized_reports.py, and the CI directory, with 48 files, holds the CI test tooling under CI/tests_v2.

- server.py: entry point
- .github/ISSUE_TEMPLATE/bug_report.md: central file
- .github/ISSUE_TEMPLATE/dedicated_contributor_request.md: central file
- .github/ISSUE_TEMPLATE/feature.md: central file
- .github/ISSUE_TEMPLATE/maintainer_request.md: central file
Modules: krkn, tests, CI, containers, root, scripts, utils. 426 files, 48,601 lines, 3,315 symbols.

## Code health

- Score: 6.8/10 (Fair)
- Rank: #159 of 4,000+ indexed repos
- Hotspots: run_kraken.py, krkn/summarized_reports/transform.py, CI/tests_v2/lib/utils.py, krkn/resiliency/resiliency.py, krkn/scenario_plugins/triggers/trigger_manager.py
- Lowest file: krkn/scenario_plugins/native/network/ingress_shaping.py
- Dead code: 4 findings

## Maintenance

- Last commit 2026-09-17, first commit 2024-03-13, 500 commits
- 76 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/krkn-chaos/krkn/security

## More

- Page: https://repowise.dev/repo/krkn-chaos/krkn
- Ask this codebase: https://repowise.dev/repo/krkn-chaos/krkn/chat
- Docs: https://repowise.dev/repo/krkn-chaos/krkn/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/krkn-chaos/krkn
