Skip to content

Commit

Permalink
tmpdir for model-builder (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
koropets authored Oct 13, 2021
1 parent c7f2718 commit d781dbd
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ spec:
claimName: azurefile
- name: datalake-access-token
secret:
secretName: datalake-access-token # Must be saved{% if volumes %}
secretName: datalake-access-token # Must be saved
- name: tmpdir
emptyDir: {}{% if volumes %}
{{ volumes | yaml | indent(2, True) }}{% endif %}

templates:
Expand Down Expand Up @@ -738,7 +740,10 @@ spec:
{{ builder_runtime["env"] | yaml | indent(6, True) }}{% endif %}
volumeMounts:
- name: azurefile
mountPath: /gordo{% if "volumeMounts" in builder_runtime %}
mountPath: /gordo
- name: tmpdir
mountPath: /tmp
{% if "volumeMounts" in builder_runtime %}
{{ builder_runtime["volumeMounts"] | yaml | indent(6, True) }}{% endif %}
resources:
requests:
Expand Down

0 comments on commit d781dbd

Please sign in to comment.