https://www.weave.works/docs/scope/latest/installing

    https://github.com/weaveworks/scope

    https://www.weave.works/docs/scope/latest/installing/#k8s

    1. [root@master ~]# kubectl apply -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"
    2. namespace/weave created
    3. serviceaccount/weave-scope created
    4. clusterrole.rbac.authorization.k8s.io/weave-scope created
    5. clusterrolebinding.rbac.authorization.k8s.io/weave-scope created
    6. deployment.apps/weave-scope-app created
    7. service/weave-scope-app created
    8. deployment.apps/weave-scope-cluster-agent created
    9. daemonset.apps/weave-scope-agent created
    10. [root@master ~]# kubectl get svc -n weave |grep weave-scope-app
    11. weave-scope-app ClusterIP 10.98.79.215 <none> 80/TCP 21s
    12. [root@master ~]# kubectl patch svc $(kubectl get svc -n weave |grep weave-scope-app |awk '{print $1}') -p '{"spec":{"type": "NodePort"}}' -n weave
    13. service/weave-scope-app patched
    14. [root@master ~]# kubectl get svc -n weave |grep weave-scope-app
    15. weave-scope-app NodePort 10.98.79.215 <none> 80:30222/TCP 102s
    16. [root@master ~]#
    17. [root@master ~]# kubectl get pod -n weave -o wide
    18. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
    19. weave-scope-agent-25sc7 1/1 Running 0 3m1s 192.168.6.113 node02 <none> <none>
    20. weave-scope-agent-fljc5 1/1 Running 0 3m1s 192.168.6.112 node01 <none> <none>
    21. weave-scope-agent-rbpsm 1/1 Running 0 3m1s 192.168.6.111 master <none> <none>
    22. weave-scope-app-bc7444d59-kvk28 1/1 Running 0 3m2s 192.168.196.144 node01 <none> <none>
    23. weave-scope-cluster-agent-5c5dcc8cb-gqsx6 1/1 Running 0 3m2s 192.168.196.145 node01 <none> <none>
    24. [root@master ~]#

    image.png