UNCLASSIFIED - NO CUI

Thanos ServiceMonitors showing down

Bug

Description

There are 18 total serviceMonitor objects that are shown as DOWN when Thanos is deployed. It appears to be an issue with networkPolicies blocking the traffic.

Reproduction overrides:

domain: bigbang.dev

flux:
  interval: 1m
  rollback:
    cleanupOnFail: false

clusterAuditor:
  enabled: false

gatekeeper:
  enabled: true

grafana:
  enabled: true

istioOperator:
  enabled: true

istio:
  enabled: true

monitoring:
  enabled: true
  values:
    prometheus:
      prometheusSpec:
        replicas: 3

addons:
  thanos:
    enabled: true
    values:
      query:
        resources:
            limits:
              cpu: 300m
              memory: 1Gi
            requests:
              cpu: 300m
              memory: 1Gi  

      networkPolicies:
        enabled: true
        controlPlaneCidr: 172.16.0.0/12

      bbtests:
        enabled: true

The Thanos values come from the test-values.yaml file

BigBang Version

v2.2.0

Screenshots

Screenshot_2024-02-22_at_2.29.03_PM

Screenshot_2024-02-22_at_2.28.55_PM