stable/mysql add resources to init container (#13240)

Signed-off-by: Sung Kang <skang0601@gmail.com>
This commit is contained in:
skang0601
2019-04-30 11:18:57 -07:00
committed by Kubernetes Prow Robot
parent c4107a5b7e
commit 0496647c73
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mysql
version: 0.16.0
version: 0.17.0
appVersion: 5.7.14
description: Fast, reliable, scalable, and easy to use open-source relational database
system.
+1
View File
@@ -46,6 +46,7 @@ The following table lists the configurable parameters of the MySQL chart and the
| Parameter | Description | Default |
| -------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| `initContainer.resources` | initContainer resource requests/limits | Memory: `10Mi`, CPU: `10m` |
| `image` | `mysql` image repository. | `mysql` |
| `imageTag` | `mysql` image tag. | `5.7.14` |
| `busybox.image` | `busybox` image repository. | `busybox` |
+2
View File
@@ -31,6 +31,8 @@ spec:
- name: "remove-lost-found"
image: "{{ .Values.busybox.image}}:{{ .Values.busybox.tag }}"
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
resources:
{{ toYaml .Values.initContainer.resources | indent 10 }}
command: ["rm", "-fr", "/var/lib/mysql/lost+found"]
volumeMounts:
- name: data
+8
View File
@@ -177,3 +177,11 @@ podLabels: {}
## Set pod priorityClassName
# priorityClassName: {}
## Init container resources defaults
initContainer:
resources:
requests:
memory: 10Mi
cpu: 10m