scottfrederick / tilt-example-java

An example project that demonstrates live Java development in Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tilt-example-java

Build Status

An example project that demonstrates a live-updating Java server in Kubernetes. Read doc.

We used Spring Initializr 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
  • python

Fastest Deployment

This progression of examples shows how to start, and incrementally update your project for live updates.

  • 0-base: The simplest way to start
  • 1-measured: Use local_resource to measure your deployment time
  • 2-optimized: Compile executable Jars and copy them into Docker
  • 3-unpacked: Unpack the executable Jar into Docker layers
  • 4-recommended: Live update executable Jars

Other Configurations

License

Copyright 2020 tilt.dev

Licensed under the Apache License, Version 2.0

About

An example project that demonstrates live Java development in Kubernetes

License:Apache License 2.0


Languages

Language:Java 30.0%Language:Starlark 18.0%Language:Python 17.7%Language:HTML 16.3%Language:Shell 6.9%Language:Go 6.7%Language:Dockerfile 2.9%Language:PowerShell 1.5%