= Jo
Highly inspired from https://github.com/google/ko[ko], a similar tool for deploying any Java microservices (uber jars) as Kubernetes application
IMPORTANT: Under active development so lots change and at times breaking :D
== Pre-requisites
NOTE: If you are using Docker for Windows, then https://docs.microsoft.com/en-us/windows/wsl/install-win10[Windows subsytem for Linux (WSL)] is recommended.
== Build jo
pwd
./mvnw clean install -DskipTests== Start Kubernetes Cluster
IMPORTANT: Currently the application is tested only with local clusters. Working on to add support to hosted clusters
== Kubernetes Example
=== Jbang
The command above should do the deployment of the jbang script github.com/kameshsampath/jo/examples/http/server.java as Kubernetes application.
=== Quarkus
====
The command above should do the deployment of the Quarkus Applicationt github.com/kameshsampath/jo-quarkus-helloworld as Kubernetes application.
=== SpringBoot
The command above should do the deployment of the Quarkus Applicationt github.com/kameshsampath/jo-sb-helloworld as Kubernetes application.
Wait for the hello-world pod to come up:
Once the pods is up try creating the Service and Ingress to access it:
Now doing curl localhost/greeting should show a response like Hello World or Hello from Quarkus or Hello from SpringBoot
== Knative Example
=== Jbang
The command above should do the Knative service deployment of the jbang script github.com/kameshsampath/jo/examples/http/server.java as Kubernetes application.
=== Quarkus
The command above should do the Knative service deployment of the Quarkus Application github.com/kameshsampath/jo-quarkus-helloworld as Kubernetes application.
=== SpringBoot
The command above should do the Knative service deployment of the Quarkus Applicationt github.com/kameshsampath/jo-sb-helloworld as Kubernetes application.
Wait for the greeter Knative service to come up:
Once Knative service is up access the service using:
SVC_URL=$(kubectl get ksvc greeter -ojsonpath="{.status.url}")
The curl $SVC_URL
should show a response like Hello World or Hello from Quarkus or Hello from SpringBoot
== Powered by