- jq
- Kubernetes (v1.13.4)
- Minikube (v0.35.0)
- one VM provider VirtualBox
- Docker (v18.09.7)
- Skaffold (v0.39.0)
- Ktor
- Kotlin (1.2.5)
- Gradle (v5.1.1)
- Jib (1.6.1)
skaffold dev
other terminal:
./web.sh
The bash script checks the service endpoint for code changes becoming effective. The script also assumes kubernetes runs on minikube and the web kubernetes service is already deployed.
./gradlew jibDockerBuild && docker run --rm -p 8080:8080 ktor01:1.0-SNAPSHOT
# specify docker image name
./gradlew jibDockerBuild --image=myimagename && docker run --rm -p 8080:8080 myimagename
access the endpoint:
curl http://0.0.0.0:8080
./gradlew run
access the endpoint:
curl http://0.0.0.0:8080
./gradlew test
./gradlew clean
docker rmi $(docker images -q)
- Coming: Deploy Kotlin Applications to Kubernetes without Dockerfiles on lotharschulz.info
- Kotlin Continuous Delivery to Kubernetes on lotharschulz.info