Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merged addons and fed-addons #84

Merged
merged 1 commit into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 26 additions & 76 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -878,77 +878,6 @@ spec:
releaseName: addons
targetNamespace: lma
values:
grafanaDashboard:
enabled: false
metricbeat:
enabled: false
loglevel: error
prometheusRules:
aggregation:
enabled: true
alert:
enabled: false
serviceMonitor:
processExporter:
enabled: true
interval: TO_BE_FIXED
selector:
matchLabels:
application: process_exporter
component: metrics
release_group: prometheus-process-exporter
grafana:
enabled: false
ceph:
enabled: false #FIXME
interval: TO_BE_FIXED
mon_hosts: []
calico:
enabled: true
interval: TO_BE_FIXED
kubelet:
enabled: true
interval: TO_BE_FIXED
istio:
enabled: true
interval: TO_BE_FIXED
jaeger:
enabled: true
interval: TO_BE_FIXED
pushgateway:
enabled: true
tacoWatcher:
rbac:
create: false
wait: true
---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
labels:
name: fed-addons
name: fed-addons
spec:
helmVersion: v3
chart:
repository: https://openinfradev.github.io/helm-repo
name: lma-addons
version: 1.5.0
releaseName: fed-addons
targetNamespace: lma
values:
createNamespace: false
metricbeat:
enabled: true
elasticsearch:
host: TO_BE_FIXED
username: elastic
password: tacoword
kibana:
host: TO_BE_FIXED
prometheus:
hosts: [] # TO_BE_FIXED
addtionalModules: []
grafanaDashboard:
enabled: true
namespace: lma
Expand All @@ -965,21 +894,42 @@ spec:
enabled: true
serviceMonitor:
calico:
enabled: false
enabled: true
interval: TO_BE_FIXED
processExporter:
enabled: false
enabled: true
interval: TO_BE_FIXED
selector:
matchLabels:
application: process_exporter
component: metrics
release_group: prometheus-process-exporter
istio:
enabled: true
interval: TO_BE_FIXED
jaeger:
enabled: true
interval: TO_BE_FIXED
grafana:
enabled: true
interval: TO_BE_FIXED
ceph:
enabled: false
enabled: false #FIXME
interval: TO_BE_FIXED
mon_hosts: []
kubeStateMetrics:
enabled: false
nodeExporter:
enabled: false
pushgateway:
enabled: false
enabled: true
kubelet:
enabled: true
interval: TO_BE_FIXED
federations: [] # TO_BE_FIXED
metricbeat:
enabled: false
loglevel: error
tacoWatcher:
host: TO_BE_FIXED
port: 32000
Expand All @@ -999,7 +949,7 @@ spec:
url: TO_BE_FIXED
prometheusRules:
aggregation:
enabled: false
enabled: true
alert:
enabled: true
wait: true
Expand Down
19 changes: 8 additions & 11 deletions lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,6 @@ charts:
fluentbit.nodeSelector: $(nodeSelector)

- name: addons
override:
serviceMonitor.processExporter.interval: $(serviceScrapeInterval)
serviceMonitor.ceph.interval: $(serviceScrapeInterval)
serviceMonitor.calico.interval: $(serviceScrapeInterval)
serviceMonitor.kubeStateMetrics.interval: $(serviceScrapeInterval)
serviceMonitor.nodeExporter.interval: $(serviceScrapeInterval)
serviceMonitor.kubelet.interval: $(serviceScrapeInterval)
serviceMonitor.istio.interval: $(serviceScrapeInterval)
serviceMonitor.jaeger.interval: $(serviceScrapeInterval)

- name: fed-addons
override:
# Configure the connection from prometheus to elasticsearch (It not used)
metricbeat.elasticsearch.host: https://eck-elasticsearch-es-http.lma.svc.$(clusterName):9200
Expand All @@ -171,6 +160,14 @@ charts:
# Initialize the kibana index
kibanaInit.url: http://eck-kibana-dashboard-kb-http.lma.svc.$(clusterName):5601
serviceMonitor.grafana.interval: $(serviceScrapeInterval)
serviceMonitor.processExporter.interval: $(serviceScrapeInterval)
serviceMonitor.ceph.interval: $(serviceScrapeInterval)
serviceMonitor.calico.interval: $(serviceScrapeInterval)
serviceMonitor.kubeStateMetrics.interval: $(serviceScrapeInterval)
serviceMonitor.nodeExporter.interval: $(serviceScrapeInterval)
serviceMonitor.kubelet.interval: $(serviceScrapeInterval)
serviceMonitor.istio.interval: $(serviceScrapeInterval)
serviceMonitor.jaeger.interval: $(serviceScrapeInterval)

# Setting the prometheus federation
serviceMonitor.federations:
Expand Down