Add prometheus annotations for api (#485)

This commit is contained in:
ftocal 2023-06-30 11:10:50 -03:00 committed by GitHub
parent c77ce3bcb4
commit e46f70100b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ spec:
metadata:
labels:
app: {{ .NAME }}
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8000"
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 40