Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
1a5714db
Commit
1a5714db
authored
Apr 15, 2020
by
Dominik Hebeler
Browse files
added scraping annotation to development and production pods
parent
694704b2
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab/development-values.yaml
View file @
1a5714db
...
...
@@ -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
}
.gitlab/production-values.yaml
View file @
1a5714db
...
...
@@ -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
...
...
chart/values.yaml
View file @
1a5714db
...
...
@@ -50,13 +50,13 @@ prometheus:
metrics
:
false
livenessProbe
:
path
:
"
/"
initialDelaySeconds
:
4
0
initialDelaySeconds
:
2
0
timeoutSeconds
:
15
scheme
:
"
HTTP"
probeType
:
"
httpGet"
readinessProbe
:
path
:
"
/"
initialDelaySeconds
:
30
initialDelaySeconds
:
15
timeoutSeconds
:
15
scheme
:
"
HTTP"
probeType
:
"
httpGet"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment