diff --git a/charts/primary-site/Chart.yaml b/charts/primary-site/Chart.yaml index 4179a75..6432b6d 100644 --- a/charts/primary-site/Chart.yaml +++ b/charts/primary-site/Chart.yaml @@ -13,6 +13,6 @@ type: application # 1.0.0-alpha.0 # 1.0.0-alpha.1 # 1.0.0 -version: "0.0.47" +version: "0.0.48" appVersion: "93273ddcd2bc95a010257dea19c97f9a8579a87b" diff --git a/charts/primary-site/templates/deployments/inbox-listener.yaml b/charts/primary-site/templates/deployments/inbox-listener.yaml index 6a383e8..ab9faac 100644 --- a/charts/primary-site/templates/deployments/inbox-listener.yaml +++ b/charts/primary-site/templates/deployments/inbox-listener.yaml @@ -6,9 +6,9 @@ metadata: spec: minReplicaCount: {{ .Values.inboxListener.autoscaling.minReplicas }} maxReplicaCount: {{ .Values.inboxListener.autoscaling.maxReplicas }} - successfulJobsHistoryLimit: 50 - failedJobsHistoryLimit: 100 - pollingInterval: 30 + successfulJobsHistoryLimit: {{ .Values.inboxListener.autoscaling.successfulJobsHistoryLimit }} + failedJobsHistoryLimit: {{ .Values.inboxListener.autoscaling.failedJobsHistoryLimit }} + pollingInterval: {{ .Values.inboxListener.autoscaling.pollingInterval }} jobTargetRef: parallelism: 1 activeDeadlineSeconds: 86400 diff --git a/charts/primary-site/values.yaml b/charts/primary-site/values.yaml index 68fba9d..be409da 100644 --- a/charts/primary-site/values.yaml +++ b/charts/primary-site/values.yaml @@ -113,6 +113,13 @@ inboxListener: # wait for new work items. It is unlikely that this value should be changed. The value should only be set when # using this auto-scaling. maxWaitForWork: "30s" + # how many successful jobs to keep in Kubernetes history, this is a safe default, but may be lowered if + # desired. + successfulJobsHistoryLimit: 50 + # how many failed jobs to keep in Kubernetes history, this is a safe default, but may be lowered if desired. + failedJobsHistoryLimit: 100 + # how often to poll the autoscaling metric in seconds, provided as an integer. this is a safe default. + pollingInterval: 30 streamService: service: