Add revision history limit to dragon-bot so we're not full of old replica sets
This commit is contained in:
parent
e85b2c279c
commit
f854a28c66
@ -8,6 +8,10 @@ spec:
|
|||||||
{{- if not .Values.autoscaling.enabled }}
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.revisionHistoryLimit }}
|
||||||
|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "dragon-bot.selectorLabels" . | nindent 6 }}
|
{{- include "dragon-bot.selectorLabels" . | nindent 6 }}
|
||||||
|
@ -61,6 +61,7 @@ autoscaling:
|
|||||||
maxReplicas: 100
|
maxReplicas: 100
|
||||||
targetCPUUtilizationPercentage: 80
|
targetCPUUtilizationPercentage: 80
|
||||||
# targetMemoryUtilizationPercentage: 80
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
revisionHistoryLimit: 0
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user