mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
Comment cost-saving changes in sandbox Helm Chart (#12424)
These are comments for 3 of the main changes that prevent lingering containers from causing runaway costs in sandbox.
This commit is contained in:
parent
d70ae633c0
commit
2649073d91
@ -10,8 +10,13 @@ metadata:
|
||||
name: {{ .Values.fleetName }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
# Forbiding concurrency prevents runaway costs on failing cronjobs stacking up
|
||||
# see https://docs.google.com/document/d/1-4KmOlgfGEksNZnQo79a9nRLgM_i7ar2qovoZO3s_6g/edit.
|
||||
concurrencyPolicy: Forbid
|
||||
schedule: "{{ .Values.crons.vulnerabilities }}"
|
||||
# EKS Fargate keeps resources running to show the job history.
|
||||
# This saves significantly on compute in AWS.
|
||||
# https://docs.google.com/document/d/1-4KmOlgfGEksNZnQo79a9nRLgM_i7ar2qovoZO3s_6g/edit
|
||||
successfulJobsHistoryLimit: 0
|
||||
jobTemplate:
|
||||
spec:
|
||||
|
@ -10,6 +10,9 @@ metadata:
|
||||
name: {{ .Values.fleetName }}-migration
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
# This will clean up the job to prevent excess costs when using
|
||||
# EKS/Fargate. See
|
||||
# https://docs.google.com/document/d/1-4KmOlgfGEksNZnQo79a9nRLgM_i7ar2qovoZO3s_6g/edit
|
||||
ttlSecondsAfterFinished: 100
|
||||
template:
|
||||
metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user