Demonstration of Eclipse Vert.x, Kotlin, RxJava2 and Kubernetes
APACHE-2.0 License
This repository contains several reactive services to be deployed in Kubernetes.
The kubernetes folder contains resource descriptors and notes for Kubernetes and minikube
.
Building all services should be as simple as:
./gradlew assemble
While developing a Vert.x service you can have live-reload, as in:
./gradlew :temperature-gateway:vertxRun
The following assumes a local testing environment with minikube
.
Building all Docker images and creating Kubernetes resources can then be done using:
./deploy-to-kube.sh
...or calling the Gradle task that delegates to this script:
./gradlew deployToKube
If you are not deploying to minikube
:
Dockerfile
files, andThis was originally written by Julien Ponge and is distributed under the terms of the Apache License Version 2.0
Copyright 2018 Julien Ponge
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Contributions are welcome, please use GitHub pull requests!