<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>kwatch Blog</title>
        <link>https://kwatch.dev/blog</link>
        <description>kwatch Blog</description>
        <lastBuildDate>Tue, 14 Mar 2023 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[Monitor Persistent Volumes in your cluster using kwatch]]></title>
            <link>https://kwatch.dev/blog/monitor-pvc-usage</link>
            <guid>https://kwatch.dev/blog/monitor-pvc-usage</guid>
            <pubDate>Tue, 14 Mar 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[monitor Persistent Volumes (PV) usage in your cluster using kwatch]]></description>
            <content:encoded><![CDATA[<p>In this tutorial, I will help you set up and deploy kwatch on your Kubernetes
cluster to monitor Persistent Volumes (PV) usage and detect crashes in your running apps.</p>
<p>Plus, integrate with Teams to get notified on a channel when volume usage is higher than a threshold.</p>
<p>You can integrate with your favorite channel as
<a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">kwatch</a> supports integrations with (Slack,
Discord, Email, PagerDuty, Telegram, Rocket Chat, Mattermost, Opsgenie, Matrix,
DingTalk, FeiShu, And Custom webhook).</p>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="configure-kwatch-with-teams">Configure kwatch with Teams<a href="https://kwatch.dev/blog/monitor-pvc-usage#configure-kwatch-with-teams" class="hash-link" aria-label="Direct link to Configure kwatch with Teams" title="Direct link to Configure kwatch with Teams">​</a></h3>
<p><strong>Step 1: Get webhook</strong></p>
<p>First of all, we need to get the webhook URL of the channel you want the notification to be received on it.
(<a href="https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=dotnet#create-incoming-webhooks-1" target="_blank" rel="noopener noreferrer">Here</a>
is how to get it)</p>
<p><strong>Step 2: Get Configuration</strong></p>
<p>Get the configuration template</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">curl  -L https://raw.githubusercontent.com/abahmed/kwatch/v0.10.5/deploy/config.yaml -o config.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p><strong>Step 3: Edit config.yaml with the corresponding config</strong></p>
<div class="language-yaml codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-yaml codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">apiVersion</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> v1</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">kind</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> Namespace</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">metadata</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">---</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">apiVersion</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> v1</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">kind</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> ConfigMap</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">metadata</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">namespace</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">data</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">config.yaml</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">|</span><span class="token scalar string" style="color:#e3116c"></span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">    alert:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">      teams:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">        webhook: WEBHOOK_URL</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">    pvcMonitor:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">      enabled: true</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">      interval: 5</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">      threshold: 70</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p>For more configurations check <a href="https://kwatch.dev/docs/pvc-monitor-configuration" target="_blank" rel="noopener noreferrer">here</a></p>
<p><strong>Step 4: Apply Configuration</strong></p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f config.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="deploy-kwatch">Deploy kwatch<a href="https://kwatch.dev/blog/monitor-pvc-usage#deploy-kwatch" class="hash-link" aria-label="Direct link to Deploy kwatch" title="Direct link to Deploy kwatch">​</a></h3>
<p>Deploy kwatch on your cluster with one command</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.10.5/deploy/deploy.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p>After deploying you will get notified on the channel that kwatch has started
successfully. Now, kwatch is monitoring your volumes and apps!</p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-pvc/1.png"></p>
<p>Here is an example of kwatch messages when volume usage exceeds the threshold</p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-pvc/2.png"></p>
<p><em>We are happy to hear feedback from you and if you have any request, or suggestion don't hesitate to ping us on our channels (<a href="https://discord.gg/kzJszdKmJ7" target="_blank" rel="noopener noreferrer">Discord</a>, <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a>)</em></p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>monitoring</category>
            <category>pvc</category>
        </item>
        <item>
            <title><![CDATA[kwatch hits +100k downloads 🚀]]></title>
            <link>https://kwatch.dev/blog/kwatch-hits-100k-downloads</link>
            <guid>https://kwatch.dev/blog/kwatch-hits-100k-downloads</guid>
            <pubDate>Sun, 24 Jul 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[kwatch hits +100k downloads]]></description>
            <content:encoded><![CDATA[<p><strong>We are glad to announce that <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">kwatch</a> hit <a href="https://github.com/abahmed/kwatch/pkgs/container/kwatch" target="_blank" rel="noopener noreferrer">+100k downloads</a> 🚀 since its release!</strong></p>
<p><strong>kwatch</strong> helps you monitor all changes in your Kubernetes(K8s) cluster, detects crashes in your running apps in realtime, and publishes notifications to your channels (Slack, Discord, etc.) instantly</p>
<p>First of all, Big thanks to our <strong>contributors</strong> for their contributions to improving and implementing new features in kwatch</p>
<a href="https://github.com/abahmed/kwatch/graphs/contributors"><img src="https://contributors-img.firebaseapp.com/image?repo=abahmed/kwatch"></a>
<br>
<br>
<p>Also, we want to thank <strong>our users</strong> who rely on kwatch for monitoring and detecting crashes in their clusters.</p>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="-next-steps">🎯 Next steps<a href="https://kwatch.dev/blog/kwatch-hits-100k-downloads#-next-steps" class="hash-link" aria-label="Direct link to 🎯 Next steps" title="Direct link to 🎯 Next steps">​</a></h3>
<p>Currently, we are working on preparing a clear roadmap for kwatch, and <strong>open issues/requests</strong> will be taken into consideration as your requests have a higher priority.</p>
<p><strong>If you have suggestions, requests, or feedback, don't hesitate to ping us on any of our channels</strong></p>
<ul>
<li><a href="https://discord.gg/kzJszdKmJ7" target="_blank" rel="noopener noreferrer">Discord</a></li>
<li><a href="mailto:hello@kwatch.dev" target="_blank" rel="noopener noreferrer">Email</a></li>
<li><a href="https://github.com/abahmed/kwatch/issues" target="_blank" rel="noopener noreferrer">Github</a></li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="️-contributing-to-kwatch">✏️ Contributing to kwatch<a href="https://kwatch.dev/blog/kwatch-hits-100k-downloads#%EF%B8%8F-contributing-to-kwatch" class="hash-link" aria-label="Direct link to ✏️ Contributing to kwatch" title="Direct link to ✏️ Contributing to kwatch">​</a></h3>
<p>Anyone can contribute to kwatch! newcomers are always welcome to contribute to kwatch, and we are happy to offer help to newcomers</p>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="there-are-many-ways-to-contribute">There are many ways to contribute<a href="https://kwatch.dev/blog/kwatch-hits-100k-downloads#there-are-many-ways-to-contribute" class="hash-link" aria-label="Direct link to There are many ways to contribute" title="Direct link to There are many ways to contribute">​</a></h4>
<ul>
<li><a href="https://github.com/abahmed/kwatch/issues" target="_blank" rel="noopener noreferrer">Suggest new features to be implemented</a></li>
<li><a href="https://github.com/abahmed/kwatch/issues" target="_blank" rel="noopener noreferrer">Report issues</a></li>
<li><a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">Improve Documentation</a></li>
<li><a href="https://github.com/abahmed/kwatch/issues" target="_blank" rel="noopener noreferrer">Fix issues</a></li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="-articles-mentioning-kwatch">📎 Articles mentioning kwatch<a href="https://kwatch.dev/blog/kwatch-hits-100k-downloads#-articles-mentioning-kwatch" class="hash-link" aria-label="Direct link to 📎 Articles mentioning kwatch" title="Direct link to 📎 Articles mentioning kwatch">​</a></h3>
<ul>
<li><a href="https://www.x-cellent.com/posts/migrating-docker-based-services-to-kubernetes" target="_blank" rel="noopener noreferrer">https://www.x-cellent.com/posts/migrating-docker-based-services-to-kubernetes</a></li>
<li><a href="https://blog.stephane-robert.info/post/kubernetes-kwatch-alert-slack-teams/" target="_blank" rel="noopener noreferrer">https://blog.stephane-robert.info/post/kubernetes-kwatch-alert-slack-teams/</a></li>
<li><a href="https://www.reddit.com/r/kubernetes/comments/rr24md/new_devops_engineer_looking_for_advice_for/" target="_blank" rel="noopener noreferrer">https://www.reddit.com/r/kubernetes/comments/rr24md/new_devops_engineer_looking_for_advice_for/</a></li>
<li><a href="https://faun.dev/c/stories/andrew44ashraf/detect-crashes-in-your-kubernetes-cluster-using-kwatch-and-slack/" target="_blank" rel="noopener noreferrer">https://faun.dev/c/stories/andrew44ashraf/detect-crashes-in-your-kubernetes-cluster-using-kwatch-and-slack/</a></li>
<li><a href="https://learncloudnative.com/blog/2022-01-25-kwatch-pagerduty" target="_blank" rel="noopener noreferrer">https://learncloudnative.com/blog/2022-01-25-kwatch-pagerduty</a></li>
<li><a href="https://medium.com/@andrewachraf/detect-crashes-in-your-cluster-using-kwatch-an-slack-84b979e93e03" target="_blank" rel="noopener noreferrer">https://medium.com/@andrewachraf/detect-crashes-in-your-cluster-using-kwatch-an-slack-84b979e93e03</a></li>
<li><a href="https://dev.to/amgadramses/detect-crashes-in-your-kubernetes-cluster-using-kwatch-and-pagerduty-6p8" target="_blank" rel="noopener noreferrer">https://dev.to/amgadramses/detect-crashes-in-your-kubernetes-cluster-using-kwatch-and-pagerduty-6p8</a></li>
<li><a href="https://www.scien.cx/2022/01/23/detect-crashes-in-your-kubernetes-cluster-using-kwatch-and-pagerduty/" target="_blank" rel="noopener noreferrer">https://www.scien.cx/2022/01/23/detect-crashes-in-your-kubernetes-cluster-using-kwatch-and-pagerduty/</a></li>
<li><a href="https://twitter.com/DoKcommunity/status/1493222788177571841" target="_blank" rel="noopener noreferrer">https://twitter.com/DoKcommunity/status/1493222788177571841</a></li>
<li><a href="https://twitter.com/learnk8s/status/1508217580837814277" target="_blank" rel="noopener noreferrer">https://twitter.com/learnk8s/status/1508217580837814277</a></li>
</ul>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>docker</category>
            <category>downloads</category>
            <category>100k</category>
        </item>
        <item>
            <title><![CDATA[v0.6.0 is released!]]></title>
            <link>https://kwatch.dev/blog/release-v0-6-0</link>
            <guid>https://kwatch.dev/blog/release-v0-6-0</guid>
            <pubDate>Sun, 24 Jul 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[monitor all changes in your Kubernetes cluster & detects crashes in your running apps in real time]]></description>
            <content:encoded><![CDATA[<p>We are glad to announce that <a href="https://github.com/abahmed/kwatch/releases/tag/v0.6.0" target="_blank" rel="noopener noreferrer">v0.6.0</a> of kwatch is released! <!-- -->🎉<!-- -->🎉<!-- -->🎉</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-whats-new">🚀 What's New<a href="https://kwatch.dev/blog/release-v0-6-0#-whats-new" class="hash-link" aria-label="Direct link to 🚀 What's New" title="Direct link to 🚀 What's New">​</a></h2>
<ul>
<li>Allow filtering by reasons by @simonfrey in #104</li>
<li>feat: truncate logs to respect Discord's API requirements by @Tchoupinax in #105</li>
<li>Fix copy-paste mistake for reasons parsing by @simonfrey in #110</li>
<li>Run in a namespace context by @kdihalas in #115</li>
<li>Fix typo by @unixfox in #95</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-maintenance">🧰 Maintenance<a href="https://kwatch.dev/blog/release-v0-6-0#-maintenance" class="hash-link" aria-label="Direct link to 🧰 Maintenance" title="Direct link to 🧰 Maintenance">​</a></h2>
<ul>
<li>Improve Documentation by @oguzhanoyan in #87</li>
<li>Refactor/helm by @eremeevfd in #88</li>
<li>⬆️ Bump github.com/spf13/viper from 1.10.1 to 1.11.0 by @dependabot in #89</li>
<li>⬆️ Bump github.com/bwmarrin/discordgo from 0.24.0 to 0.25.0 by @dependabot in #90</li>
<li>⬆️ Bump k8s.io/client-go from 0.23.5 to 0.23.6 by @dependabot in #93</li>
<li>⬆️ Bump github.com/slack-go/slack from 0.10.2 to 0.10.3 by @dependabot in #94</li>
<li>⬆️ Bump k8s.io/client-go from 0.23.6 to 0.24.0 by @dependabot in #96</li>
<li>⬆️ Bump k8s.io/client-go from 0.24.0 to 0.24.1 by @dependabot in #99</li>
<li>⬆️ Bump github.com/spf13/viper from 1.11.0 to 1.12.0 by @dependabot in #102</li>
<li>⬆️ Bump github.com/slack-go/slack from 0.10.3 to 0.11.0 by @dependabot in #106</li>
<li>⬆️ Bump k8s.io/client-go from 0.24.1 to 0.24.2 by @dependabot in #107</li>
<li>⬆️ Bump k8s.io/client-go from 0.24.2 to 0.24.3 by @dependabot in #114</li>
<li>⬆️ Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 by @dependabot in #116</li>
<li>⬆️ Bump github.com/slack-go/slack from 0.11.0 to 0.11.1 by @dependabot in #117</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="️-how-to-upgrade">⬆️ How to Upgrade<a href="https://kwatch.dev/blog/release-v0-6-0#%EF%B8%8F-how-to-upgrade" class="hash-link" aria-label="Direct link to ⬆️ How to Upgrade" title="Direct link to ⬆️ How to Upgrade">​</a></h2>
<p>There are no breaking changes, just deploy the new version from any previous version using</p>
<div class="language-shell codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-shell codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.6.0/deploy/deploy.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-new-contributors">🌟 New Contributors<a href="https://kwatch.dev/blog/release-v0-6-0#-new-contributors" class="hash-link" aria-label="Direct link to 🌟 New Contributors" title="Direct link to 🌟 New Contributors">​</a></h2>
<ul>
<li><a href="https://github.com/oguzhanoyan" target="_blank" rel="noopener noreferrer">@oguzhanoyan</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/87" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/87</a></li>
<li><a href="https://github.com/eremeevfd" target="_blank" rel="noopener noreferrer">@eremeevfd</a>made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/88" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/88</a></li>
<li><a href="https://github.com/unixfox" target="_blank" rel="noopener noreferrer">@unixfox</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/95" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/95</a></li>
<li><a href="https://github.com/Tchoupinax" target="_blank" rel="noopener noreferrer">@Tchoupinax</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/105" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/105</a></li>
<li><a href="https://github.com/kdihalas" target="_blank" rel="noopener noreferrer">@kdihalas</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/115" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/115</a></li>
</ul>
<p><strong>If you like kwatch, give it a star on <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a>!</strong></p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>devops</category>
            <category>monitoring</category>
            <category>release</category>
        </item>
        <item>
            <title><![CDATA[v0.5.0 is released!]]></title>
            <link>https://kwatch.dev/blog/release-v0-5-0</link>
            <guid>https://kwatch.dev/blog/release-v0-5-0</guid>
            <pubDate>Sat, 19 Mar 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[monitor all changes in your Kubernetes cluster & detects crashes in your running apps in real time]]></description>
            <content:encoded><![CDATA[<p>We are glad to announce that <a href="https://github.com/abahmed/kwatch/releases/tag/v0.5.0" target="_blank" rel="noopener noreferrer">v0.5.0</a> of kwatch is released! <!-- -->🎉<!-- -->🎉<!-- -->🎉</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-whats-new">🚀 What's New<a href="https://kwatch.dev/blog/release-v0-5-0#-whats-new" class="hash-link" aria-label="Direct link to 🚀 What's New" title="Direct link to 🚀 What's New">​</a></h2>
<ul>
<li>Use slack blocks in slack handler by <a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> in <a href="https://github.com/abahmed/kwatch/pull/63" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/63</a></li>
<li>Feature/allow to disable update check by <a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> in <a href="https://github.com/abahmed/kwatch/pull/67" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/67</a></li>
<li>Add namespace forbid list, to allow all namespaces except certain ones by <a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> in <a href="https://github.com/abahmed/kwatch/pull/70" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/70</a></li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-maintenance">🧰 Maintenance<a href="https://kwatch.dev/blog/release-v0-5-0#-maintenance" class="hash-link" aria-label="Direct link to 🧰 Maintenance" title="Direct link to 🧰 Maintenance">​</a></h2>
<ul>
<li>⬆️ Bump github.com/slack-go/slack from 0.10.1 to 0.10.2 by @dependabot in <a href="https://github.com/abahmed/kwatch/pull/69" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/69</a></li>
<li>add(Helm): by @yaskinny in <a href="https://github.com/abahmed/kwatch/pull/74" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/74</a></li>
<li>⬆️ Bump k8s.io/client-go from 0.23.3 to 0.23.4 by @dependabot in <a href="https://github.com/abahmed/kwatch/pull/73" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/73</a></li>
<li>⬆️ Bump github.com/bwmarrin/discordgo from 0.23.2 to 0.24.0 by @dependabot in <a href="https://github.com/abahmed/kwatch/pull/77" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/77</a></li>
<li>⬆️ Bump k8s.io/client-go from 0.23.4 to 0.23.5 by @dependabot in <a href="https://github.com/abahmed/kwatch/pull/80" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/80</a></li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="️-how-to-upgrade">⬆️ How to Upgrade<a href="https://kwatch.dev/blog/release-v0-5-0#%EF%B8%8F-how-to-upgrade" class="hash-link" aria-label="Direct link to ⬆️ How to Upgrade" title="Direct link to ⬆️ How to Upgrade">​</a></h2>
<p>There are no breaking changes, just deploy the new version from any previous version using</p>
<div class="language-shell codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-shell codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.5.0/deploy/deploy.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-new-contributors">🌟 New Contributors<a href="https://kwatch.dev/blog/release-v0-5-0#-new-contributors" class="hash-link" aria-label="Direct link to 🌟 New Contributors" title="Direct link to 🌟 New Contributors">​</a></h2>
<ul>
<li><a href="https://github.com/romualdofernandes" target="_blank" rel="noopener noreferrer">@romualdofernandes</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/45" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/45</a></li>
<li><a href="https://github.com/dependabot" target="_blank" rel="noopener noreferrer">@dependabot</a>made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/46" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/46</a></li>
<li><a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/54" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/54</a></li>
</ul>
<p><strong>If you like kwatch, give it a star on <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a>!</strong></p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>devops</category>
            <category>monitoring</category>
            <category>release</category>
        </item>
        <item>
            <title><![CDATA[v0.4.0 is released!]]></title>
            <link>https://kwatch.dev/blog/release-v0-4-0</link>
            <guid>https://kwatch.dev/blog/release-v0-4-0</guid>
            <pubDate>Wed, 02 Feb 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[monitor all changes in your Kubernetes cluster & detects crashes in your running apps in real time]]></description>
            <content:encoded><![CDATA[<p>We are glad to announce that <a href="https://github.com/abahmed/kwatch/releases/tag/v0.4.0" target="_blank" rel="noopener noreferrer">v0.4.0</a> of kwatch is released! <!-- -->🎉<!-- -->🎉<!-- -->🎉</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-whats-new">🚀 What's New<a href="https://kwatch.dev/blog/release-v0-4-0#-whats-new" class="hash-link" aria-label="Direct link to 🚀 What's New" title="Direct link to 🚀 What's New">​</a></h2>
<ul>
<li>Support Mattermost for alerts by <a href="https://github.com/abahmed" target="_blank" rel="noopener noreferrer">@abahmed</a> in <a href="https://github.com/abahmed/kwatch/pull/53" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/53</a></li>
<li>Support Opsgenie by <a href="https://github.com/abahmed" target="_blank" rel="noopener noreferrer">@abahmed</a> in <a href="https://github.com/abahmed/kwatch/pull/60" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/60</a></li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-bug-fixes">🐛 Bug Fixes<a href="https://kwatch.dev/blog/release-v0-4-0#-bug-fixes" class="hash-link" aria-label="Direct link to 🐛 Bug Fixes" title="Direct link to 🐛 Bug Fixes">​</a></h2>
<ul>
<li>provider/telegram.go: add header content-type json by <a href="https://github.com/romualdofernandes" target="_blank" rel="noopener noreferrer">@romualdofernandes</a> in <a href="https://github.com/abahmed/kwatch/pull/45" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/45</a></li>
<li>Add PodInitializing as ignored reason by <a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> in <a href="https://github.com/abahmed/kwatch/pull/54" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/54</a></li>
<li>Allow to ignore if a container has to forcefully shutdown due to graceful shutdown not working by <a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> in <a href="https://github.com/abahmed/kwatch/pull/58" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/58</a></li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-maintenance">🧰 Maintenance<a href="https://kwatch.dev/blog/release-v0-4-0#-maintenance" class="hash-link" aria-label="Direct link to 🧰 Maintenance" title="Direct link to 🧰 Maintenance">​</a></h2>
<ul>
<li>build(deps): bump k8s.io/apimachinery from 0.23.1 to 0.23.2 by <a href="https://github.com/dependabot" target="_blank" rel="noopener noreferrer">@dependabot</a> in <a href="https://github.com/abahmed/kwatch/pull/46" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/46</a></li>
<li>build(deps): bump k8s.io/api from 0.23.1 to 0.23.2 by <a href="https://github.com/dependabot" target="_blank" rel="noopener noreferrer">@dependabot</a> in <a href="https://github.com/abahmed/kwatch/pull/47" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/47</a></li>
<li>build(deps): bump k8s.io/client-go from 0.23.1 to 0.23.2 by <a href="https://github.com/dependabot" target="_blank" rel="noopener noreferrer">@dependabot</a> in <a href="https://github.com/abahmed/kwatch/pull/48" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/48</a></li>
<li>build(deps): bump k8s.io/client-go from 0.23.2 to 0.23.3 by <a href="https://github.com/dependabot" target="_blank" rel="noopener noreferrer">@dependabot</a> in <a href="https://github.com/abahmed/kwatch/pull/55" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/55</a></li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="️-how-to-upgrade">⬆️ How to Upgrade<a href="https://kwatch.dev/blog/release-v0-4-0#%EF%B8%8F-how-to-upgrade" class="hash-link" aria-label="Direct link to ⬆️ How to Upgrade" title="Direct link to ⬆️ How to Upgrade">​</a></h2>
<p>There are no breaking changes, just deploy the new version from any previous version using</p>
<div class="language-shell codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-shell codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.4.0/deploy/deploy.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="-new-contributors">🌟 New Contributors<a href="https://kwatch.dev/blog/release-v0-4-0#-new-contributors" class="hash-link" aria-label="Direct link to 🌟 New Contributors" title="Direct link to 🌟 New Contributors">​</a></h2>
<ul>
<li><a href="https://github.com/romualdofernandes" target="_blank" rel="noopener noreferrer">@romualdofernandes</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/45" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/45</a></li>
<li><a href="https://github.com/dependabot" target="_blank" rel="noopener noreferrer">@dependabot</a>made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/46" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/46</a></li>
<li><a href="https://github.com/simonfrey" target="_blank" rel="noopener noreferrer">@simonfrey</a> made their first contribution in <a href="https://github.com/abahmed/kwatch/pull/54" target="_blank" rel="noopener noreferrer">https://github.com/abahmed/kwatch/pull/54</a></li>
</ul>
<p><strong>If you like kwatch, give it a star on <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a>!</strong></p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>devops</category>
            <category>monitoring</category>
            <category>release</category>
        </item>
        <item>
            <title><![CDATA[Detect crashes in your Kubernetes cluster using kwatch and PagerDuty]]></title>
            <link>https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty</link>
            <guid>https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty</guid>
            <pubDate>Sat, 22 Jan 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[monitor all changes in your Kubernetes cluster & detects crashes in your running apps in real time with PagerDuty]]></description>
            <content:encoded><![CDATA[<p>In this article you will learn how to setup and deploy kwatch in your Kubernetes (K8s) cluster to monitor and receive real time crash alerts through PagerDuty</p>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="configure-pagerduty">Configure PagerDuty<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#configure-pagerduty" class="hash-link" aria-label="Direct link to Configure PagerDuty" title="Direct link to Configure PagerDuty">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-1-create-a-new-service">Step 1: Create a new service<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-1-create-a-new-service" class="hash-link" aria-label="Direct link to Step 1: Create a new service" title="Direct link to Step 1: Create a new service">​</a></h4>
<p><img decoding="async" loading="lazy" alt="1" src="https://kwatch.dev/assets/images/1-9c4333cc0fafdb8ca4472962c4d95aab.png" width="2878" height="410" class="img_ev3q"></p>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-2-give-your-service-a-name-and-a-description">Step 2: Give your service a Name and a Description<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-2-give-your-service-a-name-and-a-description" class="hash-link" aria-label="Direct link to Step 2: Give your service a Name and a Description" title="Direct link to Step 2: Give your service a Name and a Description">​</a></h4>
<p><img decoding="async" loading="lazy" alt="2" src="https://kwatch.dev/assets/images/2-af79a232a713dac5eb89805c632fa059.png" width="1644" height="1226" class="img_ev3q"></p>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-3-add-an-escalation-policy">Step 3: Add an <a href="https://support.pagerduty.com/docs/escalation-policies" target="_blank" rel="noopener noreferrer">Escalation Policy</a><a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-3-add-an-escalation-policy" class="hash-link" aria-label="Direct link to step-3-add-an-escalation-policy" title="Direct link to step-3-add-an-escalation-policy">​</a></h4>
<p><img decoding="async" loading="lazy" alt="3" src="https://kwatch.dev/assets/images/3-4041d86c0629fc38393f3d5399475385.png" width="1660" height="1124" class="img_ev3q"></p>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-4-make-sure-to-add-the-events-api-v2-integration">Step 4: Make sure to add the <a href="https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI2Nw-send-an-event-to-pager-duty" target="_blank" rel="noopener noreferrer">Events API V2</a> Integration<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-4-make-sure-to-add-the-events-api-v2-integration" class="hash-link" aria-label="Direct link to step-4-make-sure-to-add-the-events-api-v2-integration" title="Direct link to step-4-make-sure-to-add-the-events-api-v2-integration">​</a></h4>
<p><img decoding="async" loading="lazy" alt="4" src="https://kwatch.dev/assets/images/4-0d8dceae2710950fba3658503bbf50a5.png" width="1658" height="1038" class="img_ev3q"></p>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-5-navigate-to-your-service-and-copy-the-integration-key">Step 5: Navigate to your service and copy the Integration Key<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-5-navigate-to-your-service-and-copy-the-integration-key" class="hash-link" aria-label="Direct link to Step 5: Navigate to your service and copy the Integration Key" title="Direct link to Step 5: Navigate to your service and copy the Integration Key">​</a></h4>
<p><img decoding="async" loading="lazy" alt="5" src="https://kwatch.dev/assets/images/5-42b730404406915a6353f61374413d05.png" width="2082" height="1538" class="img_ev3q"></p>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="configure-kwatch">Configure kwatch<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#configure-kwatch" class="hash-link" aria-label="Direct link to Configure kwatch" title="Direct link to Configure kwatch">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-1-get-the-configuration-template">Step 1: Get the configuration template<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-1-get-the-configuration-template" class="hash-link" aria-label="Direct link to Step 1: Get the configuration template" title="Direct link to Step 1: Get the configuration template">​</a></h4>
<div class="language-shell codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-shell codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">curl  -L https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/config.yaml -o config.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-2-edit-configyaml-file-and-add-the-integration-key">Step 2: Edit <code>config.yaml</code> file and add the Integration Key<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-2-edit-configyaml-file-and-add-the-integration-key" class="hash-link" aria-label="Direct link to step-2-edit-configyaml-file-and-add-the-integration-key" title="Direct link to step-2-edit-configyaml-file-and-add-the-integration-key">​</a></h4>
<div class="language-yml codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-yml codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">apiVersion</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> v1</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">kind</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> Namespace</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">metadata</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">---</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">apiVersion</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> v1</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">kind</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> ConfigMap</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">metadata</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">namespace</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">data</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">config.yaml</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">|</span><span class="token scalar string" style="color:#e3116c"></span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">    alert:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">      pagerduty:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">        integrationKey: &lt;integration_key&gt;</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="step-3-apply-the-configuration">Step 3: Apply the configuration<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#step-3-apply-the-configuration" class="hash-link" aria-label="Direct link to Step 3: Apply the configuration" title="Direct link to Step 3: Apply the configuration">​</a></h4>
<div class="language-shell codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-shell codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f config.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="deploy-kwatch">Deploy kwatch<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-pagerduty#deploy-kwatch" class="hash-link" aria-label="Direct link to Deploy kwatch" title="Direct link to Deploy kwatch">​</a></h3>
<div class="language-shell codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-shell codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/deploy.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p><strong>You will now start receiving PagerDuty alerts whenever there is a pod crash in your Kubernetes (K8s) cluster!</strong>
<img decoding="async" loading="lazy" alt="6" src="https://kwatch.dev/assets/images/6-42a7cb133675230bad49be38bb1afb35.png" width="1241" height="800" class="img_ev3q"></p>
<p><em>If you like kwatch, give it a star on <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a></em>!</p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>devops</category>
            <category>monitoring</category>
            <category>pagerduty</category>
        </item>
        <item>
            <title><![CDATA[Detect crashes in your Kubernetes cluster using kwatch and Slack]]></title>
            <link>https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-slack</link>
            <guid>https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-slack</guid>
            <pubDate>Mon, 10 Jan 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[monitor all changes in your Kubernetes cluster & detects crashes in your running apps in real time with Slack]]></description>
            <content:encoded><![CDATA[<h2 class="anchor anchorWithStickyNavbar_LWe7" id="what-is-kwatch">What is kwatch?<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-slack#what-is-kwatch" class="hash-link" aria-label="Direct link to What is kwatch?" title="Direct link to What is kwatch?">​</a></h2>
<p>kwatch is an open-source project that started late in 2021.
It aims to help you monitor all changes in your Kubernetes(K8s) cluster,
detect crashes in your running apps, and publish notifications to your favorite channels (Slack, Discord, etc.) in real-time.</p>
<p><strong>In this tutorial, I will help you setup and deploy kwatch on your Kubernetes cluster.</strong>
<strong>Plus, integrate with Slack to get notified on a channel when there is a crash in your apps.</strong></p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="configure-kwatch-with-slack">Configure kwatch with Slack<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-slack#configure-kwatch-with-slack" class="hash-link" aria-label="Direct link to Configure kwatch with Slack" title="Direct link to Configure kwatch with Slack">​</a></h2>
<p>First of all, we need to get the webhook URL of the channel you want the notification to be received on it.</p>
<p><em>If you know how to generate the webhook URL you can escape this part and go to the configuration section.</em></p>
<p><strong>Step 1: create a new slack channel (if you don't have one already)</strong></p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-slack/1.png"></p>
<p><strong>Step 2: Go to <a href="https://api.slack.com/apps" target="_blank" rel="noopener noreferrer">https://api.slack.com/apps</a> and create an app from scratch and connect it with your workplace</strong></p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-slack/2.png"></p>
<p><strong>Step 3: Create an incoming webhook and activate it</strong></p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-slack/3.png"></p>
<p><strong>Step 4: Connect it to you channel</strong></p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-slack/4.png"></p>
<p>Finally we have the webhook URL for the channel!</p>
<p><strong>Step 5: Get Configuration</strong></p>
<p>Get the configuration template</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">curl  -L https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/config.yaml -o config.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p><strong>Step 6: Edit config.yaml with the corresponding configs</strong></p>
<div class="language-yaml codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-yaml codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">apiVersion</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> v1</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">kind</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> Namespace</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">metadata</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">---</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">apiVersion</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> v1</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">kind</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> ConfigMap</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">metadata</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">namespace</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> kwatch</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">data</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">config.yaml</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">|</span><span class="token scalar string" style="color:#e3116c"></span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">    alert:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">      slack:</span><br></span><span class="token-line" style="color:#393A34"><span class="token scalar string" style="color:#e3116c">        webhook: WEBHOOK_URL</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p><strong>Step 7: Apply Configuration</strong></p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f config.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="deploy-kwatch">Deploy kwatch<a href="https://kwatch.dev/blog/detect-crashes-in-your-cluster-using-kwatch-and-slack#deploy-kwatch" class="hash-link" aria-label="Direct link to Deploy kwatch" title="Direct link to Deploy kwatch">​</a></h2>
<p>Deploy kwatch on your cluster with one command</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/deploy.yaml</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p>After deploying you will get notified on the channel that kwatch has started successfully. Now, kwatch is monitoring your apps!</p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-slack/5.png"></p>
<p>Here is an example of kwatch messages when a crash is detected.</p>
<p align="center"><img src="https://kwatch.dev/img/blog/kwatch-slack/6.png"></p>
<p><em>If you like kwatch, give it a star on <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a>!</em></p>
<p><em>We are happy to hear feedback from you and if you have any request, or suggestion don't hesitate to ping us on our channels (<a href="https://discord.gg/kzJszdKmJ7" target="_blank" rel="noopener noreferrer">Discord</a>, <a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">GitHub</a>)</em></p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
            <category>devops</category>
            <category>monitoring</category>
            <category>slack</category>
        </item>
        <item>
            <title><![CDATA[What is kwatch?]]></title>
            <link>https://kwatch.dev/blog/what-is-kwatch</link>
            <guid>https://kwatch.dev/blog/what-is-kwatch</guid>
            <pubDate>Wed, 05 Jan 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[kwatch helps you monitor all changes in your Kubernetes(K8s) cluster,]]></description>
            <content:encoded><![CDATA[<p><a href="https://github.com/abahmed/kwatch" target="_blank" rel="noopener noreferrer">kwatch</a> helps you monitor all changes in your Kubernetes(K8s) cluster,
detects crashes in your running apps in realtime,
and publishes notifications to your channels (Slack, Discord, etc.) instantly</p>]]></content:encoded>
            <category>kwatch</category>
            <category>kubernetes</category>
        </item>
    </channel>
</rss>