feat(grafana): add Grafana Alloy application configuration and update health probe settings
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: grafana-alloy
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "0"
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
namespace: monitoring
|
||||
server: https://kubernetes.default.svc
|
||||
sources:
|
||||
- repoURL: https://grafana.github.io/helm-charts
|
||||
chart: grafana-cloud-onboarding
|
||||
targetRevision: 0.4.7
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/grafana-alloy/eu-central-1/values.yaml
|
||||
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
retry:
|
||||
limit: 3
|
||||
backoff:
|
||||
duration: 10s
|
||||
factor: 2
|
||||
maxDuration: 1m
|
||||
@@ -0,0 +1,11 @@
|
||||
cluster:
|
||||
name: nowchess-eu-central-1
|
||||
|
||||
grafanaCloud:
|
||||
fleetManagement:
|
||||
url: https://fleet-management-prod-011.grafana.net
|
||||
auth:
|
||||
username: "1623630"
|
||||
existingSecret:
|
||||
name: grafana-alloy-credentials
|
||||
key: api-key
|
||||
@@ -64,13 +64,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8083
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8083
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -125,13 +125,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8087
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8087
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -196,13 +196,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8086
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8086
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -283,13 +283,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -345,13 +345,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8081
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8081
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -402,13 +402,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8088
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8088
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -460,13 +460,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8082
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8082
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -537,13 +537,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8085
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8085
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
@@ -605,13 +605,13 @@ spec:
|
||||
httpGet:
|
||||
path: /q/health/live
|
||||
port: 8084
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /q/health/ready
|
||||
port: 8084
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user