mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add priorityClassName option to values (#9483)
Signed-off-by: Chris O'Brien <chrisob91@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "0.16.0"
|
||||
description: A Helm chart for prometheus node-exporter
|
||||
name: prometheus-node-exporter
|
||||
version: 0.5.1
|
||||
version: 0.6.0
|
||||
home: https://github.com/prometheus/node_exporter/
|
||||
sources:
|
||||
- https://github.com/prometheus/node_exporter/
|
||||
|
||||
@@ -50,11 +50,12 @@ The following table lists the configurable parameters of the Node Exporter chart
|
||||
| `service.type` | Service type | `ClusterIP` | |
|
||||
| `service.port` | The service port | `9100` | |
|
||||
| `service.targetPort` | The target port of the container | `9100` | |
|
||||
| `service.annotations` | Kubernetes service annotations | `{prometheus.io/scrape: "true"}` |
|
||||
| `service.annotations` | Kubernetes service annotations | `{prometheus.io/scrape: "true"}` | |
|
||||
| `serviceAccount.create` | Specifies whether a service account should be created. | `true` | |
|
||||
| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template | | |
|
||||
| `serviceAccount.imagePullSecrets` | Specify image pull secrets | `[]` | |
|
||||
| `tolerations` | List of node taints to tolerate | `- effect: NoSchedule operator: Exists` | |
|
||||
| `priorityClassName` | Name of Priority Class to assign pods | `nil` | |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -22,6 +22,9 @@ spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65534
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: {{ .Values.priorityClassName }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: node-exporter
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
@@ -49,6 +49,9 @@ tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
||||
## Assign a PriorityClassName to pods if set
|
||||
# priorityClassName: ""
|
||||
|
||||
## Additional container arguments
|
||||
##
|
||||
extraArgs: {}
|
||||
|
||||
Reference in New Issue
Block a user