Real-Time Chat with CI/CD to Kubernetes
A real-time chat app on Node.js and Socket.IO, containerised with Docker and shipped by a GitHub Actions pipeline, with Kubernetes manifests for a two-replica deployment.
Overview
A compact, end-to-end delivery project: a working real-time chat application and the pipeline that builds, publishes and deploys it on every push.
Business context
Small teams need a delivery path they can trust without a heavy platform: push code, get a tested image, run it anywhere.
The problem
Building and deploying by hand was slow and differed from machine to machine.
The solution
The chat app runs on Express and Socket.IO with EJS views. A Dockerfile packages it, and a GitHub Actions workflow builds the image on every push to main, logs in with repository secrets, pushes to Docker Hub and starts the container. Kubernetes Deployment and Service manifests run two replicas behind a service on port 3000.
Key features
- Real-time messaging with Socket.IO
- Express server with EJS views
- Docker image build
- GitHub Actions pipeline on push to main
- Secrets-based registry login
- Docker Hub image publishing
- Kubernetes Deployment with 2 replicas
- Kubernetes Service on port 3000
Related projects
DevSecOps & Cloud Infrastructure
Three-Tier Kubernetes DevSecOps Pipeline
A three-tier web app (React, Node.js, MongoDB) deployed to AWS EKS through a Terraform-provisioned Jenkins pipeline with SonarQube, OWASP and Trivy security gates, Argo CD GitOps and Prometheus and Grafana monitoring.
DevSecOps & Cloud Infrastructure
GitOps Delivery on AWS EKS
A Terraform-provisioned AWS EKS cluster with GitHub Actions pipelines, SonarCloud and Snyk security checks, Argo CD GitOps delivery and Prometheus and Grafana monitoring for a three-tier quiz app.











