|
|
|
@ -6,6 +6,10 @@ metadata: |
|
|
|
type: backend |
|
|
|
name: backendmonitor #jenkins-backend-demo |
|
|
|
namespace: backend |
|
|
|
annotations: |
|
|
|
prometheus.io/scrape: 'true' |
|
|
|
prometheus.io/path: '/actuator/prometheus' #'/metrics' |
|
|
|
prometheus.io/port: '30011' #'8080' |
|
|
|
spec: |
|
|
|
selector: |
|
|
|
matchLabels: |
|
|
|
@ -38,7 +42,7 @@ metadata: |
|
|
|
annotations: |
|
|
|
prometheus.io/scrape: 'true' |
|
|
|
prometheus.io/path: '/actuator/prometheus' #'/metrics' |
|
|
|
prometheus.io/port: '30011' #'8080' |
|
|
|
prometheus.io/port: '8080' #'8080' 30011 |
|
|
|
spec: |
|
|
|
selector: |
|
|
|
app: jenkins-backend-demo |
|
|
|
|