-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow to setup resources limits (#40)
* fix: use default resources * release: 3.1.1 * fix: remove empty resource * fix: init containers to fix permission * fix: meets the job requirement * fix: post job increase limits * fix: increase memory endpoint * fix: increase persistence limits * fix: improve values * fix: remove docker * fix: separate pvc ensemble manager * fix: add access mode * release * fix: upgrade image ensemble manager * fix: reduce memory endpoint * fix: test remove limits * fix: disable read write many as default * fix: remove comments * fix: default readwrite once
- Loading branch information
Showing
12 changed files
with
212 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kubeconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
{{- if and .Values.components.ensemble_manager.enabled }} | ||
{{- if and .Values.components.ensemble_manager.persistence.enabled (not .Values.components.ensemble_manager.persistence.existingClaim) }} | ||
kind: PersistentVolumeClaim | ||
apiVersion: v1 | ||
metadata: | ||
name: {{ include "mint.prefix" . }}-ensemble-manager | ||
namespace: {{ .Release.Namespace | quote }} | ||
{{- if or .Values.components.ensemble_manager.persistence.annotations .Values.commonAnnotations }} | ||
annotations: | ||
{{- if .Values.components.ensemble_manager.persistence.annotations }} | ||
{{- include "common.tplvalues.render" ( dict "value" .Values.components.ensemble_manager.persistence.annotations "context" $ ) | nindent 4 }} | ||
{{- end }} | ||
{{- if .Values.commonAnnotations }} | ||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} | ||
{{- end }} | ||
{{- end }} | ||
spec: | ||
accessModes: | ||
{{- if not (empty .Values.components.ensemble_manager.persistence.accessModes) }} | ||
{{- range .Values.components.ensemble_manager.persistence.accessModes }} | ||
- {{ . | quote }} | ||
{{- end }} | ||
{{- else }} | ||
- "ReadWriteOnce" | ||
{{- end }} | ||
resources: | ||
requests: | ||
storage: {{ .Values.components.ensemble_manager.persistence.size | quote }} | ||
{{- include "common.storage.class" (dict "persistence" .Values.components.ensemble_manager.persistence "global" .Values.global) | nindent 2 }} | ||
{{- if .Values.components.ensemble_manager.persistence.dataSource }} | ||
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.components.ensemble_manager.persistence.dataSource "context" $) | nindent 4 }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.