Skip to content

Commit

Permalink
merge two namespaces for lma TACO-APP-GROUP to one - lma
Browse files Browse the repository at this point in the history
  • Loading branch information
sungil committed Jun 3, 2021
1 parent 7d363c9 commit 6da10b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
19 changes: 11 additions & 8 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ spec:
name: kube-prometheus-stack
version: 14.5.0
releaseName: prometheus-fed-master
targetNamespace: fed
targetNamespace: lma
values:
defaultRules:
create: false
Expand Down Expand Up @@ -556,7 +556,7 @@ spec:
name: grafana
version: 5.5.7
releaseName: grafana
targetNamespace: fed
targetNamespace: lma
values:
adminPassword: password
sidecar:
Expand Down Expand Up @@ -930,9 +930,9 @@ spec:
name: lma-addons
version: 1.5.0
releaseName: fed-addons
targetNamespace: fed
targetNamespace: lma
values:
createNamespace: true
createNamespace: false
metricbeat:
enabled: true
elasticsearch:
Expand All @@ -946,6 +946,7 @@ spec:
addtionalModules: []
grafanaDashboard:
enabled: true
namespace: lma
sidecar:
datasources:
prometheusAddress: "fed-master-prometheus:9090"
Expand All @@ -971,6 +972,8 @@ spec:
enabled: false
nodeExporter:
enabled: false
pushgateway:
enabled: false
federations: [] # TO_BE_FIXED
tacoWatcher:
host: TO_BE_FIXED
Expand Down Expand Up @@ -1059,7 +1062,7 @@ spec:
name: taco-watcher
version: 0.1.0
releaseName: taco-watcher
targetNamespace: fed
targetNamespace: lma
values:
config:
grafana:
Expand Down Expand Up @@ -1094,12 +1097,12 @@ spec:
name: thanos
version: 3.4.0
releaseName: thanos
targetNamespace: fed
targetNamespace: lma
values:
global:
storageClass: local-path
clusterDomain: TO_BE_FIXED
objstoreConfig: TO_BE_FIXED
existingObjstoreSecret: TO_BE_FIXED
query:
nodeSelector: {}
dnsDiscovery:
Expand Down Expand Up @@ -1255,7 +1258,7 @@ spec:
enabled: true
secretName: TO_BE_FIXED
bucketName: TO_BE_FIXED
endpoint: thanos-minio.fed.svc.cluster.local:9000
endpoint: thanos-minio:9000
access_key: TO_BE_FIXED
secret_key: TO_BE_FIXED
sidecarsService:
Expand Down
17 changes: 5 additions & 12 deletions lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ charts:
metricbeat.elasticsearch.host: https://eck-elasticsearch-es-http.lma.svc.$(clusterName):9200
metricbeat.kibana.host: eck-kibana-dashboard-kb-http.lma.svc.$(clusterName):5601
metricbeat.prometheus.hosts:
- thanos-query-frontend.fed.svc.$(clusterName):9090
tacoWatcher.host: taco-watcher.fed.svc.$(clusterName)
- thanos-query-frontend.lma.svc.$(clusterName):9090
tacoWatcher.host: taco-watcher.lma.svc.$(clusterName)
tacoWatcher.joinCluster.body.kibanaUrl: http://eck-kibana-dashboard-kb-http.lma.svc.$(clusterName):5601
tacoWatcher.joinCluster.body.grafanaUrl: http://grafana.fed.svc.$(clusterName)
tacoWatcher.joinCluster.body.grafanaUrl: http://grafana.lma.svc.$(clusterName)
tacoWatcher.joinCluster.body.k8sUrl: https://kubernetes.default.svc.$(clusterName)
kibanaInit.url: http://eck-kibana-dashboard-kb-http.lma.svc.$(clusterName):5601
serviceMonitor.grafana.interval: $(serviceScrapeInterval)
Expand All @@ -168,14 +168,7 @@ charts:
override:
global.storageClass: $(storageClassName)
clusterDomain: $(clusterName)
objstoreConfig: |-
type: s3
config:
bucket: thanos
endpoint: {{ include "thanos.minio.fullname" . }}.fed.svc.$(clusterName):9000
access_key: $(defaultUser)
secret_key: $(defaultPassword)
insecure: true
existingObjstoreSecret: $(thanosObjstoreSecret)
query.nodeSelector: $(nodeSelector)
queryFrontend.nodeSelector: $(nodeSelector)
queryFrontend.service.type: NodePort
Expand Down Expand Up @@ -235,7 +228,7 @@ charts:
override:
objectStorage:
bucketName: thanos
endpoint: thanos-minio.fed.svc.cluster.local:9000
endpoint: thanos-minio.lma.svc.$(clusterName):9000
access_key: $(defaultUser)
secret_key: $(defaultPassword)
secretName: $(thanosObjstoreSecret)
Expand Down

0 comments on commit 6da10b0

Please sign in to comment.