Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
feat(helm): adoption in service-monitor and default limits for pod (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
  • Loading branch information
haarchri committed Aug 1, 2023
1 parent 2519787 commit a9b3a04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cluster/charts/x-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: x-metrics
description: A Helm chart for x-metrics
type: application
version: 0.1.1
version: 0.1.2
appVersion: "v0.1.0"

maintainers:
Expand Down
4 changes: 2 additions & 2 deletions cluster/charts/x-metrics/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ spec:
matchNames:
- {{ .Values.namespace }}
endpoints:
- path: managedmetrics
- path: x-metrics
port: metrics
scheme: http
interval: {{ .Values.serviceMonitor.interval }}
selector:
matchLabels:
app: {{ include "x-metrics.fullname" . }}
app.kubernetes.io/name: {{ include "x-metrics.fullname" . }}
{{- end }}
4 changes: 2 additions & 2 deletions cluster/charts/x-metrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ ingress:

resources:
limits:
cpu: 100m
memory: 128Mi
cpu: 300m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
Expand Down

0 comments on commit a9b3a04

Please sign in to comment.