Skip to content

Accessing Sextant

Note

These instructions assume that you installed Sextant using default name sextant. If you chose another name such as test then substitute test-sextant-0 for sextant-0 in the instructions below.

Option 1 - Port Forwarding

You can use port forwarding using this command:

kubectl port-forward sextant-0 8080:80

Connect to Sextant by pointing a browser at http://localhost:8080

Option 2 - Using Load Balancer

If you want a persistent connection to your Sextant instance, one way of doing this is to create a load balancer.

Note

While this is acceptable in the short term, we recommend setting up an ingress controller for long-term access as described below.

kubectl expose pod/sextant-0 --type=LoadBalancer \
  --name=sextant-0-lb --port=80 --target-port=80

To obtain the external IP of the LoadBalancer you just created, use the following command:

kubectl get all -o wide | grep LoadBalancer | awk '{print $4}'

Connect to Sextant by pointing a browser at the external IP returned by this command.

Option 3 - Using Ingress Controller

If you have an ingress controller installed into your cluster, Sextant may be configured to use it, by specifying configuration in your values.yaml similar to the following:

ingress:
  enabled: true
  hostname: sextant.example.com
  annotations: {}

There are several other options available when configuring Sextant to use an ingress which are detailed here.