Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The operator should check that the Thanos sidecar's version supports the --prometheus.http-client flag #5223

@kssanthosh

Description

@kssanthosh

What happened?
When applying the manifest after generating from thanos sidecar.sonnet

error parsing commandline arguments: [/bin/thanos sidecar --prometheus.url=http://localhost:9090/ --prometheus.http-client={"tls_config": {"insecure_skip_verify":true}} --grpc-address=:10901 --http-address=:10902 --objstore.config=type: s3
config:
bucket: prometheus-data
endpoint: s3.us-east-5.amazonaws.com
access_key: xxxxx
secret_key: xxxx--tsdb.path=/prometheus]: unknown long flag '--prometheus.http-client'
thanos: error: unknown long flag '--prometheus.http-client'

Did you expect to see some different?

How to reproduce it (as minimally and precisely as possible):

Environment
Kops 1.25

  • Prometheus Operator version:

    v0.61.1

  • Kubernetes version information:

    Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0"

  • Kubernetes cluster kind:

    insert how you created your cluster: kops, bootkube, tectonic-installer, etc.

  • Manifests:

insert manifests relevant to the issue
  • Prometheus Operator Logs:
Insert Prometheus Operator logs relevant to the issue here
  • Prometheus Logs:
Insert Prometheus logs relevant to the issue here

Anything else we need to know?:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions