diff --git a/charts/sophora-image-update-service/templates/deployment.yaml b/charts/sophora-image-update-service/templates/deployment.yaml index 1a5ccf8..6140045 100644 --- a/charts/sophora-image-update-service/templates/deployment.yaml +++ b/charts/sophora-image-update-service/templates/deployment.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "update-service.labels" . | nindent 4 }} spec: - replicas: 1 + replicas: {{ .Values.replicaCount }} selector: matchLabels: {{- include "update-service.selectorLabels" . | nindent 6 }} diff --git a/charts/sophora-image-update-service/values.yaml b/charts/sophora-image-update-service/values.yaml index 72fb296..21a454b 100644 --- a/charts/sophora-image-update-service/values.yaml +++ b/charts/sophora-image-update-service/values.yaml @@ -54,6 +54,7 @@ serviceMonitor: interval: 10s path: /actuator/prometheus +replicaCount: 1 resources: requests: memory: "2G"