mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
Add a dot to make DNS names absolute
Kubernetes sets up a lengthy DNS search path, so any names are looked up multiple times. Adding a dot at the end tells the DNS resolver the name is absolute, and should not be tried against the search path. This will reduce pointless DNS lookups.
This commit is contained in:
@@ -27,7 +27,7 @@ spec:
|
||||
- '--probe.kubernetes=true'
|
||||
- '--probe.cri=true'
|
||||
- '--probe.cri.endpoint=unix:///var/run/crio/crio.sock'
|
||||
- 'weave-scope-app.weave.svc.cluster.local:80'
|
||||
- 'weave-scope-app.weave.svc.cluster.local.:80'
|
||||
env:
|
||||
- name: KUBERNETES_NODENAME
|
||||
valueFrom:
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
- '--probe.kubernetes.role=host'
|
||||
- '--probe.docker.bridge=docker0'
|
||||
- '--probe.docker=true'
|
||||
- 'weave-scope-app.weave.svc.cluster.local:80'
|
||||
- 'weave-scope-app.weave.svc.cluster.local.:80'
|
||||
image: weaveworks/scope:1.10.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user