How to Access Ververica Platform Web UI Remotely
How do I access Ververica Platform Web UI when I cannot start a browser window (e.g., no GUI component installed) on the remote Linux host where I run kubectl port-forward?
Answer
Note: This applies to Ververica Platform 2.0 and later.
First of all, if you can start a browser window on the remote Linux host where you port forward
kubectl port-forward service/vvp-ververica-platform 8080:80
Then, you can access Ververica Platform Web UI from that browser window with URL http://localhost:8080. See Accessing Ververica Platform.
Read on if you cannot start a browser window.
Assuming the remote Linux host where you run kubectl port-forward is LinuxHost, there are two options to access Ververica Platform Web UI.
Option 1: kubectl port-forward with --address
You can use add --address to your kubectl port-forward command:
kubectl port-forward [--namespace namespace] \
service/vvp-ververica-platform --address LinuxHost 8080:80
Access the Ververica Platform Web UI from your localhost via http://LinuxHost:8080
Option 2: SSH port forwarding
First ssh to the remote Linux host with port forwarding enabled:
ssh -L 8080:localhost:8080 LinuxHost
Then, on the remote Linux host:
kubectl port-forward [--namespace namespace] \
service/vvp-ververica-platform 8080:80
Access the Ververica Platform Web UI from your localhost via http://LinuxHost:8080
For other ways, especially when you do not have privileges to do port forwarding, to access Ververica Platform Web UI, see Accessing Ververica Platform.