Skip to content

Commit

Permalink
Merge pull request #210 from openinfradev/primary_cluster
Browse files Browse the repository at this point in the history
primary cluster 체계를 위한 기본값 변경
  • Loading branch information
intelliguy authored Apr 6, 2023
2 parents 77aaf0b + 05472e1 commit a2e9d04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ spec:
namespace: lma
prometheus:
enabled: true
url: "thanos-query.lma:9090"
url: "lma-prometheus.lma:9090"
loki:
enabled: true
url: "loki-loki-distributed-gateway.lma"
Expand Down Expand Up @@ -1219,4 +1219,4 @@ spec:
httpSnippet: |-
client_max_body_size 50M;
serverSnippet: |-
client_max_body_size 50M;
client_max_body_size 50M;
3 changes: 2 additions & 1 deletion lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ global:

lokiHost: loki-loki-distributed-gateway
lokiPort: 80
grafanaDatasourceMetric: lma-prometheus.lma:9090

charts:
- name: prometheus-operator
Expand Down Expand Up @@ -140,7 +141,7 @@ charts:
serviceMonitor.kubelet.interval: $(serviceScrapeInterval)
serviceMonitor.istio.interval: $(serviceScrapeInterval)
serviceMonitor.jaeger.interval: $(serviceScrapeInterval)
grafanaDatasource.prometheus.url: "lma-prometheus.lma:9090"
grafanaDatasource.prometheus.url: $(grafanaDatasourceMetric)
# grafanaDatasource.prometheus.url: "thanos-query.lma:9090"
grafanaDatasource.loki.url: $(lokiHost):$(lokiPort)

Expand Down

0 comments on commit a2e9d04

Please sign in to comment.