Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Unleash controlled chaos with krknctl

August 21, 2025
Tullio Sebastiani
Related topics:
Automation and managementCI/CDContainersDevOpsDevSecOpsLinuxKubernetesMicroservicesSecurity
Related products:
Red Hat OpenShift

    Imagine testing your system’s resilience by triggering CPU overloads, memory hogging, or service disruptions without risking disaster. With krknctl, this isn’t just a dream. It’s a practical reality for engineers, DevOps professionals, and chaos enthusiasts alike. Built as a powerful command-line interface (CLI) for orchestrating krkn chaos scenarios using container images from krkn-hub, krknctl simplifies complexity and empowers you to explore your system’s limits. 

    In this article, we’ll dive deep into why krknctl is a must-have tool, its standout features, and how it can transform your chaos engineering workflows.

    Krknctl is a game-changer

    Krknctl isn’t just another chaos engineering tool. It’s a streamlined, user-friendly solution that abstracts the intricacies of container runtimes (i.e., Podman or Docker) so you can focus on testing, learning, and building resilient systems. Here’s what sets krknctl apart:

    • Instant autocompletion: With a double tap of the tab key, krknctl suggests commands and descriptions, enhancing your experience on Bash (Linux) or Zsh (macOS). It’s like having an intelligent assistant by your side!
    • Ironclad input validation: Forget typos or errors—krknctl validates your inputs, ensuring every command executes flawlessly.
    • Dynamic graph orchestration: Use a dependency resolution algorithm to run scenarios serially, in parallel, or in mixed configurations. Define complex execution plans with a simple JSON file, unlocking endless testing possibilities.
    • Versatile container support: Seamlessly works with Podman or Docker, leveraging Unix sockets for integration. If both runtimes are installed, it defaults to Podman—your choice, your control.
    • Innovative metadata management: One of krknctl’s coolest and most unique features is its metadata backend. Unlike traditional tools, krknctl exclusively uses standard registry APIs and OCI labels from krkn-hub images to manage scenario metadata. This approach eliminates the need for external databases and web services, making it lightweight, scalable, and truly original, only image registry needed.
    • Security-focused image flexibility: As backend, krknctl supports Quay with official krkn-hub images and private registries, giving you unparalleled flexibility for mission-critical use cases. For scenarios where security is paramount, you can mirror krkn-hub images into your own private registry, ensuring full control over your chaos engineering environment. This security-conscious makes krknctl a standout tool for organizations prioritizing data sovereignty and compliance.

    Ready-to-use builds

    One of krknctl’s biggest advantages is you don’t need to build it from scratch. Pre-compiled binaries are available on GitHub for:

    • macOS: Intel and Apple Silicon architectures
    • Linux: x86_64 and ARM support

    This means you can download the right build for your system, install it in seconds, and start orchestrating chaos immediately—no Go compiler or build dependencies required. It’s a frictionless onboarding experience, perfect for developers eager to dive into chaos engineering without delay.

    Putting krknctl to work

    Let’s explore krknctl in action. Suppose you want to test your system’s resilience against multiple disruptions—say, CPU, memory, I/O, and service hijacking. Here’s how you can scaffold and run a serial execution plan:

    ./krknctl graph scaffold node-cpu-hog node-memory-hog node-io-hog service-hijacking > plan.json
    <edit the plan.json file to tweak the scenario parameters>
    ./krknctl graph run plan.json 

    This generates a JSON execution plan, runs the scenarios, and logs detailed output of each scenario to files like krknctl-<scenario>-<id>-<timestamp>.log. 

    Want to monitor progress? Use attach <scenario-ID> to reconnect to the container’s output. 

    For parallel execution, leverage the dummy-scenario as a root node, allowing all dependent scenarios to run concurrently, which is ideal for stress-testing at scale.

    Another common use case is querying the status of running scenarios. With query-status <container-ID>, you can integrate krknctl into CI/CD pipelines to halt execution if a chaos run fails, ensuring reliability at every step. Thanks to its metadata approach of pulling scenario details directly from krkn-hub’s OCI labels, you get consistent, up-to-date information without additional setup.

    Choose krknctl for your chaos journey

    In a world where system resilience is non-negotiable, krknctl offers a competitive edge. It abstracts container runtime complexities, provides flexible graph-based orchestration, and delivers an accessible experience for beginners and experts alike. The innovative use of standard registry APIs and OCI labels for metadata management sets it apart, offering a lightweight, scalable solution that’s unique in the chaos engineering space. Plus, with pre-built binaries for major platforms, you’re ready to start testing in minutes—whether you’re on a MacBook Pro (Intel or Apple Silicon) or a Linux server (x86_64 or ARM).

    A note on maturity: krknctl is currently in beta, so use it at your own risk. But don’t let that deter you. This is your chance to shape a tool that’s evolving rapidly, backed by a vibrant community at krkn-chaos.

    Getting started: Your fast track to chaos

    Ready to harness controlled chaos? Follow these steps:

    1. Download the binary: Head to the GitHub releases page and grab the pre-built version for your platform (macOS Intel/Apple Silicon, Linux x86_64/ARM).
    2. Install dependencies: Ensure you have Podman or Docker, plus system-specific tools like words (for random dictionaries on Linux) or gpgme (via Homebrew on macOS).
    3. Enable autocompletion: Check the documentation for the autocompletion setup on your favorite shell.
    4. Explore commands: Try list available, describe node-cpu-hog, or graph scaffold to unlock krknctl’s potential.
    5. Explore the documentation.

    Building resilient systems with krknctl

    Krknctl isn’t just a tool, it’s a catalyst for dreaming big about resilient, chaos-tested systems. Whether you’re a curious newcomer or a seasoned chaos engineer, this CLI empowers you to experiment, innovate, and push boundaries. From serial executions to parallel stress tests, krknctl gives you the flexibility to simulate real-world failures and build unbreakable architectures, leveraging its unique metadata approach to keep your scenarios organized and cutting-edge.

    Take a look at the video demo.

    krknctl in action (Demo video)
    Tue, 06/17/2025 - 09:44
    tsebasti
    See krknctl in action.

    Join the krkn-chaos community today, download a pre-built binary, and start your chaos engineering journey. The future of resilient systems is chaotic, and with krknctl, you’ll be ready to lead the charge.

    Related Posts

    • Istio Chaos Engineering: I Meant to Do That

    • Where can I download the OpenShift command line tool?

    • Common architectural elements for modern integration architectures (Part 2)

    Recent Posts

    • SQL Server HA on RHEL: Meet Pacemaker HA Agent v2 (tech preview)

    • Deploy with confidence: Continuous integration and continuous delivery for agentic AI

    • Every layer counts: Defense in depth for AI agents with Red Hat AI

    • Fun in the RUN instruction: Why container builds with distroless images can surprise you

    • Trusted software factory: Building trust in the agentic AI era

    What’s up next?

    Download the OpenShift command-line essentials cheat sheet for developers to discover the most useful commands for working with the oc CLI.

    Get the cheat sheet
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.