From ef43ca59fd99aec727ae93f48f0bf7b9012fe493 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 2 Nov 2023 00:11:57 +0100 Subject: [PATCH] Added prometheus scraping to configserver --- argocd/configserver/test/Chart.lock | 6 +++--- argocd/configserver/test/Chart.yaml | 2 +- argocd/configserver/test/values.yaml | 4 ++++ helm/configserver/Chart.lock | 6 +++--- helm/configserver/Chart.yaml | 10 ++++++---- helm/configserver/values.yaml | 4 ++++ 6 files changed, 21 insertions(+), 11 deletions(-) diff --git a/argocd/configserver/test/Chart.lock b/argocd/configserver/test/Chart.lock index e46dff8..cca445d 100644 --- a/argocd/configserver/test/Chart.lock +++ b/argocd/configserver/test/Chart.lock @@ -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" diff --git a/argocd/configserver/test/Chart.yaml b/argocd/configserver/test/Chart.yaml index 356446c..52a3fa4 100644 --- a/argocd/configserver/test/Chart.yaml +++ b/argocd/configserver/test/Chart.yaml @@ -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 diff --git a/argocd/configserver/test/values.yaml b/argocd/configserver/test/values.yaml index d52a819..4d386e6 100644 --- a/argocd/configserver/test/values.yaml +++ b/argocd/configserver/test/values.yaml @@ -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: diff --git a/helm/configserver/Chart.lock b/helm/configserver/Chart.lock index 94f2684..31abe4c 100644 --- a/helm/configserver/Chart.lock +++ b/helm/configserver/Chart.lock @@ -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" diff --git a/helm/configserver/Chart.yaml b/helm/configserver/Chart.yaml index 8052bc8..1ce6e79 100644 --- a/helm/configserver/Chart.yaml +++ b/helm/configserver/Chart.yaml @@ -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 diff --git a/helm/configserver/values.yaml b/helm/configserver/values.yaml index 6585307..dc60e58 100644 --- a/helm/configserver/values.yaml +++ b/helm/configserver/values.yaml @@ -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: