This project implements Kubernetes storage management using PersistentVolumes (PV) and PersistentVolumeClaims (PVC). Through this implementation, I've created a robust storage solution that demonstrates the seamless integration of persistent storage in Kubernetes environments.
- Create and manage PersistentVolumes in Kubernetes
- Configure PersistentVolumeClaims with specific requirements
- Set up proper storage access modes and capacities
- Deploy containerized applications with persistent storage
- Implement production-ready storage solutions
Kubernetes PV/PVC Architecture Overview
- Frontend: Not applicable
- Backend: Nginx web server
- Database: Not applicable
- DevOps:
- Kubernetes for orchestration
- Docker for containerization
- Ubuntu 20.04 for host OS
- VS Code for development
🐳 Prerequisites
- Kubernetes cluster (v1.19+)
- kubectl CLI tool
- Docker runtime
- Basic Kubernetes knowledge
⚙️ Installation
- Clone the repository:
git clone https://github.com/TheToriqul/k8s-pv-setup.git
- Navigate to the project directory:
cd k8s-pv-setup
- Follow setup instructions in reference-commands.md
🎮 Usage
- Create PersistentVolume:
kubectl apply -f logs-pv.yaml
- Create PersistentVolumeClaim:
kubectl apply -f logs-pvc.yaml
- Deploy Nginx pod:
kubectl apply -f nginx-pod.yaml
For detailed commands and explanations, refer to the reference-commands.md file.
- Kubernetes storage architecture implementation
- Volume lifecycle management
- Storage provisioning and binding
- Access mode configuration
- Container volume mounting
- Infrastructure as Code practices
- System design principles
- Kubernetes resource management
- Technical documentation
- Problem-solving methodologies
View Planned Improvements
- Dynamic volume provisioning
- Storage class implementation
- Backup and restore functionality
- Monitoring integration
- Multi-node storage support
- Storage encryption
Contributions are welcome! Feel free to open an issue or submit a pull request.
- 📧 Email: toriqul.int@gmail.com
- 📱 Phone: +65 8936 7705, +8801765 939006
- 🌐 LinkedIn: @TheToriqul
- 🐙 GitHub: @TheToriqul
- 🌍 Portfolio: TheToriqul.com
- Poridhi for providing comprehensive labs and inspiring this project
- The Kubernetes community for excellent documentation
- The CNCF for promoting cloud-native technologies
Thank you for visiting this repository and joining me on this learning journey! 🚀