# borrowed from https://cloud.weave.works/k8s/scope.yaml?k8s-version=1.9.3 apiVersion: v1 kind: Service metadata: name: weave-scope-app labels: name: weave-scope-app app: weave-scope weave-cloud-component: scope weave-scope-component: app namespace: weave spec: ports: - name: app port: 80 protocol: TCP targetPort: 4040 selector: name: weave-scope-app app: weave-scope weave-cloud-component: scope weave-scope-component: app