[Weave Scope] Add priorityClassName for DaemonSet (#20893)

Signed-off-by: Thibault Cohen <titilambert@ttb.lt>
This commit is contained in:
Thibault Cohen
2020-02-26 14:43:19 -08:00
committed by GitHub
parent 845bfd6a7e
commit ee50ef74be
7 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: weave-scope
version: 1.1.8
version: 1.1.9
appVersion: 1.12.0
description: A Helm chart for the Weave Scope cluster visualizer.
keywords:
+1
View File
@@ -87,6 +87,7 @@ The **agent** section controls how the Weave Scope node agent pods are installed
| **dockerBridge** | the name of the Docker bridge interface | `docker0` |
| **scopeFrontendAddr** | the host:port of a Scope frontend to send data to -- this is only needed in cases where the frontend is deployed separately from the agent (e.g. an install outside the cluster or a pre-existing install inside it) | |
| **probeToken** | the token used to connect to Weave Cloud -- this is not needed for connecting to non-cloud Scope frontends | |
| **priorityClassName** | The priorityClassName used for the Daemonset | |
| **readOnly** | disables all controls (e.g. start/stop, terminal, logs, etc.) | `false` |
| **resources.*** | controls requests/limits for the agent (these values are all optional) | |
| **resources.requests.cpu** | CPU request in MHz (m) | |
@@ -1,6 +1,6 @@
description: A Helm chart for the Weave Scope cluster visualizer node agent.
name: weave-scope-agent
version: 1.1.8
version: 1.1.9
appVersion: 1.12.0
keywords:
- containers
@@ -25,6 +25,9 @@ spec:
tolerations:
- effect: NoSchedule
operator: Exists
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- name: {{ template "weave-scope-agent.name" . }}
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.tag }}"
@@ -1,6 +1,6 @@
description: A Helm chart for the Weave Scope cluster visualizer node agent.
name: weave-scope-cluster-agent
version: 1.1.8
version: 1.1.9
appVersion: 1.12.0
keywords:
- containers
@@ -1,6 +1,6 @@
description: A Helm chart for the Weave Scope cluster visualizer frontend.
name: weave-scope-frontend
version: 1.1.8
version: 1.1.9
appVersion: 1.12.0
keywords:
- containers
+1
View File
@@ -60,6 +60,7 @@ weave-scope-frontend:
weave-scope-agent:
enabled: true
flags: []
# priorityClassName:
# weave-scope-agent.dockerBridge: (required if agent.enabled == true) the name of the Docker bridge interface
dockerBridge: "docker0"
# weave-scope-agent.scopeFrontendAddr: the host:port of a Scope frontend to send data to