Docs Home
Viewing docs for
Self-ManagedNot available for BYOC

Accessing Ververica Platform

On this page

There are multiple ways to access Ververica Platform, depending on your environment.

Testing and Initial Setup

During testing and initial setup, the easiest approach is to use the port forwarding support built into Kubernetes. For example, if you have deployed Ververica Platform using Helm with release name vvp into Kubernetes namespace my-namespace, you can use this command to forward the Ververica Platform REST API and Web User Interface locally on port 8080:

BASH
1kubectl -n my-namespace port-forward service/vvp-ververica-platform 8080:80

Production Environment

In a production environment it is recommended to use a Kubernetes Ingress or Service to access Ververica Platform. The Helm chart creates a Service called <release-name>-ververica-platform, which can be accessed directly or referenced from an Ingress.

Examples

A LoadBalancer Service that exposes Ververica Platform using the release name and Kubernetes namespace above:

YAML
1    apiVersion: v1
2    kind: Service
3    metadata:
4      name: my-service
5      namespace: my-namespace
6    spec:
7      type: LoadBalancer
8      ports:
9      - name: appmanager
10        port: 80
11        targetPort: 8080
12      selector:
13        app: vvp-ververica-platform
14        component: appmanager

An Nginx Ingress configured to serve Ververica Platform from an internal domain:

YAML
1    apiVersion: extensions/v1beta1
2    kind: Ingress
3    metadata:
4      annotations:
5        kubernetes.io/ingress.class: nginx
6      name: my-ingress
7      namespace: my-namespace
8    spec:
9      rules:
10      - host: ververica-platform.internal
11        http:
12          paths:
13          - backend:
14              serviceName: vvp-ververica-platform
15              servicePort: 80
16            path: /

If you set a context path i.e. a subpath instead of /, then remember to modify the path appropriately in the Ingress configuration. It must match the context path.

Accessing VVP UI from a Subpath

You might want to make the Ververica Platform UI accessible from a subpath rather than the root path. To do so, set the context path using Spring Boot configurations.

  1. Using topLevelConfig in your YAML configuration:
YAML
1   
2    topLevelConfig:
3      server:
4        servlet:
5          contextPath: /vvp
  1. Using an environment variable:
YAML
1      
2    env:
3      - name: SERVER_SERVLET_CONTEXT_PATH
4        value: /vvp

After setting the context path, when you deploy Ververica Platform the UI is accessed from the specified subpath.

The subpath has the format http://localhost:port-number/<context-path>/app. For example:

BASH
1   http://localhost:8080/vvp/app
Was this helpful?