-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
-
MON Sprint 251
-
No
The thanos container only listens to 127.0.0.1. If one tries to reach the Service a 502 is returned.
A workaround is to created the deployment and service manually
kind: Deployment apiVersion: apps/v1 metadata: name: thanos-querier-example-thanos namespace: default labels: app.kubernetes.io/instance: thanos-querier-example-thanos app.kubernetes.io/managed-by: observability-operator app.kubernetes.io/part-of: ThanosQuerier spec: replicas: 1 selector: matchLabels: app.kubernetes.io/instance: thanos-querier-example-thanos template: metadata: name: thanos-querier-example-thanos namespace: default creationTimestamp: null labels: app.kubernetes.io/instance: thanos-querier-example-thanos app.kubernetes.io/managed-by: observability-operator app.kubernetes.io/part-of: ThanosQuerier spec: containers: - name: thanos-querier image: 'registry.redhat.io/cluster-observability-operator/coo-thanos-rhel8@sha256:79d1a7f1568800f06a7146e219852a42a3ccd265e626d2d476640f83f2c901bd' args: - query - '--grpc-address=127.0.0.1:10901' - '--http-address=:9090' - '--log.format=logfmt' - '--query.replica-label=prometheus_replica' - '--query.auto-downsampling' - '--endpoint=dnssrv+_grpc._tcp.sample-monitoring-stack-thanos-sidecar.default.svc.cluster.local' ports: - name: metrics containerPort: 9090 protocol: TCP resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: FallbackToLogsOnError imagePullPolicy: IfNotPresent restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst nodeSelector: kubernetes.io/os: linux securityContext: {} schedulerName: default-scheduler strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 25% maxSurge: 25% revisionHistoryLimit: 10 progressDeadlineSeconds: 300 --- kind: Service apiVersion: v1 metadata: name: thanos-querier namespace: default spec: ports: - name: http protocol: TCP port: 9090 targetPort: 9090 type: ClusterIP selector: app.kubernetes.io/instance: thanos-querier-example-thanos
- links to
-
RHEA-2024:127118 Cluster Observability Operator 0.1 for OpenShift
There are no Sub-Tasks for this issue.