https://github.com/showpune/zhiyong-tanzu-java-web-app
https://github.com/showpune/zhiyong-tanzu-java-web-app
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/showpune/zhiyong-tanzu-java-web-app
- Owner: showpune
- License: apache-2.0
- Created: 2021-12-28T06:16:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:54:06.000Z (over 2 years ago)
- Last Synced: 2025-03-18T03:31:54.256Z (over 1 year ago)
- Language: Java
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zhiyong-tanzu-java-web-app
This is a sample of a Java Spring app that works with Tilt and the Tanzu Application Platform.
## Dependencies
1. [kubectl CLI](https://kubernetes.io/docs/tasks/tools/)
1. [Tilt version >= v0.22.6](https://docs.tilt.dev/install.html)
1. Tanzu CLI and the apps plugin v0.2.0 which are provided as part of [Tanzu Application Platform](https://network.tanzu.vmware.com/products/tanzu-application-platform)
1. A cluster with Tanzu Application Platform, and the "Default Supply Chain", plus its dependencies. This supply chains is part of [Tanzu Application Platform](https://network.tanzu.vmware.com/products/tanzu-application-platform).
## Running the sample
Start the app deployment by running:
```
tilt up
```
You can hit the spacebar to open the UI in a browser.
- > If you see an "Update error" message like the one below, then just follow the instructions and allow that context:
```
Stop! tap-beta2 might be production.
If you're sure you want to deploy there, add:
allow_k8s_contexts('tap-beta2')
to your Tiltfile. Otherwise, switch k8s contexts and restart Tilt.
```