raveneyex / tanzu-java-web-app-dockerfile

Sample Java Web App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tanzu-java-web-app

NOTE This repo has been archived and the sample has been moved to:
https://github.com/vmware-tanzu/application-accelerator-samples/tree/main/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
  2. Tilt version >= v0.23.2
  3. Tanzu CLI and the apps plugin v0.2.0 which are provided as part of Tanzu Application Platform
  4. A cluster with Tanzu Application Platform, and the "Default Supply Chain", plus its dependencies. This supply chains is part of 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.
    

About

Sample Java Web App

License:Apache License 2.0


Languages

Language:Java 61.6%Language:Starlark 29.1%Language:Dockerfile 9.3%