A comprehensive collection of Kubernetes deployment examples, troubleshooting guides, and application deployments for learning and reference purposes.
This repository contains hands-on Kubernetes examples covering various concepts including:
- Pod deployments and management
- ReplicationControllers and high availability
- Volume management and shared storage
- Service configuration and networking
- Application deployments (NGINX, Tomcat, Django, Java)
- Common troubleshooting scenarios
Updated: 4 months ago
A comprehensive reference guide containing all essential Kubernetes commands for daily operations and management.
Updated: 4 months ago
Demonstrates basic pod creation with a time-check application, useful for understanding pod lifecycle and scheduling.
Updated: 4 months ago
Illustrates how to implement shared volumes between containers in Kubernetes, covering volume types and mount configurations.
Updated: 4 months ago
Shows how to use ReplicationControllers to ensure high availability and automatic pod scaling/recovery.
Updated: Last month
Covers strategies for updating running deployments and services with zero-downtime deployments.
Updated: 4 months ago
Step-by-step guide to deploying NGINX web server on Kubernetes, including service exposure and configuration.
Key Features:
- Basic NGINX deployment
- Service configuration
- Port mapping
- LoadBalancer/NodePort setup
Updated: 3 months ago
Complete guide for deploying Apache Tomcat application server on Kubernetes cluster.
Key Features:
- Tomcat container deployment
- Resource allocation
- Environment configuration
- Service exposure
Updated: 8 months ago
A full-stack Django application deployment showcasing Python web application hosting on Kubernetes.
Technologies:
- Django framework
- Python runtime
- Database connectivity
- StatefulSet or Deployment configuration
Updated: 8 months ago
Java-based application deployment demonstrating microservices architecture on Kubernetes.
Technologies:
- Java application server
- Container optimization
- Service mesh integration
- External dependencies management
MySQL database deployment configurations and best practices for running stateful applications on Kubernetes.
Key Features:
- StatefulSet configuration
- Persistent volume claims
- Secret management for credentials
- Backup and recovery strategies
Updated: 4 months ago
Common pod deployment problems and their solutions, including image pull errors, resource constraints, and scheduling issues.
Covers:
- ImagePullBackOff errors
- CrashLoopBackOff debugging
- Resource quota issues
- Node affinity problems
Updated: 4 months ago
Troubleshooting guide for volume mounting problems, permission issues, and storage class configurations.
Covers:
- Permission denied errors
- Mount path conflicts
- PVC binding issues
- Storage class problems
Updated: 3 months ago
Comprehensive guide for diagnosing and fixing deployment-related problems.
Covers:
- Rollout failures
- Container restart loops
- Configuration errors
- Network connectivity issues
Before working with these projects, ensure you have:
- Kubernetes Cluster: v1.20+ (minikube, kind, or cloud provider)
- kubectl: Latest stable version
- Container Runtime: Docker or containerd
- Basic Knowledge:
- Container concepts
- YAML syntax
- Basic Linux commands
- Networking fundamentals
- Helm: For package management
- k9s: Terminal-based UI for Kubernetes
- kubectx/kubens: For context and namespace switching
- Lens: Kubernetes IDE
git clone <repository-url>
cd <repository-name>kubectl cluster-info
kubectl get nodesNavigate to any project directory and follow the specific README instructions:
cd Deploy-NGINX-App
kubectl apply -f .kubectl get pods
kubectl get services
kubectl get deployments.
βββ All-Commands/
β βββ all-commands.md
βββ Deploy-HA-Pods-ReplicationController/
β βββ README.md
βββ Deploy-Tomcat-App/
β βββ README.md
βββ Deploy-NGINX-App/
β βββ README.md
βββ Kubernetes-Shared-Volumes/
β βββ README.md
βββ Kubernetes-Time-Check-Pod/
β βββ Questions
βββ Resolve-Pod-Deployment-Issue/
β βββ webserver-pod.yml
βββ Resolve-VolumeMounts-Issue/
β βββ Commands.md
βββ Troubleshoot-Deployment-Issues/
β βββ Commands.md
βββ Update-Deployment-Service/
β βββ README.md
βββ django-notes-app/
β βββ [application files]
βββ java-quotes-app/
β βββ [application files]
βββ mysql/
β βββ [configuration files]
βββ README.md
- Start with All-Commands for basic kubectl syntax
- Deploy simple NGINX Application
- Understand pod lifecycle with Time-Check Pod
- Learn high availability with ReplicationController
- Explore storage with Shared Volumes
- Deploy applications: Tomcat, Django, Java
- Master troubleshooting guides
- Implement Update Deployment strategies
- Configure databases with MySQL deployment
kubectl get pods
kubectl describe pod <pod-name>
kubectl logs <pod-name>
kubectl exec -it <pod-name> -- /bin/bashkubectl get deployments
kubectl rollout status deployment/<deployment-name>
kubectl rollout history deployment/<deployment-name>
kubectl rollout undo deployment/<deployment-name>kubectl get services
kubectl expose deployment <deployment-name> --port=80 --type=LoadBalancer
kubectl describe service <service-name>kubectl get events --sort-by=.metadata.creationTimestamp
kubectl top nodes
kubectl top pods
kubectl describe node <node-name>Contributions are welcome! Please follow these guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-example) - Commit your changes (
git commit -am 'Add new Kubernetes example') - Push to the branch (
git push origin feature/new-example) - Create a Pull Request
- New application deployments
- Additional troubleshooting guides
- Documentation improvements
- Bug fixes and updates
- Best practices and optimizations
- 8 months ago: Initial Django and Java applications
- 4 months ago: Core Kubernetes fundamentals and commands
- 3 months ago: Tomcat deployment and troubleshooting guides
- Last month: Latest deployment updates
This project is licensed under the MIT License - see the LICENSE file for details.
This repository is maintained for educational purposes. For questions or issues, please open a GitHub issue.
Last Updated: February 2026
Status: Active Development
Kubernetes Version Compatibility: 1.20+