<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation on Krkn</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/</link><description>Recent content in Installation on Krkn</description><generator>Hugo</generator><language>en</language><atom:link href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/index.xml" rel="self" type="application/rss+xml"/><item><title>Krkn</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn/</link><pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn/</guid><description>&lt;h2 id="installation">
 Installation
 &lt;a class="td-heading-self-link" href="#installation" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;h3 id="clone-the-repository">
 Clone the Repository
 &lt;a class="td-heading-self-link" href="#clone-the-repository" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>To clone and use the latest krkn version follow the directions below. If you&amp;rsquo;re wanting to contribute back to krkn in anyway in the future we recommend &lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn/#fork-and-clone-the-repository">forking the repository&lt;/a> first before cloning.&lt;/p>
&lt;p>See the latest release version &lt;a href="https://github.com/krkn-chaos/krkn/releases">here&lt;/a>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">$ git clone https://github.com/krkn-chaos/krkn.git --branch &amp;lt;release version&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">$ &lt;span class="nb">cd&lt;/span> krkn
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="fork-and-clone-the-repository">
 Fork and Clone the Repository
 &lt;a class="td-heading-self-link" href="#fork-and-clone-the-repository" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>Fork the repository&lt;/p></description></item><item><title>krkn-hub</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-hub/</link><pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-hub/</guid><description>&lt;!-- 

&lt;div class="pageinfo pageinfo-primary">
&lt;p>Krkn-hub aka kraken-hub&lt;/p>

&lt;/div>
 -->
&lt;p>Hosts container images and wrapper for running scenarios supported by &lt;a href="https://github.com/krkn-chaos/krkn/">Krkn&lt;/a>, a chaos testing tool for Kubernetes clusters to ensure it is resilient to failures. All we need to do is run the containers with the respective environment variables defined as supported by the scenarios without having to maintain and tweak files!&lt;/p>
&lt;h2 id="set-up">
 Set Up
 &lt;a class="td-heading-self-link" href="#set-up" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>You can use docker or podman to run kraken-hub&lt;/p></description></item><item><title>krknctl</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krknctl/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krknctl/</guid><description>&lt;h2 id="install-krknctl-recommended">
 Install krknctl (Recommended)
 &lt;a class="td-heading-self-link" href="#install-krknctl-recommended" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>Use the official install script as the primary installation method:&lt;/p>
&lt;p>Install using the official script&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">curl -fsSL https://raw.githubusercontent.com/krkn-chaos/krknctl/refs/heads/main/install.sh &lt;span class="p">|&lt;/span> bash
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Verify installation:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">krknctl --version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="alternative-installation-methods">
 Alternative installation methods
 &lt;a class="td-heading-self-link" href="#alternative-installation-methods" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;h3 id="binary-distribution">
 Binary distribution
 &lt;a class="td-heading-self-link" href="#binary-distribution" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>The krknctl binary is available for download from &lt;a href="https://github.com/krkn-chaos/krknctl/releases/latest">GitHub releases&lt;/a> for supported operating systems and architectures. Extract the tarball and add the binary to your &lt;code>$PATH&lt;/code>.&lt;/p>
&lt;h3 id="build-from-source">
 Build from source
 &lt;a class="td-heading-self-link" href="#build-from-source" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;h4 id="fork-and-clone-the-repository">
 Fork and clone the repository
 &lt;a class="td-heading-self-link" href="#fork-and-clone-the-repository" aria-label="Heading self-link">&lt;/a>
&lt;/h4>
&lt;p>Fork the repository:&lt;/p></description></item><item><title>Setting Up Disconnected Enviornment</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/disconnected-env/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/disconnected-env/</guid><description>&lt;h2 id="getting-started-running-chaos-scenarios-in-a-disconnected-enviornment">
 Getting Started Running Chaos Scenarios in a Disconnected Enviornment
 &lt;a class="td-heading-self-link" href="#getting-started-running-chaos-scenarios-in-a-disconnected-enviornment" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;h3 id="mirror-following-images-on-the-bastion-host">
 Mirror following images on the bastion host
 &lt;a class="td-heading-self-link" href="#mirror-following-images-on-the-bastion-host" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:node-scenarios-bm&lt;/strong> - Master/worker node disruptions on baremetal&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:network-chaos&lt;/strong> - Network disruptions/traffic shaping&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:pod-scenarios&lt;/strong> - Pod level disruptions and evaluating recovery time/availability&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:syn-flood&lt;/strong> - Generates substantial amount of traffic/half open connections targeting a service&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:node-cpu-hog&lt;/strong> - Hogs CPU on the target nodes&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:node-io-hog&lt;/strong> - Hogs IO on the target nodes&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:node-memory-hog&lt;/strong> - Hogs memory on the target nodes&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:pvc-scenarios&lt;/strong> - Fills up a given PersistentVolumeClaim&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:service-hijacking&lt;/strong> - Simulates fake HTTP response for a service&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:power-outages&lt;/strong> - Shuts down the cluster and turns it back on&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:container-scenarios&lt;/strong> - Kills a container via provided kill signal&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:application-outages&lt;/strong> - Isolates application Ingress/Egress traffic&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:time-scenarios&lt;/strong> - Tweaks time/date on the nodes&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:pod-network-chaos&lt;/strong> - Introduces network chaos at pod level&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:node-network-filter&lt;/strong> - Node ip traffic filtering&lt;/li>
&lt;li>&lt;strong>quay.io/krkn-chaos/krkn-hub:pod-network-filter&lt;/strong> - DNS, internal/external service outages&lt;/li>
&lt;/ul>
&lt;h3 id="will-also-need-these-mirrored-images-inside-the-cluster">
 Will also need these mirrored images inside the cluster
 &lt;a class="td-heading-self-link" href="#will-also-need-these-mirrored-images-inside-the-cluster" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Network disruptions - &lt;strong>quay.io/krkn-chaos/krkn:tools&lt;/strong>&lt;/li>
&lt;li>Hog scenarios ( CPU, Memory and IO ) - &lt;strong>quay.io/krkn-chaos/krkn-hog&lt;/strong>&lt;/li>
&lt;li>SYN flood - &lt;strong>quay.io/krkn-chaos/krkn-syn-flood:latest&lt;/strong>&lt;/li>
&lt;li>Pod network filter scenarios - &lt;strong>quay.io/krkn-chaos/krkn-network-chaos:latest&lt;/strong>&lt;/li>
&lt;li>Service hijacking scenarios - &lt;strong>quay.io/krkn-chaos/krkn-service-hijacking:v0.1.3&lt;/strong>&lt;/li>
&lt;/ul>
&lt;h2 id="how-to-mirror">
 How to Mirror
 &lt;a class="td-heading-self-link" href="#how-to-mirror" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>The strategy is simple:&lt;/p></description></item><item><title>Krkn-AI</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-ai/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-ai/</guid><description>&lt;h2 id="installation">
 Installation
 &lt;a class="td-heading-self-link" href="#installation" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;h3 id="prerequisites">
 Prerequisites
 &lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Python 3.11+&lt;/li>
&lt;li>Podman or Docker Container Runtime&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krknctl/">krknctl&lt;/a>&lt;/li>
&lt;li>&lt;code>uv&lt;/code> package manager (recommended) or &lt;code>pip&lt;/code>&lt;/li>
&lt;/ul>
&lt;h3 id="clone-the-repository">
 Clone the Repository
 &lt;a class="td-heading-self-link" href="#clone-the-repository" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>To clone and use the latest krkn version follow the directions below. If you&amp;rsquo;re wanting to contribute back to Krkn-AI in anyway in the future we recommend &lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-ai/#fork-and-clone-the-repository">forking the repository&lt;/a> first before cloning.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">$ git clone https://github.com/krkn-chaos/krkn-ai.git
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">$ &lt;span class="nb">cd&lt;/span> krkn-ai
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="fork-and-clone-the-repository">
 Fork and Clone the Repository
 &lt;a class="td-heading-self-link" href="#fork-and-clone-the-repository" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>Fork the repository&lt;/p></description></item><item><title>Krkn Dashboard</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-dashboard/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/installation/krkn-dashboard/</guid><description>&lt;p>The Krkn Dashboard is a web UI for running and observing Krkn chaos scenarios. You can run it &lt;strong>locally&lt;/strong> (Node.js on your machine) or &lt;strong>containerized&lt;/strong> (Podman/Docker).&lt;/p>
&lt;hr>
&lt;h2 id="prerequisites-both-methods">
 Prerequisites (both methods)
 &lt;a class="td-heading-self-link" href="#prerequisites-both-methods" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Kubernetes cluster&lt;/strong> — You need a cluster and a kubeconfig so that the dashboard can target it for chaos runs. If you don&amp;rsquo;t have one, see &lt;a href="https://kubernetes.io/docs/setup/">Kubernetes&lt;/a>, &lt;a href="https://minikube.sigs.k8s.io/docs/start/">minikube&lt;/a>, &lt;a href="https://rancher.com/docs/k3s/latest/en/quick-start/">K3s&lt;/a>, or &lt;a href="https://docs.openshift.com/container-platform/latest/welcome/index.html">OpenShift&lt;/a>.&lt;/li>
&lt;li>&lt;strong>Podman or Docker&lt;/strong> — The dashboard starts chaos runs by launching krkn-hub containers; the host must have Podman (or Docker) installed and available.&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="local-installation">
 Local installation
 &lt;a class="td-heading-self-link" href="#local-installation" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>Run the dashboard on your machine with Node.js.&lt;/p></description></item></channel></rss>