{"id":28566538,"url":"https://github.com/notharshhaa/kubernetes-dashboard","last_synced_at":"2025-06-10T15:11:15.396Z","repository":{"id":283994754,"uuid":"687037669","full_name":"NotHarshhaa/kubernetes-dashboard","owner":"NotHarshhaa","description":"𝘈 𝘬𝘶𝘣𝘦𝘳𝘯𝘦𝘵𝘦𝘴 𝘥𝘢𝘴𝘩𝘣𝘰𝘢𝘳𝘥 𝘪𝘯𝘵𝘦𝘨𝘳𝘢𝘵𝘦𝘥 𝘸𝘪𝘵𝘩 𝘩𝘦𝘢𝘭𝘵𝘩 𝘤𝘩𝘦𝘤𝘬𝘴, 𝘵𝘳𝘪𝘷𝘺 𝘴𝘤𝘢𝘯𝘯𝘪𝘯𝘨 𝘢𝘯𝘥 𝘩𝘦𝘢𝘭𝘵𝘩 𝘤𝘩𝘦𝘤𝘬𝘴 𝘧𝘰𝘳 𝘱𝘰𝘥𝘴","archived":false,"fork":false,"pushed_at":"2025-04-17T06:42:31.000Z","size":209,"stargazers_count":46,"open_issues_count":0,"forks_count":43,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T21:14:57.839Z","etag":null,"topics":["health-check","kubernetes","kubernetes-dashboard","kubernetes-metrics","kubernetes-monitoring","kubernetes-pods","kubernetes-setup","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NotHarshhaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-04T13:21:01.000Z","updated_at":"2025-04-17T06:42:35.000Z","dependencies_parsed_at":"2025-03-23T15:42:20.218Z","dependency_job_id":null,"html_url":"https://github.com/NotHarshhaa/kubernetes-dashboard","commit_stats":null,"previous_names":["notharshhaa/kubernetes-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotHarshhaa%2Fkubernetes-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotHarshhaa%2Fkubernetes-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotHarshhaa%2Fkubernetes-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotHarshhaa%2Fkubernetes-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotHarshhaa","download_url":"https://codeload.github.com/NotHarshhaa/kubernetes-dashboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotHarshhaa%2Fkubernetes-dashboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259098639,"owners_count":22804794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["health-check","kubernetes","kubernetes-dashboard","kubernetes-metrics","kubernetes-monitoring","kubernetes-pods","kubernetes-setup","monitoring"],"created_at":"2025-06-10T15:11:14.862Z","updated_at":"2025-06-10T15:11:15.383Z","avatar_url":"https://github.com/NotHarshhaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 **Kubernetes Dashboard – Advanced Kubernetes Monitoring \u0026 Security**  \n\n![kubedash](https://imgur.com/xF4zrEI.png)\n\n**A feature-rich Kubernetes Dashboard with live system monitoring, health checks, and container security scanning using Trivy.**  \nEmpower your DevOps workflow with **real-time cluster insights, security vulnerability detection, and an intuitive UI** for Kubernetes resource management.  \n\n![Kubernetes Dashboard](https://imgur.com/yCAVAsK.png)\n\n---\n\n## 📌 **Table of Contents**  \n\n- [🌟 Overview](#-overview)  \n- [✨ Features](#-features)  \n- [🛠 Prerequisites](#-prerequisites)  \n- [⚙️ Installation \u0026 Setup](#️-installation--setup)  \n- [🔍 How It Works](#-how-it-works)  \n- [🛡 Security \u0026 Vulnerability Scanning](#-security--vulnerability-scanning)  \n- [⚙️ Technology Stack](#️-technology-stack)  \n- [🚀 Deployment Options](#-deployment-options)  \n- [📜 License](#-license)  \n- [🌟 Support \u0026 Contributions](#-support--contributions)  \n\n---\n\n## 🌟 **Overview**  \n\nThe **Kubernetes Dashboard Web Application** is designed to simplify **Kubernetes cluster monitoring, pod health checks, and container security scanning**.  \n\n🔹 **Real-time insights** – Track CPU, memory, and storage usage.  \n🔹 **Namespace-based monitoring** – Select a namespace to view Kubernetes resources.  \n🔹 **Security scanning with Trivy** – Detect vulnerabilities in container images.  \n🔹 **Modern \u0026 responsive UI** – Built with **HTML, CSS, JavaScript, and Flask**.  \n🔹 **Fast \u0026 lightweight** – Optimized for performance and scalability.  \n\nThis dashboard enables **DevOps engineers, SREs, and developers** to efficiently manage their **Kubernetes clusters** while ensuring security best practices.  \n\n---\n\n## ✨ **Features**  \n\n✅ **Live System Metrics** – View real-time **CPU, memory, and storage** consumption.  \n✅ **Kubernetes Resource Status** – Track **Deployments, Services, and Pods** by namespace.  \n✅ **Container Image Security Scanning** – Scan Docker images using **Trivy** for vulnerabilities.  \n✅ **Pod Health Checks** – Monitor pod status, restarts, and logs.  \n✅ **User-friendly Dashboard** – Simple, responsive, and easy-to-use UI.  \n✅ **Lightweight \u0026 Efficient** – Built for **high performance** and minimal resource usage.  \n\n---\n\n## 🛠 **Prerequisites**  \n\nBefore installing the Kubernetes Dashboard, ensure you have the following dependencies installed:  \n\n🔹 **Python 3.8+** – Required for Flask backend.  \n🔹 **pip** – Python package manager.  \n🔹 **Docker \u0026 Kubernetes Cluster** – To monitor cluster resources.  \n🔹 **kubectl** – Kubernetes command-line tool.  \n🔹 **Trivy** – For container image vulnerability scanning.  \n\nInstall **kubectl** and **Trivy** if not already installed:  \n\n```bash\n# Install kubectl (for Kubernetes resource monitoring)\ncurl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\"\nchmod +x kubectl\nsudo mv kubectl /usr/local/bin/\n\n# Install Trivy (for security scanning)\nbrew install aquasecurity/trivy/trivy  # For macOS\nsudo apt install trivy  # For Ubuntu/Debian\n```\n\n---\n\n## ⚙️ **Installation \u0026 Setup**  \n\n### 1️⃣ **Clone the Repository**  \n\n```bash\ngit clone https://github.com/NotHarshhaa/kubernetes-dashboard.git\ncd kubernetes-dashboard\n```\n\n### 2️⃣ **Install Python Dependencies**  \n\n```bash\npip install -r requirements.txt\n```\n\n### 3️⃣ **Start the Flask Application**  \n\n```bash\npython app.py\n```\n\n🚀 The dashboard is now accessible at **[http://localhost:5000](http://localhost:5000)**.  \n\n---\n\n## 🔍 **How It Works**  \n\n### 📊 **Monitoring Kubernetes System Metrics**  \n\n- The **top section** of the dashboard displays live **CPU, memory, and storage** metrics.  \n- These values provide **real-time cluster performance monitoring**.  \n\n### 🔄 **Kubernetes Namespace Selection**  \n\n- Choose a **Kubernetes namespace** from the dropdown.  \n- The dashboard fetches **Deployments, Services, and Pods** specific to the selected namespace.  \n\n### 🛡 **Image Security Scanning with Trivy**  \n\n- Enter a **Docker image ID** (e.g., `nginx:latest`).  \n- Click **Scan** to initiate a **security vulnerability assessment**.  \n- The scan report provides details of any **critical, high, medium, or low-risk vulnerabilities**.  \n\n---\n\n## 🛡 **Security \u0026 Vulnerability Scanning**\n\nThis dashboard integrates **Trivy** to perform real-time security assessments of **Docker images**.  \n\n### 🔥 **Why Use Trivy?**  \n\n✅ Detects **OS vulnerabilities** in container images.  \n✅ Identifies **known exploits and security risks**.  \n✅ Provides **CVE (Common Vulnerabilities and Exposures) reports**.  \n\n### 🔍 **Running a Manual Scan**  \n\n```bash\ntrivy image nginx:latest\n```\n\nOutput Example:  \n\n```plaintext\nnginx:latest (debian 11)\n=========================\nTotal: 10 vulnerabilities\nCritical: 2 | High: 3 | Medium: 5 | Low: 0\n```\n\n---\n\n## ⚙️ **Technology Stack**  \n\n| **Component**        | **Technology**             |\n|----------------------|---------------------------|\n| **Frontend**        | HTML, CSS, JavaScript      |\n| **Backend**         | Python Flask               |\n| **Kubernetes API**  | Python Kubernetes Client   |\n| **Security Scanning** | Trivy                      |\n| **Deployment**      | Docker, Kubernetes         |\n\n---\n\n## 🚀 **Deployment Options**  \n\nYou can deploy the Kubernetes Dashboard using **Docker, Kubernetes, or a cloud platform**.  \n\n### 🔹 **Run with Docker**  \n\n```bash\ndocker build -t kubernetes-dashboard .\ndocker run -p 5000:5000 kubernetes-dashboard\n```\n\n### 🔹 **Deploy on Kubernetes**  \n\n```bash\nkubectl apply -f k8s-manifest.yaml\n```\n\n### 🔹 **Deploy on Cloud (AWS/GCP/Azure)**  \n\nYou can deploy the dashboard on a **Kubernetes cluster** running on AWS EKS, GCP GKE, or Azure AKS.  \n\n---\n\n## 📜 **License**  \n\nThis project is licensed under the **MIT License** – free for personal and commercial use.  \n\n---\n\n## 🌟 **Support \u0026 Contributions**\n\n### 🤝 **Contributing**  \n\nContributions are welcome! If you'd like to improve this project, feel free to submit a pull request.  \n\n---\n\n### **Hit the Star!** ⭐\n\n**If you find this repository helpful and plan to use it for learning, please give it a star. Your support is appreciated!**\n\n---\n\n### 🛠️ **Author \u0026 Community**  \n\nThis project is crafted by **[Harshhaa](https://github.com/NotHarshhaa)** 💡.  \nI’d love to hear your feedback! Feel free to share your thoughts.  \n\n---\n\n### 📧 **Connect with me:**\n\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-%230077B5.svg?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://linkedin.com/in/harshhaa-vardhan-reddy) [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/NotHarshhaa)  [![Telegram](https://img.shields.io/badge/Telegram-26A5E4?style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://t.me/prodevopsguy) [![Dev.to](https://img.shields.io/badge/Dev.to-0A0A0A?style=for-the-badge\u0026logo=dev.to\u0026logoColor=white)](https://dev.to/notharshhaa) [![Hashnode](https://img.shields.io/badge/Hashnode-2962FF?style=for-the-badge\u0026logo=hashnode\u0026logoColor=white)](https://hashnode.com/@prodevopsguy)  \n\n---\n\n### 📢 **Stay Connected**  \n\n![Follow Me](https://imgur.com/2j7GSPs.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotharshhaa%2Fkubernetes-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotharshhaa%2Fkubernetes-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotharshhaa%2Fkubernetes-dashboard/lists"}