https://github.com/tilt-dev/tilt-example-java
An example project that demonstrates live Java development in Kubernetes
https://github.com/tilt-dev/tilt-example-java
Last synced: about 1 year ago
JSON representation
An example project that demonstrates live Java development in Kubernetes
- Host: GitHub
- URL: https://github.com/tilt-dev/tilt-example-java
- Owner: tilt-dev
- License: apache-2.0
- Created: 2020-03-16T16:04:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T03:59:42.000Z (over 2 years ago)
- Last Synced: 2025-04-18T07:52:10.399Z (about 1 year ago)
- Language: Java
- Size: 427 KB
- Stars: 21
- Watchers: 4
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tilt-example-java
[](https://circleci.com/gh/tilt-dev/tilt-example-java)
An example project that demonstrates a live-updating Java server in Kubernetes. Read [doc](https://docs.tilt.dev/example_java.html).
We used [Spring Initializr](https://start.spring.io/) to bootstrap the project,
then added Docker & Kubernetes configs for running it in Kubernetes.
To run these examples, you should also have:
- javac (a JDK)
- unzip
- rsync
- python3
## Fastest Deployment
This progression of examples shows how to start, and incrementally update
your project for live updates.
- [0-base](0-base): The simplest way to start
- [1-measured](1-measured): Use `local_resource` to measure your deployment time
- [2-optimized](2-optimized): Compile executable Jars and copy them into Docker
- [3-unpacked](3-unpacked): Unpack the executable Jar into Docker layers
- [4-recommended](4-recommended): Live update executable Jars
## Other Configurations
- [101-jib](101-jib): An example of how to integrate Tilt with the [Jib Java
image builder](https://github.com/GoogleContainerTools/jib)
- [102-jib-live-update](102-jib-live-update): An example of how to use
live_update with Jib. It requires a lot of knowledge of Jib internals, but you
can make it work!
- [103-micronaut](103-micronaut): An example of how to integrate Tilt with the
[Micronaut framework](https://micronaut.io/).
- [201-quarkus-live-update](201-quarkus-live-update): An example of how to use
live_update with [Quarkus](https://quarkus.io/), a container-first, hot-reloading framework for writing
Java applications.
- [401-spring-boot-layertools](401-spring-boot-layertools): An example of how to
further optimize the Spring Boot image with the latest recommendations from
[the Spring Boot Docker
guide](https://github.com/spring-guides/top-spring-boot-docker#spring-boot-layer-index).
## License
Copyright 2022 Docker, Inc.
Licensed under [the Apache License, Version 2.0](LICENSE)