search by tags

for the user

adventures into the land of the command line

kube ops view

was introduced to this awesome k8s cluster monitoring tool recently.

so how did i set it up?

linux

★ docker run -it --net=host -v ~/.kube:/kube hjacobs/kube-ops-view --kubeconfig-path=/kube/config

mac osx

★ docker run -it -p 8080:8080 -e CLUSTERS=http://docker.for.mac.localhost:8001 -v ~/.kube:/kube hjacobs/kube-ops-view --kubeconfig-path=/kube/kube-ops-view-config
INFO:kube_ops_view.main:Listening on :8080..
INFO:kube_ops_view.update:Discovered new cluster groovycluster (https://my.groovy.cluster).
INFO:kube_ops_view.update:Discovered new cluster groovyclusterqa (https://my.groovy-qa.cluster).
INFO:kube_ops_view.update:Discovered new cluster groovyclusterstaging (https://my.groovy-staging.cluster).
INFO:kube_ops_view.update:Discovered new cluster groovyclusterotherthing (https://my.groovy-other-thing.cluster).
172.17.0.1 - - [2018-08-01 13:45:39] "GET / HTTP/1.1" 200 1395 0.016821
172.17.0.1 - - [2018-08-01 13:45:39] "GET /robots.txt HTTP/1.1" 404 342 0.028344
172.17.0.1 - - [2018-08-01 13:45:39] "GET /static/build/app-5d6397309d6c9c25a225.js HTTP/1.1" 200 487893 0.104196
172.17.0.1 - - [2018-08-01 13:45:40] "GET /static/favicon.ico HTTP/1.1" 200 1708 0.019843

navigate to http://127.0.0.1:8080 in your browser and you will have the awesome: