Skip to content

Commit

Permalink
Update control-plane and add monitoring values
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Stanton <ian@tembo.io>
  • Loading branch information
ianstanton committed May 30, 2024
1 parent 5598924 commit 04c9306
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/tembo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ cpService:

image:
repository: quay.io/coredb/cp-service
tag: "9d09130"
tag: "7b85118"
pullPolicy: IfNotPresent

resources:
Expand Down Expand Up @@ -341,7 +341,7 @@ cpWebserver:

image:
repository: quay.io/coredb/cp-service
tag: "9d09130"
tag: "7b85118"
pullPolicy: IfNotPresent

# We should reconfigure the defaults
Expand Down Expand Up @@ -407,7 +407,7 @@ cpReconciler:

image:
repository: quay.io/coredb/cp-service
tag: "9d09130"
tag: "7b85118"
pullPolicy: IfNotPresent

resources:
Expand Down Expand Up @@ -478,7 +478,7 @@ cpMetricsWatcher:

image:
repository: quay.io/coredb/cp-service
tag: "9d09130"
tag: "7b85118"
pullPolicy: IfNotPresent

resources:
Expand Down
50 changes: 50 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,53 @@ tembo:
value: ~
- name: METRONOME_SECRET_KEY
value: ~
monitoring:
kube-prometheus-stack:
alertmanager:
alertmanagerSpec:
image:
tag: "v0.25.1"
grafana:
image:
tag: "10.2.3"
kube-state-metrics:
metricLabelsAllowlist:
- namespaces=[tembo.io/organization_id,tembo.io/instance_id]
metricAnnotationsAllowList:
- namespaces=[tembo.io/organization_id,tembo.io/instance_id]
- pods=[tembo.io/organization_id,tembo.io/instance_id]
prometheus:
prometheusSpec:
resources:
limits:
memory: 10Gi
requests:
memory: 5Gi
promtail:
config:
snippets:
extraRelabelConfigs:
- action: replace
source_labels:
- __meta_kubernetes_pod_annotation_tembo_io_organization_id
target_label: tembo_organization_id
- action: replace
source_labels:
- __meta_kubernetes_pod_annotation_tembo_io_instance_id
target_label: tembo_instance_id
pipelineStages:
- cri: { }
- match:
selector: '{tembo_organization_id=~".+"}'
stages:
- labelallow:
- tembo_instance_id
- tembo_organization_id
- container
- stream
- app
- pod
- tenant:
label: tembo_organization_id
- output:
source: message

0 comments on commit 04c9306

Please sign in to comment.