Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/checkout-4
Browse files Browse the repository at this point in the history
  • Loading branch information
MR2011 authored Oct 28, 2024
2 parents 885bbe4 + d5943ea commit 87590f8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 19 additions & 0 deletions charts/heureka/templates/PodMonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ template "heureka.fullname" . }}
labels:
{{- include "heureka.labels" . | nindent 4 }}
prometheus: kubernetes
spec:
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}

selector:
matchLabels:
app.kubernetes.io/instance: {{ .Release.Name }}

podMetricsEndpoints:
- port: http
path: /metrics
2 changes: 0 additions & 2 deletions charts/heureka/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
- name: metrics
containerPort: {{ .Values.service.port }}
livenessProbe:
httpGet:
path: /status
Expand Down

0 comments on commit 87590f8

Please sign in to comment.