docker build -t anhdiepmmk/kub-first-app .
docker push anhdiepmmk/kub-first-app
kubectl create deployment first-app --image=anhdiepmmk/kub-first-app
Service help us can communicate with pods
kubectl expose deployment first-app --type=LoadBalancer --port=8080
minikube service first-app
kubectl scale deployment/first-app --replicas=5
k8s just update image if the new image have diffrence tag
kubectl set image deployment/first-app kub-first-app=anhdiepmmk/kub-first-app:latest
kubectl rollout status deployment/first-app
kubectl rollout undo deployment/first-app
kubectl rollout undo deployment/first-app --to-revision=1
kubectl rollout history deployment/first-app
kubectl rollout history deployment/first-app --revision=3
kubectl delete service first-app
kubectl delete deployment first-app