mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
Set hostname to Kubernetes node name
This will allow the app to match up data from node and cluster probes
This commit is contained in:
@@ -31,6 +31,11 @@ spec:
|
||||
- '--probe.docker.bridge=docker0'
|
||||
- '--probe.docker=true'
|
||||
- 'weave-scope-app.weave.svc.cluster.local.:80'
|
||||
env:
|
||||
- name: SCOPE_HOSTNAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: weaveworks/scope:1.13.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user