<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sayan Singh</title>
    <description>The latest articles on DEV Community by Sayan Singh (@sayan_singh_).</description>
    <link>https://dev.to/sayan_singh_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3349973%2Fd6ef1af9-57a5-4109-af53-3dad043016af.png</url>
      <title>DEV Community: Sayan Singh</title>
      <link>https://dev.to/sayan_singh_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sayan_singh_"/>
    <language>en</language>
    <item>
      <title>CI/CD Meets Monitoring: My Full DevOps Stack with Node.js, Kubernetes, and GitHub Actions</title>
      <dc:creator>Sayan Singh</dc:creator>
      <pubDate>Sun, 13 Jul 2025 05:05:24 +0000</pubDate>
      <link>https://dev.to/sayan_singh_/cicd-meets-monitoring-my-full-devops-stack-with-nodejs-kubernetes-and-github-actions-3036</link>
      <guid>https://dev.to/sayan_singh_/cicd-meets-monitoring-my-full-devops-stack-with-nodejs-kubernetes-and-github-actions-3036</guid>
      <description>&lt;p&gt;Went from basic Node.js app to a fully monitored, Kubernetes-powered CI/CD pipeline in one project. Here’s how I built it — from Docker to dashboards.&lt;/p&gt;

&lt;p&gt;What I Built:&lt;/p&gt;

&lt;p&gt;A Node.js backend exposing Prometheus-compatible metrics&lt;br&gt;
Fully Dockerized, with GitHub Actions building &amp;amp; pushing images to Docker Hub&lt;br&gt;
Kubernetes-native deployment using raw YAML manifests on Minikube&lt;br&gt;
Real-time monitoring with Prometheus and beautiful dashboards in Grafana&lt;br&gt;
Namespace-based separation of Prometheus and Grafana stacks&lt;br&gt;
Manual CD using kubectl apply for controlled rollout&lt;/p&gt;

&lt;p&gt;CI/CD with GitHub Actions:&lt;/p&gt;

&lt;p&gt;Every push to main triggers&lt;br&gt;
Docker image build&lt;br&gt;
Push to Docker Hub (:latest tag)&lt;br&gt;
Optional K8s deploy (if kubeconfig is provided)&lt;/p&gt;

&lt;p&gt;All done securely with GitHub Secrets.&lt;/p&gt;

&lt;p&gt;Example Workflow Run:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxu2inuhqu2gzljca6qm1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxu2inuhqu2gzljca6qm1.png" alt="Github Actions Success" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Monitoring &amp;amp; Dashboards:&lt;/p&gt;

&lt;p&gt;Prometheus scrapes app metrics from /metrics&lt;br&gt;
Grafana visualizes:&lt;br&gt;
CPU &amp;amp; memory usage&lt;br&gt;
Uptime&lt;br&gt;
Custom app-level metrics&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzv4tl5655ohtj7x274hx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzv4tl5655ohtj7x274hx.png" alt="Grafana Dashboard" width="800" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F61f81e7w8j16lj4jcewy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F61f81e7w8j16lj4jcewy.png" alt="Prometheus Targets Page" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;App Running in Browser:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2pj4z7kruhbfe5wvily2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2pj4z7kruhbfe5wvily2.png" alt="My App" width="794" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tech Used:&lt;/p&gt;

&lt;p&gt;Node.js · Express · Docker · Kubernetes · GitHub Actions · Prometheus · Grafana · YAML&lt;/p&gt;

&lt;p&gt;Repo:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/singhsayan/node-ci-cd-k8s-monitoring" rel="noopener noreferrer"&gt;GitHub Repo – Node.js + K8s + CI/CD Monitoring Stack&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Credits &amp;amp; Learning Resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Learned a lot from &lt;strong&gt;Abhishek Veeramalla’s DevOps Zero to Hero&lt;/strong&gt; series on YouTube.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Grafana &amp;amp; Prometheus setup was guided by excellent articles from &lt;strong&gt;Spacelift.io&lt;/strong&gt; — their monitoring blogs are a must-read!&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What’s Next:&lt;/p&gt;

&lt;p&gt;Integrate alerting (Slack/Webhooks)&lt;br&gt;
Extend to GKE or EKS for managed deployment&lt;/p&gt;

&lt;p&gt;Have thoughts on how to scale this? Or want to collaborate on DevOps projects? Drop a comment or DM — I’d love to chat!&lt;/p&gt;

</description>
      <category>devops</category>
      <category>kubernetes</category>
      <category>githubactions</category>
      <category>monitoring</category>
    </item>
  </channel>
</rss>
