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

285 lines
16 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
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
gitlab:
gitaly:
resources:
requests:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3D%5C%22gitaly%5C%22%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average is around 0.100vCPU (setting request accordingly)
#
# The maximum CPU usage was 0.196vCPU (setting limit accordingly)
cpu: 150m
2023-01-13 00:05:48 +05:30
memory: 600Mi
2019-12-04 20:38:33 +05:30
limits:
2023-06-20 00:43:36 +05:30
cpu: 300m
2023-01-13 00:05:48 +05:30
memory: 1000Mi
2019-12-04 20:38:33 +05:30
persistence:
2023-01-13 00:05:48 +05:30
size: 10Gi
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
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
gitlab-exporter:
enabled: false
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
gitlab-shell:
resources:
requests:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3D%5C%22gitlab-shell%5C%22%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average is around 0.01vCPU (setting request accordingly)
#
# The maximum CPU usage was 0.127vCPU (setting limit accordingly)
cpu: 10m
2023-01-13 00:05:48 +05:30
memory: 100Mi
2019-12-04 20:38:33 +05:30
limits:
2023-06-20 00:43:36 +05:30
cpu: 150m
2023-01-13 00:05:48 +05:30
memory: 150Mi
minReplicas: 1
maxReplicas: 1
2019-12-21 20:55:43 +05:30
hpa:
2023-01-13 00:05:48 +05:30
cpu:
targetAverageValue: 500m
2019-12-26 22:10:19 +05:30
deployment:
livenessProbe:
timeoutSeconds: 5
2023-01-13 00:05:48 +05:30
kas:
minReplicas: 1
maxReplicas: 1
mailroom:
enabled: false
migrations:
resources:
requests:
cpu: 400m
memory: 920Mi
limits:
2023-03-04 22:38:38 +05:30
cpu: 800m
memory: 1380Mi
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
sidekiq:
resources:
requests:
2020-04-08 14:13:33 +05:30
cpu: 855m
2023-01-13 00:05:48 +05:30
memory: 1927Mi
2019-12-04 20:38:33 +05:30
limits:
2020-04-08 14:13:33 +05:30
cpu: 1282m
2023-01-13 00:05:48 +05:30
memory: 2890Mi
2020-01-01 13:55:28 +05:30
hpa:
2023-01-13 00:05:48 +05:30
cpu:
targetAverageValue: 650m
2022-01-26 12:08:38 +05:30
toolbox:
2019-12-04 20:38:33 +05:30
resources:
requests:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3D%5C%22toolbox%5C%22%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average seems to be around 0.100vCPU
#
# The maximum CPU usage was 0.250vCPU (setting limit accordingly)
cpu: 150m
2023-01-13 00:05:48 +05:30
memory: 1927Mi
2019-12-04 20:38:33 +05:30
limits:
2020-07-28 23:09:34 +05:30
cpu: 450m
2023-04-23 21:23:45 +05:30
memory: 3500Mi
2023-01-13 00:05:48 +05:30
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
2023-01-13 00:05:48 +05:30
memory: 2809Mi
2019-12-04 20:38:33 +05:30
limits:
2023-03-17 16:20:25 +05:30
cpu: 1400m
2023-01-13 00:05:48 +05:30
memory: 4214Mi
minReplicas: 1
maxReplicas: 1
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
2023-01-13 00:05:48 +05:30
memory: 75Mi
2019-12-04 20:38:33 +05:30
limits:
2020-01-01 13:55:28 +05:30
cpu: 600m
2023-01-13 00:05:48 +05:30
memory: 113Mi
2019-12-21 20:55:43 +05:30
readinessProbe:
initialDelaySeconds: 5 # Default is 0
periodSeconds: 15 # Default is 10
timeoutSeconds: 5 # Default is 2
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
gitlab-runner:
resources:
requests:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3Dmonitoring.regex.full_match(%5C%22.*gitlab-runner$%5C%22)%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average seems to be around 0.01vCPU
#
# The maximum CPU usage was 0.015vCPU (setting limit accordingly)
cpu: 10m
2023-01-13 00:05:48 +05:30
memory: 100Mi
2019-12-04 20:38:33 +05:30
limits:
2023-06-20 00:43:36 +05:30
# In case somebody would like to use runners in review-apps, we set the limit higher than the requests
cpu: 400m
2023-01-13 00:05:48 +05:30
memory: 150Mi
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
minio:
resources:
requests:
2020-01-01 13:55:28 +05:30
cpu: 9m
2023-01-13 00:05:48 +05:30
memory: 128Mi
2019-12-04 20:38:33 +05:30
limits:
2020-01-01 13:55:28 +05:30
cpu: 15m
2023-01-13 00:05:48 +05:30
memory: 280Mi
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2023-01-13 00:05:48 +05:30
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:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3D%5C%22controller%5C%22%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average seems to be around 0.02vCPU
#
# The maximum CPU usage was 0.07vCPU (setting limit accordingly)
cpu: 10m
2023-01-13 00:05:48 +05:30
memory: 450Mi
2019-12-04 20:38:33 +05:30
limits:
2023-06-20 00:43:36 +05:30
cpu: 20m
2023-01-13 00:05:48 +05:30
memory: 675Mi
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
2023-01-13 00:05:48 +05:30
memory: 12Mi
2019-12-04 20:38:33 +05:30
limits:
cpu: 10m
2023-01-13 00:05:48 +05:30
memory: 24Mi
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
postgresql:
metrics:
enabled: false
resources:
requests:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3Dmonitoring.regex.full_match(%5C%22.*-postgresql$%5C%22)%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average seems to be around 0.150vCPU
#
# The maximum CPU usage was 0.420vCPU (setting limit accordingly)
cpu: 150m
2023-01-13 00:05:48 +05:30
memory: 1000Mi
2019-12-04 20:38:33 +05:30
limits:
2023-06-20 00:43:36 +05:30
cpu: 1000m
2023-01-13 00:05:48 +05:30
memory: 1600Mi
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
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
prometheus:
install: false
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
redis:
metrics:
2020-04-22 19:07:51 +05:30
enabled: false
2019-12-04 20:38:33 +05:30
resources:
requests:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3D%5C%22redis%5C%22%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average seems to be around 0.03vCPU
#
# The maximum CPU usage was 0.500vCPU (setting limit accordingly)
cpu: 10m
2023-01-13 00:05:48 +05:30
memory: 60Mi
2019-12-04 20:38:33 +05:30
limits:
2023-06-20 00:43:36 +05:30
cpu: 500m
2023-01-13 00:05:48 +05:30
memory: 130Mi
2021-10-27 15:23:28 +05:30
master:
nodeSelector:
preemptible: "true"
2022-06-21 17:19:12 +05:30
podAnnotations:
<<: *safe-to-evict
2023-01-13 00:05:48 +05:30
2019-12-04 20:38:33 +05:30
registry:
2019-12-21 20:55:43 +05:30
hpa:
minReplicas: 1
2023-01-13 00:05:48 +05:30
maxReplicas: 1
2019-12-04 20:38:33 +05:30
resources:
2023-06-20 00:43:36 +05:30
# Based on https://console.cloud.google.com/monitoring/metrics-explorer;endTime=2023-04-19T08:37:33.183Z;startTime=2023-02-05T09:37:33.182Z?pageState=%7B%22xyChart%22:%7B%22constantLines%22:%5B%5D,%22dataSets%22:%5B%7B%22plotType%22:%22LINE%22,%22targetAxis%22:%22Y1%22,%22timeSeriesFilter%22:%7B%22aggregations%22:%5B%7B%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22groupByFields%22:%5B%5D,%22perSeriesAligner%22:%22ALIGN_RATE%22%7D,%7B%22crossSeriesReducer%22:%22REDUCE_MEAN%22,%22groupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D,%22perSeriesAligner%22:%22ALIGN_MEAN%22%7D%5D,%22apiSource%22:%22DEFAULT_CLOUD%22,%22crossSeriesReducer%22:%22REDUCE_NONE%22,%22filter%22:%22metric.type%3D%5C%22kubernetes.io%2Fcontainer%2Fcpu%2Fcore_usage_time%5C%22%20resource.type%3D%5C%22k8s_container%5C%22%20resource.label.%5C%22container_name%5C%22%3D%5C%22registry%5C%22%22,%22groupByFields%22:%5B%5D,%22minAlignmentPeriod%22:%2260s%22,%22perSeriesAligner%22:%22ALIGN_RATE%22,%22secondaryCrossSeriesReducer%22:%22REDUCE_MEAN%22,%22secondaryGroupByFields%22:%5B%22resource.label.%5C%22namespace_name%5C%22%22%5D%7D%7D%5D,%22options%22:%7B%22mode%22:%22COLOR%22%7D,%22y1Axis%22:%7B%22label%22:%22%22,%22scale%22:%22LINEAR%22%7D%7D%7D&project=gitlab-review-apps
#
# Data over the 3 months (2023-02-24 - 2023-04-19)
#
# The average seems to be around 0.0005vCPU
#
# The maximum CPU usage was 0.0.003vCPU (setting limit accordingly)
2019-12-04 20:38:33 +05:30
requests:
2023-06-20 00:43:36 +05:30
cpu: 10m
2023-01-13 00:05:48 +05:30
memory: 30Mi
2019-12-26 22:10:19 +05:30
limits:
2023-06-20 00:43:36 +05:30
cpu: 50m
2023-01-13 00:05:48 +05:30
memory: 45Mi
2021-10-27 15:23:28 +05:30
nodeSelector:
preemptible: "true"