Skip to content

Commit

Permalink
fix(backend): saas api hpa 配置问题 TencentBlueKing#7107
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Sep 24, 2024
1 parent e2e4e33 commit a3c707f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "bk-dbm.fullname" . }}
name: {{ include "dbm.saas-api.fullname" . }}
labels:
{{- include "bk-dbm.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "bk-dbm.fullname" . }}
name: {{ include "dbm.saas-api.fullname" . }}
minReplicas: {{ .Values.saas.api.autoscaling.minReplicas }}
maxReplicas: {{ .Values.saas.api.autoscaling.maxReplicas }}
metrics:
Expand Down

0 comments on commit a3c707f

Please sign in to comment.