https://github.com/tauqueeralam42/kubernates
This repository showcases foundational Kubernetes concepts, focusing on container orchestration, data persistence, and best practices for deploying scalable applications.
https://github.com/tauqueeralam42/kubernates
docker kubernetes kubernetes-cluster pods
Last synced: 20 days ago
JSON representation
This repository showcases foundational Kubernetes concepts, focusing on container orchestration, data persistence, and best practices for deploying scalable applications.
- Host: GitHub
- URL: https://github.com/tauqueeralam42/kubernates
- Owner: tauqueeralam42
- Created: 2024-11-01T13:03:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-01T13:27:33.000Z (6 months ago)
- Last Synced: 2025-02-14T12:35:37.697Z (2 months ago)
- Topics: docker, kubernetes, kubernetes-cluster, pods
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubernetes Learning Repository
This repository captures my learning journey in Kubernetes, showcasing projects and setups to understand core concepts. Key examples include:
1. **Single-Pod Multi-Container Setup**: Demonstrates a Node.js app and MongoDB database in a single pod, highlighting data loss issues when the application pod stops.
2. **Separate Application and Database Pods**: Runs the Node.js app and MongoDB in separate pods, ensuring data persists even if the app pod stops.
### Prerequisites
- Docker, Node.js, kubectl, and Minikube### Deployment
1. Start Minikube: `minikube start`
2. Apply manifests for each setup (e.g., `kubectl apply -f `)### Docker Images
- Single-Pod: `tauqueer/my-nodejs:single-pod-v1`
- Multi-Pod: `tauqueer/my-nodejs:multi-pod-v1`### Manifests
- Single-Pod: `deployement-node-app.yml`, `service-node-app.yml`
- Separate Pods: `mongo-config.yml`, `mongo-db.yml`, `node-app.yml`

