Skip to content

Commit

Permalink
Add cluster health to ingress (#2394)
Browse files Browse the repository at this point in the history
* Add cluster health endpoint to ingress so load balancer can reach it
* Disable some high cardinality kubelet time series

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
  • Loading branch information
steven-sheehy authored Aug 11, 2021
1 parent 3781839 commit 1e6ef96
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions charts/hedera-mirror-common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,17 @@ prometheus:
enabled: false
kubeEtcd:
enabled: false
kubelet:
# Disable these high cardinality metrics
serviceMonitor:
cAdvisorMetricRelabelings:
- action: drop
regex: container_(memory_failures_total|tasks_state)
sourceLabels: [__name__]
metricRelabelings:
- action: drop
regex: .*_bucket
sourceLabels: [__name__]
kubeProxy:
enabled: false
kubeScheduler:
Expand Down
2 changes: 2 additions & 0 deletions charts/hedera-mirror-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ ingress:
hosts:
- host: ""
paths: ["/monitor/api"]
- host: ""
paths: ["/actuator/health/cluster"]
middleware:
enabled: false
tls:
Expand Down

0 comments on commit 1e6ef96

Please sign in to comment.