Containerising the Flask Application with Docker
docker build -t cloud-compiler-parcial .Pushing the Docker Image to Docker Hub
docker tag cloud-compiler-parcial andrescmm/cloud-compiler-parcialInicia sesión
docker login
docker push andrescmm/cloud-compiler-parcialRunning a Docker Container
docker run -p 8080:8080 cloud-compiler-parcialMinikube Kubernetes Cluster
minikube version
minikube start --driver=dockerDeploying to the Minikube Kubernetes Cluster
kubectl version --client
kubectl apply -f deployment.ymlComprobation
kubectl get deployment
kubectl get serviceGetting the Pods
kubectl get pods
kubectl get pods --all-namespacesThe Minikube Deployment Dashboard
minikube dashboard
minikube service cloud-compiler-parcial-servicekubectl delete deployment --namespace=default --all
kubectl scale deployment cloud-compiler-parcial --replicas=0
kubectl delete pod cloud-compiler-parcial-dcc6f77f9-k2tsxStop the cluster
minikube stop --all