Added prometheus scraping to configserver

This commit is contained in:
Jim Martens 2023-11-02 00:11:57 +01:00
parent 88571e5cdb
commit ef43ca59fd
6 changed files with 21 additions and 11 deletions

View File

@ -1,6 +1,6 @@
dependencies:
- name: template
repository: https://repo.2martens.de/charts
version: 0.1.15
digest: sha256:8bc1d4b964e7455327efb4bce13a28674488b324e69085e18850f4037b03e5c0
generated: "2023-10-30T07:49:45.663723+01:00"
version: 0.1.17
digest: sha256:7f0bf55ed424feac04dbc07e3621906fadea205c2754653ff02114984660257c
generated: "2023-11-02T00:09:14.970553+01:00"

View File

@ -4,5 +4,5 @@ version: 0.1.0
type: application
dependencies:
- name: template
version: 0.1.15
version: 0.1.17
repository: https://repo.2martens.de/charts

View File

@ -2,6 +2,8 @@
# the default for your application differs. The image.repository is a prime candidate for that.
replicaCount: 1
# revisionHistoryLimit: can be configured to reduce/increase amount of stored replica sets for rollback
revisionHistoryLimit: 10
image:
repository: 2martens/configserver
pullPolicy: IfNotPresent
@ -54,6 +56,8 @@ application:
zookeeper:
host: zookeeper.kafka
port: 2181
prometheus:
enabled: true
# Overwrite with application specific environment variables
# Each item has key and value, where the value is parsed as a template
environment:

View File

@ -1,6 +1,6 @@
dependencies:
- name: template
repository: file://../template
version: 0.1.15
digest: sha256:86d355abc3c032602d0b696e9838ed87fa29e0ab8d012289832509adc2a58fe0
generated: "2023-10-30T01:32:54.536194+01:00"
version: 0.1.17
digest: sha256:6b0edcf5d2477cd788059d296cbb307091b1382ebb7f2fb0634d2a12b43523dc
generated: "2023-11-02T00:10:11.690888+01:00"

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: configserver
version: 0.1.19
version: 0.1.20
type: application
description: "Minimal Spring Boot config server"
maintainers:
@ -10,7 +10,7 @@ sources:
- https://git.2martens.de/2martens/config-server
dependencies:
- name: template
version: 0.1.15
version: 0.1.17
repository: file://../template
annotations:
artifacthub.io/images: |
@ -20,8 +20,10 @@ annotations:
- linux/amd64
- linux/arm64
artifacthub.io/changes: |
- kind: removed
description: Removed appVersion
- kind: added
description: Added support for prometheus
- kind: added
description: Added support for revisionHistoryLimit
artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc

View File

@ -2,6 +2,8 @@
# the default for your application differs. The image.repository is a prime candidate for that.
replicaCount: 1
# revisionHistoryLimit: can be configured to reduce/increase amount of stored replica sets for rollback
revisionHistoryLimit: 10
image:
repository: 2martens/configserver
pullPolicy: IfNotPresent
@ -51,6 +53,8 @@ application:
kafka:
host: kafka
port: 9092
prometheus:
enabled: true
# Overwrite with application specific environment variables
# Each item has key and value, where the value is parsed as a template
environment: