Skip to content

Commit

Permalink
prefect-agent v0.2.1, update base version to 0.14.22, add job resourc…
Browse files Browse the repository at this point in the history
…e configuration
  • Loading branch information
elephantum committed Jun 23, 2021
1 parent 7cfcfee commit 0424e28
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/prefect-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.14.14-python3.6
appVersion: 0.14.22-python3.6
8 changes: 4 additions & 4 deletions charts/prefect-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ spec:
- name: PREFECT__CLOUD__AGENT__LABELS
value: '{{ .Values.agent.labels }}'
- name: JOB_MEM_REQUEST
value: ''
value: {{ .Values.job.resources.requests.memory | quote }}
- name: JOB_MEM_LIMIT
value: '2Gi'
value: {{ .Values.job.resources.limits.memory | quote }}
- name: JOB_CPU_REQUEST
value: ''
value: {{ .Values.job.resources.requests.cpu | quote }}
- name: JOB_CPU_LIMIT
value: '2'
value: {{ .Values.job.resources.limits.cpu | quote }}
- name: IMAGE_PULL_POLICY
value: ''
- name: SERVICE_ACCOUNT_NAME
Expand Down
20 changes: 19 additions & 1 deletion charts/prefect-agent/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
image:
repository: prefecthq/prefect
tag: 0.14.14-python3.6
tag: 0.14.22-python3.6

namespace: default

agent:
serviceAccountName: 'prefect-agent'

token: ''

labels: ''

job:
resources:
requests:
cpu: ''
memory: ''
limits:
cpu: '2'
memory: '2Gi'

0 comments on commit 0424e28

Please sign in to comment.