/
6. Install and Use Weave UI
6. Install and Use Weave UI
If you like to see kubernetes components in web-UI, wave provides "weave scope" UI.
Ref: https://www.weave.works/docs/scope/latest/installing/#k8s
Follow the below steps:
# install weave Scope.
$ kubectl apply -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"
namespace "weave" created
serviceaccount "weave-scope" created
clusterrole "weave-scope" created
clusterrolebinding "weave-scope" created
deployment "weave-scope-app" created
service "weave-scope-app" created
daemonset "weave-scope-agent" created
Note: In the case of federation setup, change the current-context to that of host cluster, before running the above command.
Then install firefox.
$ apt install firefox
# Port forwarding
$ kubectl port-forward -n weave "$(kubectl get -n weave pod --selector=weave-scope-component=app -o jsonpath='{.items..metadata.name}')" 4040
Forwarding from 127.0.0.1:4040 -> 4040
Then run firefox on a separate shell. Assuming that "X11-Forwarding" is enabled, a firefox window will pop up. (it could be very slow.. wait enough after running firefox).
In the URL, navigate to http://localhost:4040
# If Firefox is slow, you can try google-chrome.. ( tested this: https://askubuntu.com/questions/79280/how-to-install-chrome-browser-properly-via-command-line)
You will see the below output.
, multiple selections available,
Related content
Configure Kubernetes Dashboard
Configure Kubernetes Dashboard
More like this
1. Creating K8S Cluster for Federation
1. Creating K8S Cluster for Federation
More like this
5. Install and Use Kubernetes UI
5. Install and Use Kubernetes UI
More like this
2. Setup CoreDNS
2. Setup CoreDNS
More like this
5. Deploying Federation Control Plane
5. Deploying Federation Control Plane
More like this
Instructions for K8S cluster setup on AWS
Instructions for K8S cluster setup on AWS
More like this