Skip to content

Commit

Permalink
Merge pull request #45 from ant-media/add-temp-storage
Browse files Browse the repository at this point in the history
Add temp storage for ams deployments
  • Loading branch information
mekya authored Aug 21, 2024
2 parents d688d01 + d92f298 commit 266808a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/ams-k8s-deployment-edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,17 @@ spec:
port: 5080
initialDelaySeconds: 30
periodSeconds: 10
volumeMounts:
- mountPath: /tmp
name: temp-volume
resources:
{{ "requests:" | indent 2 }}
{{ "cpu:" | indent 4 }} {{ .Values.EdgeCpu }}
{{- end }}
volumes:
- hostPath:
path: /temp-data
type: DirectoryOrCreate
name: temp-volume

{{end}}
8 changes: 8 additions & 0 deletions templates/ams-k8s-deployment-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,15 @@ spec:
port: 5080
initialDelaySeconds: 30
periodSeconds: 10
volumeMounts:
- mountPath: /tmp
name: temp-volume
resources:
{{ "requests:" | indent 2 }}
{{ "cpu:" | indent 4 }} {{ .Values.OriginCpu }}
{{- end }}
volumes:
- hostPath:
path: /temp-data
type: DirectoryOrCreate
name: temp-volume

0 comments on commit 266808a

Please sign in to comment.