码迷,mamicode.com
首页 > Web开发 > 详细

Kubernetes 部署Weave Scope监控

时间:2018-08-27 21:48:52      阅读:912      评论:0      收藏:0      [点我收藏+]

标签:技术分享   info   data   效果   utc   http   address   src   opened   

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": "support@weave.works"
          }
      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监控

标签:技术分享   info   data   效果   utc   http   address   src   opened   

原文地址:https://www.cnblogs.com/vincenshen/p/9543774.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!