Commit 1a5714db authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

added scraping annotation to development and production pods

parent 694704b2
......@@ -8,10 +8,14 @@ podDisruptionBudget:
enabled: true
minAvailable: 1
maxUnavailable:
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/path: /metrics
prometheus.io/port: "80"
ingress:
annotations:
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/configuration-snippet: |
if ($host = "www.metager3.de") {
return 301 https://metager3.de$request_uri;
}
\ No newline at end of file
}
......@@ -6,8 +6,12 @@ hpa:
maxReplicas: 25
podDisruptionBudget:
enabled: true
minAvailable: 5
minAvailable: 4
maxUnavailable:
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/path: /metrics
prometheus.io/port: "80"
ingress:
annotations:
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
......
......@@ -50,13 +50,13 @@ prometheus:
metrics: false
livenessProbe:
path: "/"
initialDelaySeconds: 40
initialDelaySeconds: 20
timeoutSeconds: 15
scheme: "HTTP"
probeType: "httpGet"
readinessProbe:
path: "/"
initialDelaySeconds: 30
initialDelaySeconds: 15
timeoutSeconds: 15
scheme: "HTTP"
probeType: "httpGet"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment