-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The operator should check that the Thanos sidecar's version supports the --prometheus.http-client
flag
#5223
Comments
Same error here with the thanos sidecar jsonnet file that generated the k8s manifests for k8s v1.24.6 deployed with kops |
what is the version of the Thanos image? |
thanos version: v0.8.1 |
@Sindvero this version is way too old, you need at least v0.24.0. Having said we need a version check in prometheus-operator. |
--prometheus.http-client
flag
I will work on this |
hey @mouad-eh , are you working on this?? |
@MateSousa |
@mouad-eh thanks, I will work on this issue. |
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:
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: