Skip to content

Commit

Permalink
Merge pull request 2i2c-org#3253 from consideRatio/pr/support-grafana…
Browse files Browse the repository at this point in the history
…-gzip

support, grafana: configure enable_gzip true
  • Loading branch information
consideRatio authored Oct 18, 2023
2 parents 30b7c1b + fba0530 commit 4c867a6
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions helm-charts/support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,18 +264,22 @@ prometheus:
#
grafana:
persistence:
# Attach a tiny 1G PVC with grafana for auth db as well as dashboard definition (not data) storage.
# Matches what we do with JupyterHub
# A PVC is used to enable Grafana to store auth details and dashboard
# definitions.
enabled: true
# size could probably be smaller as not much space should be required, but
# the chart default of 10Gi has made it a bit tricky to reduce it
# retroactively.
size: 10Gi
deploymentStrategy:
# type Recreate is required since we attach a PVC that can only be used by
# mounted for writing by one pod at the time.
type: Recreate
service:
# Grafana is exposed to the world via ingress
type: ClusterIP

rbac:
# namespaced makes us not get ClusterRole service accounts etc, and we do
# fine without it.
namespaced: true
pspEnabled: false

# initChownData refers to an init container enabled by default that isn't
# needed as we don't reconfigure the linux user the grafana server will run
Expand All @@ -302,6 +306,8 @@ grafana:
cpu: 10m
memory: 200Mi

service:
type: ClusterIP
ingress:
enabled: true
ingressClassName: nginx
Expand Down Expand Up @@ -331,8 +337,10 @@ grafana:
# client_id: ""
# client_secret: ""
#
# grafana.ini ref: https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/
#
grafana.ini:
# dataproxy is used to make requests to prometheuses via the backend.
# dataproxy is used to make requests to prometheus via the backend.
# This allows authless access to prometheus server in the same namespace.
dataproxy:
# Enable logging so we can debug grafana timeouts
Expand All @@ -346,6 +354,7 @@ grafana:
timeout: 120
server:
root_url: ""
enable_gzip: true
auth.github:
enabled: false
allowed_organizations: ""
Expand Down

0 comments on commit 4c867a6

Please sign in to comment.