Skip to content

Commit

Permalink
reconfigure monitoring setup for victoria metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Sep 6, 2024
1 parent 284f6a1 commit 8cc4411
Show file tree
Hide file tree
Showing 10 changed files with 148 additions and 458 deletions.
54 changes: 54 additions & 0 deletions resources/monitoring/helm/agent.yaml.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
vmagent:
enabled: true

additionalRemoteWrites:
- url: https://{{ context.host }}/insert/0/prometheus/api/v1/write
basicAuth:
username:
name: vm-auth
key: user
password:
name: vm-auth
key: password

{% raw %}
spec:
externalLabels:
cluster: {{ cluster.handle }}
{% endraw %}

prometheus-operator-crds:
enabled: true

vmalert:
enabled: false

alertmanager:
enabled: false

vmsingle:
enabled: false

grafana:
enabled: false

vmcluster:
enabled: false

kubeApiServer:
enabled: false

victoria-metrics-operator:
operator:
enable_converter_ownership: true

extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: vm-auth
stringData:
{% raw %}
password: {{ configuration.password }}
user: {{ configuration.user }}
{% endraw %}
115 changes: 0 additions & 115 deletions resources/monitoring/helm/kps-agent.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions resources/monitoring/helm/kps-agent.yaml.liquid

This file was deleted.

132 changes: 0 additions & 132 deletions resources/monitoring/helm/kps-mgmt.liquid

This file was deleted.

Loading

0 comments on commit 8cc4411

Please sign in to comment.