Add revision history limit to dragon-bot so we're not full of old replica sets

This commit is contained in:
Luke Robles 2022-05-21 18:04:04 -07:00
parent e85b2c279c
commit f854a28c66
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,10 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
{{- if .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- end }}
selector:
matchLabels:
{{- include "dragon-bot.selectorLabels" . | nindent 6 }}

View File

@ -61,6 +61,7 @@ autoscaling:
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
revisionHistoryLimit: 0
nodeSelector: {}