diff --git a/components/tyk-gateway/templates/hpa.yaml b/components/tyk-gateway/templates/hpa.yaml index 084f9e3f..bbb1bea9 100644 --- a/components/tyk-gateway/templates/hpa.yaml +++ b/components/tyk-gateway/templates/hpa.yaml @@ -33,4 +33,8 @@ spec: {{- with .Values.gateway.autoscaling.autoscalingTemplate }} {{ toYaml . | indent 4}} {{- end}} +{{- with .Values.gateway.autoscaling.behavior }} + behavior: +{{ toYaml . | indent 4}} +{{- end}} {{- end }} diff --git a/components/tyk-gateway/values.yaml b/components/tyk-gateway/values.yaml index e6cf08dc..57f42887 100644 --- a/components/tyk-gateway/values.yaml +++ b/components/tyk-gateway/values.yaml @@ -243,6 +243,23 @@ gateway: # target: # type: AverageValue # averageValue: 10000m + # behavior: + # scaleDown: + # stabilizationWindowSeconds: 300 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # scaleUp: + # stabilizationWindowSeconds: 0 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # - type: Pods + # value: 4 + # periodSeconds: 15 + # selectPolicy: Max image: # image repository for Tyk Gateway diff --git a/tyk-data-plane/values.yaml b/tyk-data-plane/values.yaml index 1774cf93..75265910 100644 --- a/tyk-data-plane/values.yaml +++ b/tyk-data-plane/values.yaml @@ -240,6 +240,23 @@ tyk-gateway: # target: # type: AverageValue # averageValue: 10000m + # behavior: + # scaleDown: + # stabilizationWindowSeconds: 300 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # scaleUp: + # stabilizationWindowSeconds: 0 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # - type: Pods + # value: 4 + # periodSeconds: 15 + # selectPolicy: Max image: # image repository for Tyk Gateway diff --git a/tyk-oss/values.yaml b/tyk-oss/values.yaml index 9ac9341d..ef6fea39 100644 --- a/tyk-oss/values.yaml +++ b/tyk-oss/values.yaml @@ -231,6 +231,23 @@ tyk-gateway: # target: # type: AverageValue # averageValue: 10000m + # behavior: + # scaleDown: + # stabilizationWindowSeconds: 300 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # scaleUp: + # stabilizationWindowSeconds: 0 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # - type: Pods + # value: 4 + # periodSeconds: 15 + # selectPolicy: Max image: # image repository for Tyk Gateway diff --git a/tyk-stack/values.yaml b/tyk-stack/values.yaml index 484303db..8379849f 100644 --- a/tyk-stack/values.yaml +++ b/tyk-stack/values.yaml @@ -329,6 +329,23 @@ tyk-gateway: # target: # type: AverageValue # averageValue: 10000m + # behavior: + # scaleDown: + # stabilizationWindowSeconds: 300 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # scaleUp: + # stabilizationWindowSeconds: 0 + # policies: + # - type: Percent + # value: 100 + # periodSeconds: 15 + # - type: Pods + # value: 4 + # periodSeconds: 15 + # selectPolicy: Max # analyticsEnabled property is used to enable/disable analytics. # If set to empty or nil, analytics will be enabled/disabled based on `global.components.pump`.