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

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2021-10-16
  • 2021-04-07
  • 2021-12-03
  • 2021-10-06
  • 2021-08-04
猜你喜欢
  • 2022-03-10
  • 2021-12-23
  • 2021-04-19
  • 2021-10-09
  • 2022-01-04
  • 2021-11-05
相关资源
相似解决方案