production-values.yaml 898 Bytes
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
service:
  externalPort: 80
  internalPort: 80
Dominik Hebeler's avatar
Dominik Hebeler committed
4
hpa:
Dominik Hebeler's avatar
Dominik Hebeler committed
5
  minReplicas: 5
6
  maxReplicas: 25
7
8
9
10
11
12
13
resources:
  limits:
    cpu: 500m
    memory: 1Gi
  requests:
    cpu: 500m
    memory: 1Gi
Dominik Hebeler's avatar
Dominik Hebeler committed
14
15
podDisruptionBudget:
  enabled: true
16
  minAvailable: 4
Dominik Hebeler's avatar
Dominik Hebeler committed
17
  maxUnavailable:
18
19
20
21
podAnnotations:
  prometheus.io/scrape: "true"
  prometheus.io/path: /metrics
  prometheus.io/port: "80"
Dominik Hebeler's avatar
Dominik Hebeler committed
22
23
24
25
26
27
28
29
30
31
32
33
ingress:
  annotations:
    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
    nginx.ingress.kubernetes.io/configuration-snippet: |
      if ($host = "www.metager.de") {
          return 301 https://metager.de$request_uri;
      }
      if ($host = "www.metager.org") {
          return 301 https://metager.org$request_uri;
      }
      if ($host = "www.metager.es") {
          return 301 https://metager.es$request_uri;
34
35
36
      }
      if ($host = "klassik.metager.org") {
          return 301 https://metager.de$request_uri;
Dominik Hebeler's avatar
Dominik Hebeler committed
37
      }