ci: caddy prom (#965)

This commit is contained in:
Kind Jeff 2023-08-31 06:32:35 +08:00 committed by GitHub
parent b93b532ebf
commit a6f75dab3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -91,6 +91,10 @@ spec:
metadata:
labels:
app: xlog-caddy
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
spec:
containers:
- name: caddy
@ -139,4 +143,4 @@ spec:
name: xlog-caddy
- name: validator
configMap:
name: xlog-caddy-validator
name: xlog-caddy-validator