https://github.com/marcnuri-demo/eclipse-jkube-complex-assemblies
Eclipse JKube - Project with very complex Maven assemblies
https://github.com/marcnuri-demo/eclipse-jkube-complex-assemblies
Last synced: 2 months ago
JSON representation
Eclipse JKube - Project with very complex Maven assemblies
- Host: GitHub
- URL: https://github.com/marcnuri-demo/eclipse-jkube-complex-assemblies
- Owner: marcnuri-demo
- License: apache-2.0
- Created: 2020-08-19T06:07:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-19T14:04:41.000Z (almost 5 years ago)
- Last Synced: 2025-01-25T06:26:03.657Z (4 months ago)
- Language: Java
- Size: 235 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Application showcasing Quarkus with Qute, Eclipse JKube and Maven Assemblies
## How to run
### Cloud
I designed this application to be deployed into Kubernetes, some features won't be available
if you don't stick to the following procedure.Minikube is a recommended requirement since we will be pushing the Docker image to the shared
Docker registry so that we don't have to push it to a public or remote registry. Notice that
a regular K8s cluster can be used but then you'll have to push your image too (`mvn k8s:push`).```shell script
# Access to Minikube's Docker Daemon
$ eval $(minikube docker-env)
# Package, build Docker Image, generate resource manifests, and apply them to the cluster
$ mvn package k8s:build k8s:resource k8s:apply
# Open exposed service in browser
$ minikube service example
```If everything goes as expected a browser window should open and we should see the following:
We can now clean up the resources in the cluster by running:
```shell script
$ mvn k8s:undeploy
```### Local
You can run the application locally, but some features provided
by the JKube Assembly integration won't be visible.```shell script
$ mvn clean quarkus:dev
```Once the application is ready, we can open our browser to [http://127.0.0.1:8080](http://127.0.0.1:8080).
