Skip to content

Commit

Permalink
updates to support alternate k8s scheduler (helm#14362)
Browse files Browse the repository at this point in the history
Signed-off-by: Sathya Balakrishnan <[email protected]>
  • Loading branch information
satchpx authored and k8s-ci-robot committed Jun 1, 2019
1 parent fe5e83f commit bd33b03
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/percona/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: percona
version: 1.0.0
version: 1.1.0
appVersion: 5.7.17
description: free, fully compatible, enhanced, open source drop-in replacement for
MySQL
Expand Down
3 changes: 2 additions & 1 deletion stable/percona/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Percona

[Percona Server](https://MySQL.org) for MySQL® is a free, fully compatible, enhanced, open source drop-in replacement for MySQL that provides superior performance, scalability and instrumentation. With over 3,000,000 downloads, Percona Server for MySQL's self-tuning algorithms and support for extremely high-performance hardware delivers excellent performance and reliability.
[Percona Server](https://MySQL.org) for MySQL® is a free, fully compatible, enhanced, open source drop-in replacement for MySQL that provides superior performance, scalability and instrumentation. With over 3,000,000 downloads, Percona Server for MySQL's self-tuning algorithms and support for extremely high-performance hardware delivers excellent performance and reliability.

Notable users include Netflix, Amazon Web Services, Alcatel-Lucent, and Smug Mug.

Expand Down Expand Up @@ -55,6 +55,7 @@ The following table lists the configurable parameters of the Percona chart and t
| `perconaUser` | Username of new user to create. | `nil` |
| `perconaPassword` | Password for the new user. | `nil` |
| `perconaDatabase` | Name for new database to create. | `nil` |
| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
| `persistence.enabled` | Create a volume to store data | false |
| `persistence.size` | Size of persistent volume claim | 8Gi RW |
| `persistence.storageClass` | Type of persistent volume claim | nil (uses alpha storage class annotation) |
Expand Down
3 changes: 3 additions & 0 deletions stable/percona/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ spec:
labels:
app: {{ template "percona.fullname" . }}
spec:
{{- if .Values.schedulerName }}
schedulerName: "{{ .Values.schedulerName }}"
{{- end }}
initContainers:
- name: "remove-lost-found"
image: "busybox:1.25.0"
Expand Down
5 changes: 5 additions & 0 deletions stable/percona/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ imageTag: "5.7.17"
##
imagePullPolicy: IfNotPresent

## Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
# schedulerName: "default-scheduler"

## Persist data to a persistent volume
persistence:
enabled: false
Expand Down

0 comments on commit bd33b03

Please sign in to comment.