Open Wyifei opened 1 year ago
Anyone could help on this issue?
Can you please share your configuration? Is it basic auth against Thanos query?
Can you please share your configuration? Is it basic auth against Thanos query?
Ingress value yaml:
global: imageRegistry: ${image_registry} storageClass: "gp2"
image: repository: thanos/thanos tag: v0.28.1
auth: basicAuthUsers: { admin: ${password}}
objstoreConfig: |- type: S3 config: bucket: ${bucket} endpoint: ${endpoint} aws_sdk_auth: true
query: enabled: true dnsDiscovery: sidecarsService: ${environment}-thanos-discovery sidecarsNamespace: kube-system stores:
queryFrontend: enabled: true ingress: enabled: true ingressClassName: nginx hostname: thanos.${domain}
bucketweb: enabled: true refresh: "10m" serviceAccount: create: false name: prometheus-operator ingress: enabled: true ingressClassName: nginx hostname: bucketweb.${domain}
compactor: enabled: true persistence: size: "50Gi" existingClaim: "" retentionResolutionRaw: 60d retentionResolution5m: 90d retentionResolution1h: 1y serviceAccount: create: false name: prometheus-operator
storegateway: enabled: true persistence: size: "10Gi" existingClaim: "" serviceAccount: create: false name: prometheus-operator
ruler: enabled: false
receive: enabled: false
metrics: enabled: true serviceMonitor: enabled: true labels: Release: ${release_name}
Fix this issue by workaround that enable query ingress rather than queryfrontend ingress
1. How the thanos installed Installed the thanos by helm, the chart.yaml info : maintainers:
2. How the thanos configured. Enable basic auth as below: auth: basicAuthUsers: { admin: ${password}}
3. What's current issue Login thanos query, input the user and password, auth passed but prompt below error: