Setup K8s Admin Dashboard UI – Octant and Proxy

Disclaimer: This blog content has been taken from my latest book:

“Cloud Native Microservices with Spring and Kubernetes”

A. Setup Octant K8s Dashboard UI

To visualize, monitor and inspect TKG Kubernetes clusters. Install Octant UI dashboard. Octant should immediately launch your default web browser on http://127.0.0.1:7777/#/cluster-overview

$ octant

Note: Or to run it on a specific host and fixed port:

OCTANT_LISTENER_ADDR=0.0.0.0:8900 octant

B. Setup K8s Proxy dashboard UI

This blog will cover popular Proxy K8s admin dashboards.

Run this command:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml

Then, run this command on CLI-

kubectl proxy

Hit this URL on browser –

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/overview?namespace=default

Note: You need to provide user token of your K8s cluster from .kube/config file from your home K8s path Or path of this K8s config file.

Published by

Unknown's avatar

Rajiv Srivastava

Principal Architect with Wells Fargo

Leave a comment