Skip to content

Commit

Permalink
feat(monitoring): add loadbalancer support for prometheus service
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 10, 2024
1 parent 3de53c2 commit 4adabd3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions templates/monitoring/grafana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,24 @@ prometheusOperator:
## Deploy a Prometheus instance
##
prometheus:
## Configuration for Prometheus service
##
service:
labels:
ark.ulagbulag.io/is-external: "true"
ark.ulagbulag.io/is-private: "true"

## Loadbalancer IP
## Only use if service.type is "LoadBalancer"
loadBalancerSourceRanges:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16

## Service type
##
type: LoadBalancer

## Settings affecting prometheusSpec
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheusspec
##
Expand Down

0 comments on commit 4adabd3

Please sign in to comment.