From de45e5bc25e24ec96f65fc852badda28fd38380d Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 6 Aug 2023 06:44:01 -0500 Subject: [PATCH] update traefik --- traefik/values.yaml | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/traefik/values.yaml b/traefik/values.yaml index e61edc6..1788658 100644 --- a/traefik/values.yaml +++ b/traefik/values.yaml @@ -38,7 +38,7 @@ traefik: # Number of pods of the deployment (only applies when kind == Deployment) replicas: 1 # Number of old history to retain to allow rollback (If not set, default Kubernetes value is set to 10) - # revisionHistoryLimit: 1 + revisionHistoryLimit: 1 # Amount of time (in seconds) before Kubernetes will send the SIGKILL signal if Traefik does not shut down terminationGracePeriodSeconds: 60 # The minimum number of seconds Traefik needs to be up and running before the DaemonSet/Deployment controller considers it available @@ -727,29 +727,29 @@ traefik: ## Create HorizontalPodAutoscaler object. ## autoscaling: - enabled: false - # minReplicas: 1 - # maxReplicas: 10 - # metrics: - # - type: Resource - # resource: - # name: cpu - # target: - # type: Utilization - # averageUtilization: 60 - # - type: Resource - # resource: - # name: memory - # target: - # type: Utilization - # averageUtilization: 60 - # behavior: - # scaleDown: - # stabilizationWindowSeconds: 300 - # policies: - # - type: Pods - # value: 1 - # periodSeconds: 60 + enabled: true + minReplicas: 1 + maxReplicas: 10 + metrics: + - type: Resource + resource: + name: cpu + target: + type: Utilization + averageUtilization: 60 + - type: Resource + resource: + name: memory + target: + type: Utilization + averageUtilization: 60 + behavior: + scaleDown: + stabilizationWindowSeconds: 300 + policies: + - type: Pods + value: 1 + periodSeconds: 60 # Enable persistence using Persistent Volume Claims # ref: http://kubernetes.io/docs/user-guide/persistent-volumes/