https://www.weave.works/docs/scope/latest/installing
https://github.com/weaveworks/scope
https://www.weave.works/docs/scope/latest/installing/#k8s
[root@master ~]# 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.rbac.authorization.k8s.io/weave-scope created
clusterrolebinding.rbac.authorization.k8s.io/weave-scope created
deployment.apps/weave-scope-app created
service/weave-scope-app created
deployment.apps/weave-scope-cluster-agent created
daemonset.apps/weave-scope-agent created
[root@master ~]# kubectl get svc -n weave |grep weave-scope-app
weave-scope-app ClusterIP 10.98.79.215 <none> 80/TCP 21s
[root@master ~]# kubectl patch svc $(kubectl get svc -n weave |grep weave-scope-app |awk '{print $1}') -p '{"spec":{"type": "NodePort"}}' -n weave
service/weave-scope-app patched
[root@master ~]# kubectl get svc -n weave |grep weave-scope-app
weave-scope-app NodePort 10.98.79.215 <none> 80:30222/TCP 102s
[root@master ~]#
[root@master ~]# kubectl get pod -n weave -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
weave-scope-agent-25sc7 1/1 Running 0 3m1s 192.168.6.113 node02 <none> <none>
weave-scope-agent-fljc5 1/1 Running 0 3m1s 192.168.6.112 node01 <none> <none>
weave-scope-agent-rbpsm 1/1 Running 0 3m1s 192.168.6.111 master <none> <none>
weave-scope-app-bc7444d59-kvk28 1/1 Running 0 3m2s 192.168.196.144 node01 <none> <none>
weave-scope-cluster-agent-5c5dcc8cb-gqsx6 1/1 Running 0 3m2s 192.168.196.145 node01 <none> <none>
[root@master ~]#