Skip to content

Commit

Permalink
Merge pull request #2 from nico151999/feat/resources
Browse files Browse the repository at this point in the history
feat: add resource quotas to s3 jobs
  • Loading branch information
eumel8 authored Apr 3, 2024
2 parents 2bbe93d + 6da6327 commit bcdc0c5
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 117 deletions.
4 changes: 2 additions & 2 deletions charts/s3-register/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: "0.0.1"
appVersion: "0.0.2"
description: Job for create a bucket and a user on S3 backend
maintainers:
- name: eumel8 # Frank Kloeker
email: [email protected]
url: https://www.telekom.com
name: s3-register
version: 0.0.1
version: 0.0.2
4 changes: 4 additions & 0 deletions charts/s3-register/templates/register.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ spec:
image: {{ .Values.image }}
imagePullPolicy: Always
name: register
resources:
{{- .Values.resources | toYaml | nindent 10 }}
env:
- name: S3URL
value: {{ .Values.s3.url }}
Expand Down Expand Up @@ -124,6 +126,8 @@ spec:
image: {{ .Values.image }}
imagePullPolicy: Always
name: register
resources:
{{- .Values.resources | toYaml | nindent 10 }}
env:
- name: S3URL
value: {{ .Values.s3.url }}
Expand Down
8 changes: 8 additions & 0 deletions charts/s3-register/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ s3:
# bucket:
# accesskey:
# secretkey:

resources:
limits:
cpu: "500m"
memory: "1Gi"
requests:
cpu: "200m"
memory: "256Mi"
Loading

0 comments on commit bcdc0c5

Please sign in to comment.