Service Tabs
Service tabs expose web applications, APIs, and dashboards running in your containers, virtual machines, or Kubernetes clusters. They create an HTTP/HTTPS proxy that users can access directly from the lab interface.
Creating a Service Tab
Section titled “Creating a Service Tab”To create a service tab:
- Navigate to the Tabs section in your lab editor
- Click Add Tab and select Service from the dropdown
- Configure the service settings
Supported Fields
Section titled “Supported Fields”| Field | Required | Description |
|---|---|---|
| Name (internal) | ✓ | Used for internal reference. Not visible to end users |
| Target | ✓ | Container, Virtual Machine, or Kubernetes Cluster hosting the service |
| Scheme | Protocol: Default, http, or https (Default leaves the scheme unset, which resolves to http). With https, the service’s certificate is not verified, so a self-signed one works | |
| Port | ✓ | Port number the service listens on |
| Path | URL path to append to requests | |
| Open in new window | Open the service in a new browser window (default: false) | |
| Show refresh button | Show a refresh button on the tab that reloads the service (default: true) |
Reloading a Service
Section titled “Reloading a Service”A service tab carries a refresh button beside its title. It reloads the service, which is how someone who opened the tab before the application had finished starting, or who changed something the page needs to pick up, gets the current page without restarting the lab.
Turn Show refresh button off for a tab the user should not be able to reload, such as one holding a single-page application that would lose its state. A tab set to open in a new window has no embedded page to reload, so it never shows the button.
Changes to a service tab follow the same edit mode and publishing workflow as other lab resources.
Reference
Section titled “Reference”For detailed HCL reference information, see the Service Reference.
