7

Octant Simplified

 3 years ago
source link: https://blog.kubernauts.io/octant-simplified-313a1aad69d6
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Octant Simplified. A Quick overview and install in less…
Image for post
Image for post

Octant Simplified

A Quick overview and install in less than 5 minutes

Definition From the Docs :

Octant is a tool for developers to understand how applications run on a Kubernetes cluster. It aims to be part of the developer’s toolkit for gaining insight and approaching complexity found in Kubernetes. Octant offers a combination of introspective tooling, cluster navigation, and object management along with a plugin system to further extend its capabilities.

Octant is one of the recent projects by VMware that aims to simplify the kubernetes view for developers. Now the developers would be able to see what all is happening in the cluster when they are deploying their workloads.
Let us setup Octant on a Katakoda cluster and see what all capabilities it provides out of the box to the Developers.
This tutorial is a quick overview of the latest version of the octant recently launched by the team which is v0.10.0.

Steps:

1: Got to- https://www.katacoda.com/courses/kubernetes/playground

2: Download the latest octant release v0.10.0

master $ wget https://github.com/vmware-tanzu/octant/releases/download/v0.10.0/octant_0.10.0_Linux-64bit.tar.gzmaster $ ls
octant_0.10.0_Linux-64bit.tar.gz# Run
master $ tar -xzvf octant_0.10.0_Linux-64bit.tar.gz
octant_0.10.0_Linux-64bit/README.md
octant_0.10.0_Linux-64bit/octant# Verify
master $ cp ./octant_0.10.0_Linux-64bit/octant /usr/bin/
master $ octant version
Version: 0.10.0
Git commit: 72e66943d660dc7bdd2c96b27cc141f9c4e8f9d8
Built: 2020-01-24T00:56:15Z

Run Octant- In order to Run octant you can run the Octant command, by default it runs on localhost:7777and if you need to pass additional arguments (like running on a different port) run

master $ OCTANT_DISABLE_OPEN_BROWSER=true OCTANT_LISTENER_ADDR=0.0.0.0:8900 octant
2020-01-26T10:17:29.135Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "overview/serviceEditor", "module-name": "overview"}
2020-01-26T10:17:29.135Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "overview/startPortForward", "module-name": "overview"}
2020-01-26T10:17:29.136Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "overview/stopPortForward", "module-name": "overview"}
2020-01-26T10:17:29.137Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "overview/commandExec", "module-name": "overview"}
2020-01-26T10:17:29.137Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "overview/deleteTerminal", "module-name": "overview"}
2020-01-26T10:17:29.138Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "deployment/configuration", "module-name": "overview"}
2020-01-26T10:17:29.139Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "overview/containerEditor", "module-name": "overview"}
2020-01-26T10:17:29.140Z INFO module/manager.go:79 registering action {"component": "module-manager", "actionPath": "octant/deleteObject", "module-name": "configuration"}
2020-01-26T10:17:29.140Z INFO dash/dash.go:391 Using embedded Octant frontend
2020-01-26T10:17:29.143Z INFO dash/dash.go:370 Dashboard is available at http://[::]:8900

You can see that Octant has started, now open port 8900 on Katakoda kubernetes playground to see the Octant dashboard.

In order to open port from Katakoda click on the + and select View HTTP port 8080 on Host 1 and change the port to 8900


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK