An application for deploying in kubernetes clusters
  • Java 53.3%
  • TypeScript 41.8%
  • Shell 1.8%
  • CSS 1.7%
  • Dockerfile 0.8%
  • Other 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-03 08:27:58 +02:00
.mvn/wrapper add missing wrapper jar and configuration file 2023-03-01 22:29:44 +02:00
.vscode first commit 2021-10-06 09:30:16 +02:00
src/main Update to Vaadin 25.0.0 (#157) 2025-12-19 09:45:33 +01:00
.gitignore add missing wrapper jar and configuration file 2023-03-01 22:29:44 +02:00
.npmrc first commit 2021-10-06 09:30:16 +02:00
.prettierrc.js first commit 2021-10-06 09:30:16 +02:00
build-app.sh add option <all> to the build script 2022-10-17 07:53:41 +02:00
Dockerfile first commit 2021-10-06 09:30:16 +02:00
key-k8s-demo-app.pub adding key for signing images 2024-10-16 18:25:43 +02:00
LICENSE.md first commit 2021-10-06 09:30:16 +02:00
mvnw first commit 2021-10-06 09:30:16 +02:00
mvnw.cmd first commit 2021-10-06 09:30:16 +02:00
package.json chore: Update Vaadin 25.3.5 (#211) 2026-11-03 08:27:58 +02:00
pom.xml chore: Update Vaadin 25.3.5 (#211) 2026-11-03 08:27:58 +02:00
README.md doc: update README 2022-10-09 10:28:50 +02:00
tsconfig.json chore: Update Vaadin 25.2.0 (#191) 2026-06-23 17:02:58 +03:00
types.d.ts chore: update to 24.4.1 (#77) 2024-06-12 10:17:32 +03:00
vite.config.ts chore: Update Vaadin 25.3.0 (#204) 2026-09-23 08:59:07 +03:00
vite.generated.ts chore: Update Vaadin 25.3.2 (#207) 2026-10-12 16:45:38 +03:00

k8s-demo-app

A Vaadin demo app to test Vaadin cluster setup

Branches

There are 2 branches in this repo:

  • main It's a project downloaded from start.vaadin.com and modified to include the vaadin-cluster-support dependency to make the app aware of cluster update events, and to support stateless authentication by using Vaadin security helpers
  • plain-java A simple vaadin application with the vaadin-cluster-support but not depending on spring stack, and without authentication.

Running the application

The project is a standard Maven project. To run it in dev-mode, from the command line type mvnw (Windows), or ./mvnw (Mac & Linux), then open http://localhost:8080 in your browser.

Deploying to Production

To create a production build, call mvnw clean package -Pproduction (Windows), or ./mvnw clean package -Pproduction (Mac & Linux).

Since this application is thought to be package as a docker image and deployed in a docker hub, there is a script build-app.sh for building 3 versions of the application and uploading to docker hub.

You need to change USER and APP to match your application, as well as provide the appropriate privilegies to the docker push command.

For a more detailed information on how you can customize and package your application read the Application Setup section in the cluster setup repository.