Skip to content
Draft
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
6 changes: 3 additions & 3 deletions deploy_control_plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
tags: auth
- name: metal-roles/control-plane/roles/metal
tags: metal
- name: metal-roles/control-plane/roles/logging
when: monitoring_enabled
tags: logging
- name: metal-roles/control-plane/roles/monitoring
when: monitoring_enabled
tags: monitoring
- name: metal-roles/control-plane/roles/logging
when: monitoring_enabled
tags: logging

- name: deploy gardener
import_playbook: deploy_gardener.yaml
Expand Down
3 changes: 2 additions & 1 deletion inventories/group_vars/all/release_vector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ metal_stack_release_vectors:
# sonic_configdb_utils_image_tag:
# ...
#

logging_chart_version: 18.3.1
logging_chart_repo: oci://ghcr.io/grafana-community/helm-charts/loki
##
## for ansible roles
##
Expand Down
9 changes: 7 additions & 2 deletions inventories/group_vars/control_plane/logging.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
---
logging_ingress_loki_tls: no
logging_ingress_enabled: true
logging_ingress_loki_tls: false
logging_ingress_dns: "loki.{{ metal_control_plane_ingress_dns }}"

logging_alloy_enabled: true

logging_alloy_service_monitor_enabled: true

logging_alloy_loki_write_endpoints:
- url: "http://{{ logging_ingress_dns }}:8080/loki/api/v1/push"
- url: "http://loki-gateway/loki/api/v1/push"

logging_promtail_enabled: false

logging_alloy_cluster_label: "mini-lab"

logging_loki_monitoring_enabled: true

logging_loki_log_level: info
Loading