debian-mirror-gitlab/scripts/review_apps/base-config.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

202 lines
4 KiB
YAML
Raw Normal View History

2022-06-21 17:19:12 +05:30
safe-to-evict: &safe-to-evict
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
2019-12-04 20:38:33 +05:30
global:
appConfig:
enableUsagePing: false
2021-11-11 11:23:49 +05:30
image:
pullPolicy: Always
2019-12-04 20:38:33 +05:30
ingress:
annotations:
external-dns.alpha.kubernetes.io/ttl: 10
configureCertmanager: false
tls:
2020-07-28 23:09:34 +05:30
secretName: review-apps-tls
2020-01-01 13:55:28 +05:30
initialRootPassword:
secret: shared-gitlab-initial-root-password
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2019-12-04 20:38:33 +05:30
certmanager:
install: false
gitlab:
gitaly:
resources:
requests:
2021-04-17 20:07:23 +05:30
cpu: 2400m
memory: 1000M
2019-12-04 20:38:33 +05:30
limits:
2021-04-17 20:07:23 +05:30
cpu: 3600m
memory: 1500M
2019-12-04 20:38:33 +05:30
persistence:
size: 10G
2021-09-30 23:02:18 +05:30
storageClass: ssd
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "false"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2019-12-04 20:38:33 +05:30
gitlab-exporter:
enabled: false
mailroom:
enabled: false
migrations:
resources:
requests:
cpu: 350m
memory: 200M
limits:
cpu: 700m
gitlab-shell:
resources:
requests:
2019-12-26 22:10:19 +05:30
cpu: 500m
2021-04-17 20:07:23 +05:30
memory: 100M
2019-12-04 20:38:33 +05:30
limits:
2019-12-26 22:10:19 +05:30
cpu: 750m
2021-04-17 20:07:23 +05:30
memory: 150M
2019-12-21 20:55:43 +05:30
maxReplicas: 3
hpa:
2020-01-01 13:55:28 +05:30
targetAverageValue: 500m
2019-12-26 22:10:19 +05:30
deployment:
livenessProbe:
timeoutSeconds: 5
2019-12-04 20:38:33 +05:30
sidekiq:
resources:
requests:
2020-04-08 14:13:33 +05:30
cpu: 855m
2021-04-17 20:07:23 +05:30
memory: 1927M
2019-12-04 20:38:33 +05:30
limits:
2020-04-08 14:13:33 +05:30
cpu: 1282m
2021-04-17 20:07:23 +05:30
memory: 2890M
2020-01-01 13:55:28 +05:30
hpa:
targetAverageValue: 650m
2022-01-26 12:08:38 +05:30
toolbox:
2019-12-04 20:38:33 +05:30
resources:
requests:
2020-07-28 23:09:34 +05:30
cpu: 300m
2021-10-27 15:23:28 +05:30
memory: 1927M
2019-12-04 20:38:33 +05:30
limits:
2020-07-28 23:09:34 +05:30
cpu: 450m
2021-10-27 15:23:28 +05:30
memory: 2890M
2020-06-23 00:09:42 +05:30
webservice:
2019-12-04 20:38:33 +05:30
resources:
requests:
2020-04-08 14:13:33 +05:30
cpu: 746m
2021-04-29 21:17:54 +05:30
memory: 2809M
2019-12-04 20:38:33 +05:30
limits:
2020-04-08 14:13:33 +05:30
cpu: 1119m
2021-04-29 21:17:54 +05:30
memory: 4214M
2019-12-21 20:55:43 +05:30
deployment:
readinessProbe:
initialDelaySeconds: 5 # Default is 0
periodSeconds: 15 # Default is 10
timeoutSeconds: 5 # Default is 2
2019-12-04 20:38:33 +05:30
workhorse:
resources:
requests:
2020-01-01 13:55:28 +05:30
cpu: 400m
2021-04-29 21:17:54 +05:30
memory: 75M
2019-12-04 20:38:33 +05:30
limits:
2020-01-01 13:55:28 +05:30
cpu: 600m
2021-04-29 21:17:54 +05:30
memory: 113M
2019-12-21 20:55:43 +05:30
readinessProbe:
initialDelaySeconds: 5 # Default is 0
periodSeconds: 15 # Default is 10
timeoutSeconds: 5 # Default is 2
2019-12-04 20:38:33 +05:30
gitlab-runner:
resources:
requests:
2020-01-01 13:55:28 +05:30
cpu: 675m
2019-12-26 22:10:19 +05:30
memory: 100M
2019-12-04 20:38:33 +05:30
limits:
2020-01-01 13:55:28 +05:30
cpu: 1015m
2019-12-26 22:10:19 +05:30
memory: 150M
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2019-12-04 20:38:33 +05:30
minio:
resources:
requests:
2020-01-01 13:55:28 +05:30
cpu: 9m
2019-12-04 20:38:33 +05:30
memory: 128M
limits:
2020-01-01 13:55:28 +05:30
cpu: 15m
2019-12-04 20:38:33 +05:30
memory: 280M
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2019-12-04 20:38:33 +05:30
nginx-ingress:
controller:
config:
ssl-ciphers: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4
resources:
requests:
2021-09-04 01:27:46 +05:30
cpu: 300m
2019-12-26 22:10:19 +05:30
memory: 450M
2019-12-04 20:38:33 +05:30
limits:
2021-09-04 01:27:46 +05:30
cpu: 600m
2019-12-26 22:10:19 +05:30
memory: 675M
2019-12-04 20:38:33 +05:30
service:
enableHttp: false
livenessProbe:
timeoutSeconds: 5
readinessProbe:
timeoutSeconds: 5
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2019-12-04 20:38:33 +05:30
defaultBackend:
resources:
requests:
cpu: 5m
memory: 12M
limits:
cpu: 10m
memory: 24M
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2019-12-04 20:38:33 +05:30
postgresql:
metrics:
enabled: false
resources:
requests:
2021-04-29 21:17:54 +05:30
cpu: 600m
2021-04-17 20:07:23 +05:30
memory: 1000M
2019-12-04 20:38:33 +05:30
limits:
2021-04-29 21:17:54 +05:30
cpu: 1300m
2021-04-17 20:07:23 +05:30
memory: 1500M
2021-10-27 15:23:28 +05:30
master:
nodeSelector:
2022-01-26 12:08:38 +05:30
preemptible: "false"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2019-12-04 20:38:33 +05:30
prometheus:
install: false
redis:
metrics:
2020-04-22 19:07:51 +05:30
enabled: false
2019-12-04 20:38:33 +05:30
resources:
requests:
cpu: 100m
memory: 60M
limits:
cpu: 200m
memory: 130M
2021-10-27 15:23:28 +05:30
master:
nodeSelector:
preemptible: "true"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2019-12-04 20:38:33 +05:30
registry:
2019-12-21 20:55:43 +05:30
hpa:
minReplicas: 1
2019-12-04 20:38:33 +05:30
resources:
requests:
cpu: 100m
2019-12-26 22:10:19 +05:30
memory: 30M
limits:
cpu: 200m
memory: 45M
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"