<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Krkn-Chaos on Krkn</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/</link><description>Recent content in Krkn-Chaos on Krkn</description><generator>Hugo</generator><language>en</language><atom:link href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>What is krkn-hub?</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/krkn-hub/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/krkn-hub/</guid><description>&lt;p>Hosts container images and wrapper for running scenarios supported by Krkn, 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="getting-started">
 Getting Started
 &lt;a class="td-heading-self-link" href="#getting-started" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>Checkout how to clone the repo and get started using &lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/getting-started/#krkn-hub">this documentation page&lt;/a>&lt;/p></description></item><item><title>Performance Dashboards</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/performance_dashboards/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/performance_dashboards/</guid><description>&lt;h2 id="performance-dashboards">
 Performance dashboards
 &lt;a class="td-heading-self-link" href="#performance-dashboards" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;p>Krkn-chaos repository collection gives you a way to install a grafana on the cluster with dashboards loaded to help with monitoring the cluster for things like resource usage to find the outliers, API stats, Etcd health, Critical alerts etc. As well as specific metrics related to your krkn runs if elasticsearch is enabled.&lt;/p>
&lt;p>&lt;a href="https://github.com/krkn-chaos/visualize">https://github.com/krkn-chaos/visualize&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/visualize
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> krkn-visualize
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">./deploy.sh 
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">OR 
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">./deploy.sh -c oc &lt;span class="c1"># openshift installation&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The dashboards can be edited/modified to include your queries of interest by logging in as the admin user. New dasbhoards can be imported using the import script and following directions defined &lt;a href="https://github.com/krkn-chaos/visualize?tab=readme-ov-file#adding-a-new-dashboard">here&lt;/a>&lt;/p></description></item><item><title>Chaos Recommendation Tool</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/chaos-recommender/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/chaos-recommender/</guid><description>&lt;p>This tool, designed for Kraken, operates through the command line and offers recommendations for chaos testing. It suggests probable chaos test cases that can disrupt application services by analyzing their behavior and assessing their susceptibility to specific fault types.&lt;/p>
&lt;p>This tool profiles an application and gathers telemetry data such as CPU, Memory, and Network usage, analyzing it to suggest probable chaos scenarios. For optimal results, it is recommended to activate the utility while the application is under load.&lt;/p></description></item><item><title>Krkn Debugging Tips</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/debugging/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/debugging/</guid><description>&lt;h1 id="common-debugging-issues">
 Common Debugging Issues
 &lt;a class="td-heading-self-link" href="#common-debugging-issues" aria-label="Heading self-link">&lt;/a>
&lt;/h1>
&lt;h2 id="ssl-certification">
 SSL Certification
 &lt;a class="td-heading-self-link" href="#ssl-certification" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;h3 id="error">
 Error
 &lt;a class="td-heading-self-link" href="#error" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&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">...
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">urllib3.exceptions.MaxRetryError: HTTPSConnectionPool&lt;span class="o">(&lt;/span>&lt;span class="nv">host&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s1">&amp;#39;api.***.io&amp;#39;&lt;/span>, &lt;span class="nv">port&lt;/span>&lt;span class="o">=&lt;/span>6443&lt;span class="o">)&lt;/span>: Max retries exceeded with url: /apis/config.openshift.io/v1/clusterversions &lt;span class="o">(&lt;/span>Caused by SSLError&lt;span class="o">(&lt;/span>SSLCertVerificationError&lt;span class="o">(&lt;/span>1, &lt;span class="s1">&amp;#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1147)&amp;#39;&lt;/span>&lt;span class="o">)))&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="fix">
 Fix
 &lt;a class="td-heading-self-link" href="#fix" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>The user needs to have tls verification by logging in using&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">$ oc login &lt;span class="o">[&lt;/span>-u&lt;span class="o">=&lt;/span>&amp;lt;username&amp;gt;&lt;span class="o">]&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> &lt;span class="o">[&lt;/span>-p&lt;span class="o">=&lt;/span>&amp;lt;password&amp;gt;&lt;span class="o">]&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> &lt;span class="o">[&lt;/span>-s&lt;span class="o">=&lt;/span>&amp;lt;server&amp;gt;&lt;span class="o">]&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> &lt;span class="o">[&lt;/span>-n&lt;span class="o">=&lt;/span>&amp;lt;project&amp;gt;&lt;span class="o">]&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> --insecure-skip-tls-verify
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Also verify &lt;code>insecure-skip-tls-verify: true&lt;/code> is in the kubeconfig:&lt;/p></description></item><item><title>Security self-assessment</title><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/</guid><description>&lt;h1 id="krkn-security-self-assessment">
 Krkn Security Self-Assessment
 &lt;a class="td-heading-self-link" href="#krkn-security-self-assessment" aria-label="Heading self-link">&lt;/a>
&lt;/h1>
&lt;p>Security reviewers: Tullio Sebastiani, Paige Patton, Naga Ravi Elluri&lt;/p>
&lt;p>This document is intended to aid in roadmapping, and the onboarding of new maintainers.&lt;/p>
&lt;h2 id="table-of-contents">
 Table of Contents
 &lt;a class="td-heading-self-link" href="#table-of-contents" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#metadata">Metadata&lt;/a>
&lt;ul>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#security-links">Security links&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#overview">Overview&lt;/a>
&lt;ul>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#background">Background&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#actors">Actors&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#actions">Actions&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#goals">Goals&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#non-goals">Non-goals&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#self-assessment-use">Self-assessment use&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#security-functions-and-features">Security functions and features&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#project-compliance">Project compliance&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#secure-development-practices">Secure development practices&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#security-issue-resolution">Security issue resolution&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://deploy-preview-247--krkn-chaos.netlify.app/docs/security/#appendix">Appendix&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="metadata">
 Metadata
 &lt;a class="td-heading-self-link" href="#metadata" aria-label="Heading self-link">&lt;/a>
&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>&lt;/th>
 &lt;th>&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Software&lt;/td>
 &lt;td>&lt;a href="https://github.com/krkn-chaos/krkn">https://github.com/krkn-chaos/krkn&lt;/a> &lt;/br> &lt;a href="https://github.com/krkn-chaos/krkn-lib">https://github.com/krkn-chaos/krkn-lib&lt;/a> &lt;/br> &lt;a href="https://github.com/krkn-chaos/krkn-hub">https://github.com/krkn-chaos/krkn-hub&lt;/a> &lt;/br> &lt;a href="https://github.com/krkn-chaos/krknctl">https://github.com/krkn-chaos/krknctl&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Security Provider?&lt;/td>
 &lt;td>No. Krkn is designed to measure application or cluster resilience injecting controlled resource disruptions, but it should not be considered a security provider.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Languages&lt;/td>
 &lt;td>Python, Go, Bash&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Software Bill of Materials&lt;/td>
 &lt;td>🔹 Krkn : &lt;a href="https://github.com/krkn-chaos/krkn/releases/latest/download/sbom.json">https://github.com/krkn-chaos/krkn/releases/latest/download/sbom.json&lt;/a> &lt;/br> 🔹 krkn-lib : &lt;a href="https://github.com/krkn-chaos/krkn-lib/releases/latest/download/sbom.json">https://github.com/krkn-chaos/krkn-lib/releases/latest/download/sbom.json&lt;/a> &lt;/br> 🔹 krknctl : &lt;a href="https://github.com/krkn-chaos/krknctl/releases/latest/download/sbom.json">https://github.com/krkn-chaos/krknctl/releases/latest/download/sbom.json&lt;/a> &lt;/br>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Security Links&lt;/td>
 &lt;td>Known Weakness. Creation of a security-insights.yml should be added to the roadmap.&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&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>krkn is a chaos and resiliency testing tool for Kubernetes. Krkn injects deliberate failures into Kubernetes clusters to check if it is resilient to turbulent conditions.&lt;/p></description></item><item><title/><link>https://deploy-preview-247--krkn-chaos.netlify.app/docs/managedcluster_scenarios/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-247--krkn-chaos.netlify.app/docs/managedcluster_scenarios/</guid><description>&lt;h3 id="managedcluster-scenarios">
 ManagedCluster Scenarios
 &lt;a class="td-heading-self-link" href="#managedcluster-scenarios" aria-label="Heading self-link">&lt;/a>
&lt;/h3>
&lt;p>&lt;a href="https://open-cluster-management.io/concepts/managedcluster/">ManagedCluster&lt;/a> scenarios provide a way to integrate kraken with &lt;a href="https://open-cluster-management.io/">Open Cluster Management (OCM)&lt;/a> and &lt;a href="https://www.redhat.com/en/technologies/management/advanced-cluster-management">Red Hat Advanced Cluster Management for Kubernetes (ACM)&lt;/a>.&lt;/p>
&lt;p>ManagedCluster scenarios leverage &lt;a href="https://open-cluster-management.io/concepts/manifestwork/">ManifestWorks&lt;/a> to inject faults into the ManagedClusters.&lt;/p>
&lt;p>The following ManagedCluster chaos scenarios are supported:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>managedcluster_start_scenario&lt;/strong>: Scenario to start the ManagedCluster instance.&lt;/li>
&lt;li>&lt;strong>managedcluster_stop_scenario&lt;/strong>: Scenario to stop the ManagedCluster instance.&lt;/li>
&lt;li>&lt;strong>managedcluster_stop_start_scenario&lt;/strong>: Scenario to stop and then start the ManagedCluster instance.&lt;/li>
&lt;li>&lt;strong>start_klusterlet_scenario&lt;/strong>: Scenario to start the klusterlet of the ManagedCluster instance.&lt;/li>
&lt;li>&lt;strong>stop_klusterlet_scenario&lt;/strong>: Scenario to stop the klusterlet of the ManagedCluster instance.&lt;/li>
&lt;li>&lt;strong>stop_start_klusterlet_scenario&lt;/strong>: Scenario to stop and start the klusterlet of the ManagedCluster instance.&lt;/li>
&lt;/ol>
&lt;p>ManagedCluster scenarios can be injected by placing the ManagedCluster scenarios config files under &lt;code>managedcluster_scenarios&lt;/code> option in the Kraken config. Refer to &lt;a href="https://github.com/redhat-chaos/krkn/blob/main/scenarios/kube/managedcluster_scenarios_example.yml">managedcluster_scenarios_example&lt;/a> config file.&lt;/p></description></item></channel></rss>