<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pod Scenarios on Krkn</title><link>https://deploy-preview-474--krkn-chaos.netlify.app/docs/scenarios/pod-scenario/</link><description>Recent content in Pod Scenarios on Krkn</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 17 May 2026 20:19:06 +0530</lastBuildDate><atom:link href="https://deploy-preview-474--krkn-chaos.netlify.app/docs/scenarios/pod-scenario/index.xml" rel="self" type="application/rss+xml"/><item><title>Pod Scenarios using krknctl</title><link>https://deploy-preview-474--krkn-chaos.netlify.app/docs/scenarios/pod-scenario/pod-scenarios-krknctl/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-474--krkn-chaos.netlify.app/docs/scenarios/pod-scenario/pod-scenarios-krknctl/</guid><description>&lt;h2 id="overview">
 Overview
 &lt;a class="td-heading-self-link" href="#overview" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>This page summarizes the &lt;code>krknctl&lt;/code> form of the Pod Scenarios run command.&lt;/p>
&lt;p>For the full pod scenario overview, see the &lt;a href="https://deploy-preview-474--krkn-chaos.netlify.app/docs/scenarios/pod-scenario/">Pod Scenarios&lt;/a> page.&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 run pod-scenarios &lt;span class="o">[&lt;/span>--&amp;lt;parameter&amp;gt;:&amp;lt;value&amp;gt;&lt;span class="o">]&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Use this command to run a pod disruption scenario. Pass the optional flags below to target specific pods and control how the run behaves. Global &lt;code>krknctl&lt;/code> flags are listed &lt;a href="https://deploy-preview-474--krkn-chaos.netlify.app/docs/scenarios/all-scenario-env-krknctl/">here&lt;/a>.&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Parameter&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;th>Type&lt;/th>
 &lt;th>Required&lt;/th>
 &lt;th>Default&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>--namespace&lt;/code>&lt;/td>
 &lt;td>Namespace to target. Supports regex.&lt;/td>
 &lt;td>string&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>openshift-*&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--pod-label&lt;/code>&lt;/td>
 &lt;td>Label selector for the pods to target, for example &lt;code>app=test&lt;/code>.&lt;/td>
 &lt;td>string&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>-&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--exclude-label&lt;/code>&lt;/td>
 &lt;td>Pods matching this label are excluded from the run, even if they match other criteria.&lt;/td>
 &lt;td>string&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>&amp;quot;&amp;quot;&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--name-pattern&lt;/code>&lt;/td>
 &lt;td>Regex pattern to match pods in the namespace when &lt;code>--pod-label&lt;/code> is not set.&lt;/td>
 &lt;td>string&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>.*&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--disruption-count&lt;/code>&lt;/td>
 &lt;td>Number of pods to disrupt.&lt;/td>
 &lt;td>number&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>1&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--kill-timeout&lt;/code>&lt;/td>
 &lt;td>Seconds to wait for the target pod(s) to be removed.&lt;/td>
 &lt;td>number&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>180&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--expected-recovery-time&lt;/code>&lt;/td>
 &lt;td>Seconds to wait for disrupted pods to recover before the scenario fails.&lt;/td>
 &lt;td>number&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>120&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--node-label-selector&lt;/code>&lt;/td>
 &lt;td>Label selector for the nodes that host the target pods.&lt;/td>
 &lt;td>string&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>&amp;quot;&amp;quot;&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--node-names&lt;/code>&lt;/td>
 &lt;td>Explicit node names to target. Example: &lt;code>[&amp;quot;worker-node-1&amp;quot;,&amp;quot;worker-node-2&amp;quot;]&lt;/code>.&lt;/td>
 &lt;td>string&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;code>[]&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h4 id="behavior-notes">
 Behavior Notes
 &lt;a class="td-heading-self-link" href="#behavior-notes" aria-label="Heading self-link">&lt;/a>
&lt;/h4>
&lt;ul>
&lt;li>Pods are selected from the namespace and pod filters first, then filtered by node selectors.&lt;/li>
&lt;li>The scenario fails if the disrupted pods do not recover within &lt;code>--expected-recovery-time&lt;/code> seconds.&lt;/li>
&lt;/ul>
&lt;p>To see the full CLI help:&lt;/p></description></item></channel></rss>