How to install Minikube and get a simple guestbook app working w it
Run Container Transform on an ECS Task Definition
docker run --rm -v $(pwd):/data/ micahhausler/container-transform --input-type ecs --output-type kubernetes Guestbook.Dockerrun.aws.json > guestbook-deployment.yaml
- replace
name
andapp
fields with a identifier (in this case, I usedguestbook
)
Install and run Minikube locally
brew cask install minikube
minikube start
minikube dashboard
Create deployment
kubectl create -f guestbook-deployment.yaml
Create a service and expose the deployment
kubectl expose deployment guestbook --type=LoadBalancer
kubectl get services
View the service
minikube service guestbook
Based largely off of Hello Minikube.