diff --git a/deploy_control_plane.yaml b/deploy_control_plane.yaml index bd0f0241..cc93a1da 100644 --- a/deploy_control_plane.yaml +++ b/deploy_control_plane.yaml @@ -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 diff --git a/inventories/group_vars/all/release_vector.yaml b/inventories/group_vars/all/release_vector.yaml index 0fba64d3..deb1c6b1 100644 --- a/inventories/group_vars/all/release_vector.yaml +++ b/inventories/group_vars/all/release_vector.yaml @@ -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 ## diff --git a/inventories/group_vars/control_plane/logging.yaml b/inventories/group_vars/control_plane/logging.yaml index 2ec973fc..7a79fe8e 100644 --- a/inventories/group_vars/control_plane/logging.yaml +++ b/inventories/group_vars/control_plane/logging.yaml @@ -1,5 +1,6 @@ --- -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 @@ -7,8 +8,12 @@ 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