kotlin-webflux
Kotlin+Sprin Boot 2+WebFlux
# Build jar
mvn clean install
# Start minikube
minikube start
# Attach minikube docker env
eval $(minikube docker-env)
# Build Docker image
docker build -t webflux .
# Deploy to minikube
kubectl apply -f manifest.yaml
# Print service url
minikube service webflux --url
To get all items: curl $(minikube service webflux --url)/api/items
Installing Minikube (on OSX)
Assuming you have Brew and Docker installed
- brew cask install virtualbox
- brew cask install minikube
- ???
- Profit