apiVersion: apps/v1 kind: Deployment metadata: name: weave-scope-cluster-agent namespace: weave labels: name: weave-scope-cluster-agent app: weave-scope weave-cloud-component: scope weave-scope-component: cluster-agent spec: replicas: 1 selector: matchLabels: name: weave-scope-cluster-agent app: weave-scope weave-cloud-component: scope weave-scope-component: cluster-agent template: metadata: labels: name: weave-scope-cluster-agent app: weave-scope weave-cloud-component: scope weave-scope-component: cluster-agent spec: serviceAccountName: weave-scope containers: - name: scope-cluster-agent image: docker.io/weaveworks/scope:1.13.1 imagePullPolicy: IfNotPresent ports: - containerPort: 4041 protocol: TCP args: - '--mode=probe' - '--probe-only' - '--probe.kubernetes.role=cluster' - '--probe.http.listen=:4041' - '--probe.publish.interval=4500ms' - '--probe.spy.interval=2s' - 'weave-scope-app.weave.svc.cluster.local:80' command: - /home/weave/scope env: [] resources: limits: memory: 2000Mi requests: cpu: 25m memory: 80Mi