mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
944 B
16 lines
944 B
5 years ago
|
###################################################################################################
|
||
|
# parent-chart horizontal pod autoscaler
|
||
|
###################################################################################################
|
||
|
apiVersion: autoscaling/v1
|
||
|
kind: HorizontalPodAutoscaler
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-autoscaler
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
spec:
|
||
|
scaleTargetRef:
|
||
|
apiVersion: apps/v1beta1
|
||
|
kind: Deployment
|
||
|
name: {{ .Release.Name }}
|
||
|
minReplicas: {{ required "A valid .Values.resources.autoscaler.minReplicas entry required!" .Values.resources.autoscaler.minReplicas }}
|
||
|
maxReplicas: {{ required "A valid .Values.resources.autoscaler.maxReplicas entry required!" .Values.resources.autoscaler.maxReplicas }}
|
||
|
targetCPUUtilizationPercentage: {{ required "A valid .Values.resources.autoscaler.targetCPUUtilizationPercentage!" .Values.resources.autoscaler.targetCPUUtilizationPercentage }}
|