NotHarshhaa/kubernetes-projects-learning
Über uns
Ein Repository, mit dem du Kubernetes anhand praktischer Echtzeitprojekte von Grund auf üben und lernen kannst, Kubernetes zum Bereitstellen, Verwalten und Skalieren containerisierter Anwendungen zu verwenden.
Systeme und InfrastrukturGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original🚀 Kubernetes Projects & Learning Hub
A Comprehensive Guide to Master Kubernetes Through Hands-on Projects
Learn, Practice, and Deploy Real-world Applications on Kubernetes
📋 Table of Contents
- What's Inside
- Prerequisites
- Setup & Preparation
- Learning Path
- Real-Time Projects
- Guides & Best Practices
- Troubleshooting
- Cloud Platforms
- Certifications
- Infrastructure as Code
- Cheat Sheets & Tools
- Contributing
📂 What's Inside
| Folder | What it contains |
|---|---|
| learning/ | 13 self-contained guides with runnable YAML — from "Kubernetes for Everyone" to Ingress, Storage, HPA autoscaling, Helm, Network Policies, RBAC and Monitoring |
| projects/ | 4 end-to-end projects — 10-microservices on EKS, Spring Boot on K8s, Jenkins CI/CD to Kubernetes, and an Uber-clone DevSecOps pipeline (with Jenkinsfiles) |
| CKAD-exercises/ | 100+ hands-on exercises mapped to the current CKAD curriculum, each with a hidden solution (<details> toggles) |
💡 New to Kubernetes? Start at learning/kubernetes-for-everyone. Preparing for the CKAD? Go straight to CKAD-exercises.
📌 Prerequisites
Before diving in, ensure you have:
| Requirement | Description |
|---|---|
| Containers | Understanding of Docker/containerd/cri-o — images, layers, registries |
kubectl |
Basic command-line familiarity (get, apply, describe, logs) |
| YAML | Ability to read/edit YAML comfortably (it is indentation-sensitive!) |
| Linux | Basic Linux commands familiarity |
🛠 Setup & Preparation
Essential Tools Installation
Kubernetes CLI (
kubectl) — installation guide# Linux example curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl # verify kubectl version --clientLocal Kubernetes Cluster — pick one:
- Minikube —
minikube start - kind —
kind create cluster - k3s —
curl -sfL https://get.k3s.io | sh - - Docker Desktop / Rancher Desktop — enable the built-in Kubernetes
Verify with
kubectl get nodes— you should see at least one node inReadystatus.- Minikube —
📚 Detailed Setup Guide: Kubernetes CLI & Cluster Setup
💡 Pro Tip: Enable kubectl autocompletion and aliases for improved productivity!
source <(kubectl completion bash) # or zsh — add to ~/.bashrc to persist alias k=kubectl # you'll type it hundreds of times
📚 Kubernetes Learning Path
Core Concepts
| Level | Topic | Description |
|---|---|---|
| Beginner | Kubernetes for Everyone | Foundation concepts and basic architecture |
| Beginner | Understanding Pods | Deep dive into Kubernetes Pods |
| Intermediate | Application Deployment | Complete deployment workflow |
| Intermediate | Architecture Overview | Detailed component analysis |
| Advanced | DaemonSets | Cluster-wide service deployment |
Advanced Topics
| Level | Topic | Description |
|---|---|---|
| Intermediate | ConfigMaps & Secrets | Configuration and sensitive data management |
| Intermediate | Ingress & Traffic Routing | HTTP routing, TLS termination, ingress controllers |
| Intermediate | Storage & Persistent Volumes | PV, PVC, StorageClasses and durable state |
| Intermediate | Autoscaling (HPA) | Scale workloads automatically on CPU/memory metrics |
| Intermediate | Helm Package Manager | Package, version and deploy apps as charts |
| Advanced | Network Policies | Pod-to-pod traffic control and micro-segmentation |
| Advanced | RBAC Access Control | Roles, bindings and least-privilege access |
| Advanced | Monitoring & Logging | Prometheus, Grafana and the EFK stack |
🔄 New topics are regularly added to keep content fresh and relevant!
🔥 Real-Time Kubernetes Projects
Production-Grade Implementations
| Project | Complexity | Key Learning Points |
|---|---|---|
| 10-Microservices on EKS | ⭐⭐⭐⭐⭐ |
- Microservices Architecture - AWS EKS Management - Service Mesh Integration |
| Spring Boot Deployment | ⭐⭐⭐ |
- Java Application Deployment - Service Configuration - Resource Management |
| Uber Clone DevSecOps | ⭐⭐⭐⭐ |
- Security Implementation - CI/CD Pipeline - Scalability Patterns |
| Jenkins CI/CD Pipeline | ⭐⭐⭐ |
- Automated Deployment - Jenkins Integration - Pipeline Management |
🌟 Additional Resources & Projects
Production-Grade Examples
| Project | Description | Key Features |
|---|---|---|
| Online Boutique | Cloud-native microservices demo app by Google |
- 11 microservices in different languages - gRPC communication - Cloud Operations integration - Istio & Service Mesh ready |
| Kubernetes Configs | Production-ready Kubernetes configurations |
- Best practices & templates - CI/CD integrations - Multi-cloud support - Advanced security configs |
| Kubernetes Examples | Official Kubernetes example applications |
- Guestbook application - Cassandra deployment - WordPress with MySQL - Various storage examples |
Essential Tools & Utilities
| Tool | Category | Description |
|---|---|---|
| K9s | CLI Tool | Terminal UI to interact with clusters |
| kubectx / kubens | CLI Tool | Switch between clusters and namespaces instantly |
| Popeye | Cluster Sanitizer | Scans live clusters for misconfigurations |
| KOPS | Cluster Management | Production-grade K8s installation & management |
| Kubespray | Deployment | Deploy production-ready clusters |
Learning Resources
- Kubernetes The Hard Way - Step by step guide
- Kubernetes Learning Path - Structured learning path
- Awesome Kubernetes - Curated list of resources
- Kubernetes Failure Stories - Learn from others' experiences
📖 Kubernetes Guides & Best Practices
🧭 In this repository
| Topic | Guide |
|---|---|
| Ingress & traffic routing | learning/Ingress-and-Traffic-Routing |
| Storage & Persistent Volumes | learning/Storage-PersistentVolumes |
| Monitoring & Logging (Prometheus, EFK) | learning/Monitoring-and-Logging |
| RBAC & Network Policies | learning/RBAC-Access-Control • learning/Network-Policies-in-K8s |
| ConfigMaps & Secrets | learning/Managing-ConfigMaps-and-Secrets |
| Autoscaling (HPA) & Helm | learning/Autoscaling-HPA • learning/Helm-Package-Manager |
🌐 Networking
🔒 Security
🗄️ Storage
- Comprehensive Guide: Understanding Kubernetes Storage
- Persistent Volumes (PV)
- Persistent Volume Claims (PVC)
- Storage Classes
- Dynamic Provisioning
🛠 Troubleshooting Kubernetes Issues
| Issue Type | Resource |
|---|---|
| Common Errors | Solutions Guide |
| Exit Codes | Complete Guide |
| Deployments | Visual Troubleshooter |
| General Issues | Comprehensive Guide |
☁ Kubernetes in the Cloud
Major Cloud Providers
| Platform | Service | Resources |
|---|---|---|
| AWS | EKS | |
| Azure | AKS | |
| GKE |
🎓 CNCF Kubernetes Certifications
Certification Preparation Resources
| Certification | Resources |
|---|---|
| CKAD | Hands-on Exercises • Official Curriculum • CKAD on CNCF |
| CKA | Practice Exercises • Additional Exercises |
| CKS | Study Guide • Video Course |
⚙️ Kubernetes Infrastructure as Code (IaC)
| Tool | Purpose | Resource |
|---|---|---|
| Helm | Package Manager | Repository |
| Kustomize | Config Management | Repository |
| Terraform | Infrastructure | Documentation |
| Pulumi | Multi-language IaC | Repository |
| Skaffold | Development | Repository |
| Argo CD | GitOps CD | Repository — used in the Jenkins+ArgoCD project |
| Flux | GitOps Toolkit | Repository |
🔥 Kubernetes Cheat Sheets & Tools
Quick Reference Guides
Tools
🤝 Contributing
We welcome contributions! To contribute:
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
⭐ Show Your Support
If you find this repository helpful, please give it a star! Your support motivates continued maintenance and improvements.
🛠️ Author & Community
Created with 💡 by Harshhaa
📫 Connect With Me
📢 Stay Updated
Ähnliche Projekte entdecken
Wird geladen…