I am trying to configure Prometheus, which is included in the Gitlab Helm chart according to https://gitlab.com/charts/gitlab/blob/master/requirements.yaml
My main issue is how to configure Prometheus, as the following values.yaml
seems to be ignored:
global:
registry:
enabled: false
# Disabling minio still requires to disable gitlab.minio or it will complain about "A valid backups.objectStorage.config.secret is needed"
minio:
enabled: false
ingress:
configureCertmanager: false
class: "nginx"
...
prometheus:
install: true
rbac:
create: true
#kubeStateMetrics:
# enabled: true
nodeExporter:
enabled: true
#pushgateway:
# enabled: true
server:
configMapOverrideName: prometheus-config
configPath: /etc/prometheus/conf/prometheus.yml
persistentVolume:
enabled: true
accessModes:
- ReadWriteMany
mountPath: /etc/prometheus/conf
# Increase afterwards, this is for my tests
size: 2Gi
alertmanager:
enabled: true
# Overriding the default configuration with the existing one
configMapOverrideName: "alertmanager"
configFileName: config.yml
persistentVolume:
enabled: true
accessModes:
- ReadWriteMany
mountPath: /prometheus
# Increase afterwards, this is for my tests
size: 2Gi