mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-08 06:33:56 +00:00
sample hpa
This commit is contained in:
parent
d2deecefbc
commit
4a930b2843
9 changed files with 167 additions and 11 deletions
12
deploy/addepar/sample-hpa/service-monitor.yaml
Normal file
12
deploy/addepar/sample-hpa/service-monitor.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
kind: ServiceMonitor
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
metadata:
|
||||
name: sample-app
|
||||
labels:
|
||||
app: sample-app
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sample-app
|
||||
endpoints:
|
||||
- port: http
|
||||
Loading…
Add table
Add a link
Reference in a new issue