- Containerization & Orchestration: Containerized Python Flask application using Docker, published to DockerHub and deployed it on Kubernetes cluster using manifest files.
- Version Control: Implemented version control and facilitated collaboration by uploading project code to GitHub.
docker build -t python-app . docker run -d -p 5000:5000 my-python-app docker images docker ps -a docker login -u rajeev3012 docker tag my-python-app rajeev3012/python-app docker push rajeev3012/python-app docker stop <container> docker rm <container> docker rmi <image> kubectl apply -f deployment.yaml
kubectl apply -f service.yaml kubectl get all
kubectl get pods minikube service python-app-service kubectl delete all --all
kubectl delete pods -l app=python-app (-l: label containing "python-app")
kubectl delete pod python-app-123 --grace-period=0 --force (force delete) git init git checkout -b main git status git add . git commit -am "initial commit" git remote add origin https://github.com/rajeev3012/python-docker-k8s.git git pull origin main --rebase git push -u origin main