Restructure Scope and add Net deployement
This commit is contained in:
parent
adc365c2fb
commit
6bb4dfc922
19 changed files with 675 additions and 14 deletions
59
files/scope/weave-scope-cluster-agent-Deployment.yaml
Normal file
59
files/scope/weave-scope-cluster-agent-Deployment.yaml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: weave-scope-cluster-agent
|
||||
annotations:
|
||||
cloud.weave.works/launcher-info: |-
|
||||
{
|
||||
"original-request": {
|
||||
"url": "/k8s/1.13.0/scope.yaml",
|
||||
"date": "Mon Apr 27 2020 20:49:06 GMT+0000 (UTC)"
|
||||
},
|
||||
"email-address": "support@weave.works"
|
||||
}
|
||||
labels:
|
||||
name: weave-scope-cluster-agent
|
||||
app: weave-scope
|
||||
weave-cloud-component: scope
|
||||
weave-scope-component: cluster-agent
|
||||
namespace: weave
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 2
|
||||
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:
|
||||
containers:
|
||||
- name: scope-cluster-agent
|
||||
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: []
|
||||
image: 'docker.io/weaveworks/scope:1.13.0'
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 4041
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 80Mi
|
||||
serviceAccountName: weave-scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue