File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ {{/*
2+ SPDX-FileCopyrightText : 2026 SAP SE or an SAP affiliate company and Greenhouse contributors
3+ SPDX-License-Identifier : Apache-2.0
4+ */}}
5+
6+ ---
7+ apiVersion : v1
8+ kind : Service
9+ metadata :
10+ name : shoot-grafter-metrics
11+ namespace : {{ .Release.Namespace }}
12+ labels :
13+ app : shoot-grafter
14+ spec :
15+ type : ClusterIP
16+ selector :
17+ app : shoot-grafter
18+ ports :
19+ - name : metrics
20+ port : 8080
21+ targetPort : 8080
22+ protocol : TCP
23+
24+ ---
25+ apiVersion : monitoring.coreos.com/v1
26+ kind : ServiceMonitor
27+ metadata :
28+ name : shoot-grafter
29+ namespace : {{ .Release.Namespace }}
30+ labels :
31+ app : shoot-grafter
32+ {{- with .Values.monitoring.labels }}
33+ {{- toYaml . | nindent 4 }}
34+ {{- end }}
35+ spec :
36+ endpoints :
37+ - honorLabels : true
38+ interval : 30s
39+ port : metrics
40+ scheme : http
41+ path : /metrics
42+ namespaceSelector :
43+ matchNames :
44+ - {{ .Release.Namespace }}
45+ selector :
46+ matchLabels :
47+ app : shoot-grafter
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44replicaCount : 1
5+
56image :
67 registry : ghcr.io/cloudoperators
78 repository : shoot-grafter
89 pullPolicy : IfNotPresent
10+
11+ monitoring :
12+ labels :
13+ plugin : kube-monitoring
You can’t perform that action at this time.
0 commit comments