sudo snap install microk8s --classic
snap install kubectl --classic
snap install helm --classic
microk8s.enable dashboard dns ingress storage
docker build . -t php-hello-world
docker images
docker run --name=php-hello-world -it --rm -p 8090:80 php-hello-world
docker ps
docker login --username=YOUR_DOCKERHUB_USERNAME
docker tag php-hello-world YOUR_DOCKERHUB_USERNAME/php-hello-world
docker push YOUR_DOCKERHUB_USERNAME/php-hello-world
helm create php-hello-world
Update image repository to : YOUR_DOCKERHUB_USERNAME/php-hello-world
Update 'tag' to 'latest'
helm install --name php-hello-world ./php-hello-world --set service.type=NodePort
helm delete --purge php-hello-world