diff --git a/templates/terra/deployment.yaml b/templates/terra/deployment.yaml index 4bf9fae..5d2781a 100644 --- a/templates/terra/deployment.yaml +++ b/templates/terra/deployment.yaml @@ -5,6 +5,7 @@ metadata: namespace: argocd spec: revisionHistoryLimit: 0 + replicas: 1 selector: matchLabels: app: terra diff --git a/templates/terra/hpa.yaml b/templates/terra/hpa.yaml deleted file mode 100644 index edea55a..0000000 --- a/templates/terra/hpa.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: terra - namespace: argocd -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: terra - minReplicas: {{ .Values.terra.autoscaling.min_replicas }} - maxReplicas: {{ .Values.terra.autoscaling.max_replicas }} - behavior: - scaleDown: - stabilizationWindowSeconds: 30 - scaleUp: - stabilizationWindowSeconds: 10 - metrics: - - type: ContainerResource - containerResource: - name: cpu - container: terra - target: - type: Utilization - averageUtilization: 50