Add priorityClassName option to values (#9478)

Signed-off-by: Chris O'Brien <chrisob91@gmail.com>
This commit is contained in:
chrisob
2018-11-26 10:17:05 -08:00
committed by k8s-ci-robot
parent 1545459eb6
commit f716d8ae61
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ keywords:
- metric
- monitoring
- prometheus
version: 0.11.0
version: 0.12.0
appVersion: 1.4.0
home: https://github.com/kubernetes/kube-state-metrics/
sources:
+3 -2
View File
@@ -15,7 +15,7 @@ $ helm install stable/kube-state-metrics
| Parameter | Description | Default |
|---------------------------------------|---------------------------------------------------------|---------------------------------------------|
| `image.repository` | The image repository to pull from | quay.io/coreos/kube-state-metrics |
| `image.tag` | The image tag to pull from | `v1.4.0` |
| `image.tag` | The image tag to pull from | `v1.4.0` |
| `image.pullPolicy` | Image pull policy | IfNotPresent |
| `service.port` | The port of the container | 8080 |
| `prometheusScrape` | Whether or not enable prom scrape | true |
@@ -24,8 +24,9 @@ $ helm install stable/kube-state-metrics
| `securityContext.enabled` | Enable security context | `true` |
| `securityContext.fsGroup` | Group ID for the container | `65534` |
| `securityContext.runAsUser` | User ID for the container | `65534` |
| `priorityClassName` | Name of Priority Class to assign pods | `nil` |
| `nodeSelector` | Node labels for pod assignment | {} |
| `tolerations` | Tolerations for pod assignment | [] |
| `tolerations` | Tolerations for pod assignment | [] |
| `podAnnotations` | Annotations to be added to the pod | {} |
| `resources` | kube-state-metrics resource requests and limits | {} |
| `collectors.cronjobs` | Enable the cronjobs collector. | true |
@@ -25,6 +25,9 @@ spec:
fsGroup: {{ .Values.securityContext.fsGroup }}
runAsUser: {{ .Values.securityContext.runAsUser }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
args:
+3
View File
@@ -32,6 +32,9 @@ tolerations: []
# Annotations to be added to the pod
podAnnotations: {}
## Assign a PriorityClassName to pods if set
# priorityClassName: ""
# Available collectors for kube-state-metrics. By default all available
# collectors are enabled.
collectors: