updates to support an alternate k8s scheduler (#14353)

Signed-off-by: Sathya Balakrishnan <sathya@portworx.com>
This commit is contained in:
satchpx
2019-06-27 16:23:21 -07:00
committed by Kubernetes Prow Robot
parent d0dabedaa6
commit e288a2cb20
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
apiVersion: "v1"
name: "solr"
version: "1.0.2"
version: "1.1.0"
appVersion: "7.6.0"
description: "A helm chart to install Apache Solr: http://lucene.apache.org/solr/"
keywords:
+1
View File
@@ -44,6 +44,7 @@ The following table shows the configuration options for the Solr helm chart:
| `updateStrategy` | The update strategy of the solr pods | `{}` |
| `logLevel` | The log level of the solr pods | `INFO` |
| `podDisruptionBudget` | The pod disruption budget for the Solr statefulset | `{"maxUnavailable": 1}` |
| `schedulerName` | The name of the k8s scheduler (other than default) | ` nil` |
| `volumeClaimTemplates.storageClassName` | The name of the storage class for the Solr PVC | `` |
| `volumeClaimTemplates.storageSize` | The size of the PVC | `20Gi` |
| `volumeClaimTemplates.accessModes` | The access mode of the PVC| `[ "ReadWriteOnce" ]` |
@@ -26,6 +26,9 @@ spec:
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
spec:
{{- if .Values.schedulerName }}
schedulerName: "{{ .Values.schedulerName }}"
{{- end }}
securityContext:
fsGroup: 8983
runAsUser: 8983
+5
View File
@@ -52,6 +52,11 @@ logLevel: "INFO"
podDisruptionBudget:
maxUnavailable: 1
## Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
# schedulerName:
# Configuration for the solr PVC
volumeClaimTemplates:
storageClassName: ""