1. 程式人生 > >Kubernetes 部署Weave Scope監控

Kubernetes 部署Weave Scope監控

target 下載地址 targe launcher ota ddr img 監控 name

yaml下載地址: https://cloud.weave.works/k8s/scope.yaml?k8s-version=?

目前有以下幾個版本:

["v1.4","v1.5","v1.6","v1.7","v1.8","v1.9","v1.10"]

修改yaml中的Service為NodePort

技術分享圖片
 - apiVersion: v1
    kind: Service
    metadata:
      name: weave-scope-app
      annotations:
        cloud.weave.works/launcher-info: |-
          {
            
"original-request": { "url": "/k8s/scope.yaml?k8s-version=v1.10", "date": "Mon Aug 27 2018 09:45:08 GMT+0000 (UTC)" }, "email-address": "[email protected]" } labels: name: weave-scope-app app: weave-scope weave-cloud-component: scope weave
-scope-component: app namespace: weave spec: type: NodePort ports: - name: app port: 80 protocol: TCP targetPort: 4040 nodePort: 30088 selector: name: weave-scope-app app: weave-scope weave-cloud-component: scope weave
-scope-component: app
View Code

效果圖:

技術分享圖片

Kubernetes 部署Weave Scope監控