Skip to content

Commit

Permalink
synthetic-monitoring-agent: remove references to HPA or multiple repl…
Browse files Browse the repository at this point in the history
…icas

Signed-off-by: Nadia Santalla <[email protected]>
  • Loading branch information
roobre committed Nov 5, 2024
1 parent 834299b commit 22802f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 49 deletions.
2 changes: 1 addition & 1 deletion charts/synthetic-monitoring-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name: synthetic-monitoring-agent
sources:
- https://github.com/grafana/synthetic-monitoring-agent
type: application
version: 0.5.0
version: 0.5.1
4 changes: 1 addition & 3 deletions charts/synthetic-monitoring-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ spec:
{{- toYaml . | nindent 4 }}
{{- end }}
minReadySeconds: 10
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
replicas: 1
selector:
matchLabels:
{{- include "synthetic-monitoring-agent.selectorLabels" . | nindent 6 }}
Expand Down
28 changes: 0 additions & 28 deletions charts/synthetic-monitoring-agent/templates/hpa.yaml

This file was deleted.

20 changes: 3 additions & 17 deletions charts/synthetic-monitoring-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ agent:
# -- Enable / disable verbose logging on the agent.
verbose: false

# -- Number of replicas to use; ignored if `autoscaling.enabled` is set to `true`.
replicaCount: 1

image:
# -- Base registry to pull the container image from.
registry: docker.io
Expand Down Expand Up @@ -72,18 +69,6 @@ resources:
# cpu: 200m
# memory: 512Mi

autoscaling:
# -- Enable autoscaling
enabled: false
# -- Minimum autoscaling replicas
minReplicas: 1
# -- Maximum autoscaling replicas
maxReplicas: 3
# -- Target CPU utilisation percentage
targetCPUUtilizationPercentage: 60
# -- Target memory utilisation percentage
targetMemoryUtilizationPercentage:

# -- Liveness probe for the agent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -150,10 +135,11 @@ affinity: {}
extraObjects: []

secret:
# -- Reference an existing secret for API token
# -- Reference an existing secret for API token
existingSecret: ""

# -- See `kubectl explain deployment.spec.strategy` for more
# ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
deploymentStrategy: {}
deploymentStrategy:
{}
# type: RollingUpdate

0 comments on commit 22802f5

Please sign in to comment.