Welcome to the DevOps Projects Master repository! This is a comprehensive, hands-on laboratory designed to take you from a beginner to a production-ready DevOps Engineer.
Whether you're looking to master Kubernetes, dive into GitOps, or deploy scalable applications on AWS, this repository provides the blueprints, code, and documentation you need.
-
K8sGPT Integration: Leverage AI for cluster diagnostics and AIOps to explain and troubleshoot Kubernetes issues.
-
Comprehensive Monitoring: Implement robust observability with Prometheus and Grafana for real-time insights into Kubernetes cluster health and performance.
-
Centralized Logging: Set up the ELK Stack (Elasticsearch, Logstash, Kibana) for collecting, processing, and visualizing all your Kubernetes logs.
-
Real-World Application: Build and deploy a multi-tier "Humor Memory Game" using Node.js, PostgreSQL, and Redis.
-
Production-Grade K8s: Learn cluster management, auto-scaling (HPA), and self-healing.
-
Modern GitOps: Automate your deployments with ArgoCD for declarative continuous delivery.
-
Flexible CI/CD: Implement robust Continuous Integration and Continuous Delivery pipelines using Jenkins on Kubernetes.
-
Code Quality & Security: Integrate SonarQube for continuous code quality analysis and security vulnerability detection.
-
Vulnerability Scanning: Implement Trivy for comprehensive security scanning of container images, filesystems, and Kubernetes configurations.
-
Security Policies & Compliance: Enforce security policies with Kyverno, perform CIS Benchmarking with Kube-bench, and static analysis with Checkov.
-
Full Observability: Monitor everything with Prometheus and Grafana dashboards.
-
Cloud Native: Infrastructure as Code (IaC) using Terraform for AWS EKS, GCP GKE, Azure AKS, DigitalOcean DOKS, Linode LKE, Oracle OKE, Alibaba Cloud ACK, and Tencent Cloud TKE deployments.
-
Global Delivery: Secure and accelerate your app with Cloudflare Tunnels and CDN.
| Path | Best For | Time | Link |
|---|---|---|---|
| Quick Start | Seeing the app in action immediately | 5 Mins | Quick Start Guide |
| Local Lab | Learning K8s & DevOps basics locally | 5-8 Hours | Local Dev Guide |
| Cloud Pro | Deploying to AWS with Terraform | 3-4 Hours | AWS Guide |
| Expert Frontier | Platform Engineering, FinOps, & AIOps | Advanced | Advanced Proposal |
| Troubleshooter | Fixing real-world system failures | Ongoing | Troubleshooting Hub |
Get the application running on your local machine in seconds using Docker Compose:
# Clone the repository
git clone https://github.com/hacrex/DevOps-Projects-master-K8s.git
cd DevOps-Projects-master-K8s
# Start the stack
docker-compose up -d
# Access the game
# Open http://localhost:8080 in your browserOur stack mimics a real-world production environment:
- Frontend: Vanilla JS + Nginx
- Backend: Node.js Express API
- Database: PostgreSQL (Persistence)
- Cache: Redis (Performance)
- Orchestration: Kubernetes (k3d for local, EKS for cloud)
- CI/CD: GitHub Actions + ArgoCD
- Monitoring: Prometheus, Grafana, Falco (Security)
/k8s: Kubernetes manifests for all services and monitoring./terraform: IaC modules for VPC, EKS, RDS, and more./scripts: Automation scripts for deployment and testing./docs: Deep-dive guides for every component./frontend&/backend: Source code for the demo application.
We welcome contributions! Whether it's fixing a bug, improving documentation, or adding a new project, feel free to open an issue or submit a pull request. Check out our Contributing Guide for more details.
This project is inspired by and built upon the excellent work in the DevOps community. Special thanks to the original creators of the reference labs.
Ready to start your journey? Head over to the Local Development Guide to begin!