Using the Admin Dashboard

The Gloo Portal can be managed by interacting directly with Custom Resources in Kubernetes or through the Admin Dashboard - an administrative user-interface running on the admin-server pod. Interacting through Custom Resources is an excellent fit for automation workflows and programmatic control of the Gloo Portal, but for simple tasks and quick assessments, the Admin Dashboard is preferred. In this guide, you will learn how to connect to the Admin Dashboard and the basic layout of the portal’s contents.

About the Admin Dashboard

The Admin Dashboard runs on a pod in the Gloo Portal deployment and is exposed as a service. It does not have any authentication applied, so anyone with access to the Admin Dashboard can make changes to the resources managed by the Gloo Portal. That bears repeating:

Anyone who can reach the Admin Dashboard has unauthenticated access to make changes to resources managed by the Gloo Portal.

Access to the Admin Dashboard should be restricted to only those who need to administer the Gloo Portal. The admin-server service is of the type ClusterIP, so it is not exposed outside of the cluster.

Connecting to the Admin Dashboard

The Admin Dashboard is served from the admin-server service on port 8080. For this guide we are going to connect using the port-forward feature of kubectl. The following command assumes that you have deployed the Gloo Portal to the namespace dev-portal. From a command prompt, run the following to set up port-forwarding for the admin-server service.

kubectl port-forward -n dev-portal svc/admin-server 8080:8080

Once the port-forwarding starts, you can open your browser and connect to http://localhost:8080. You will be taken to a webpage that looks similar to this:

Admin Dashboard Main

Now that you’re connected, let’s explore the UI.

Exploring the Admin Dashboard

The main page of the Admin Dashboard provides a brief overview of the resources managed by the Gloo Portal, including portals, APIs, and users and groups.

Admin Dashboard Overview

Across the top of the page is a navigation bar with five sections:

Admin Dashboard Nav Bar

A general workflow - the one described in the Getting Started guide - would be to create an API Doc and Product from the APIs section. Then create a Portal in Portals and associate API Products with it.

Next Steps

Now that you know how to connect to the Admin Dashboard and interact with some of its components, we suggest looking at some of the operational guides for the Admin Dashboard, like Creating an API Doc or Creating an Portal UI.