-
Notifications
You must be signed in to change notification settings - Fork 146
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
How to determine which version of victoriametrics the operator will install by default #675
Comments
@f41gh7 I think the default version of each components in operator are hidden from the users, and there is no doc to summarize that. Should we maintain it somewhere or expose some of them in operator pod? |
I think, we have to mention at doc how to manage CR objects versions - default values, global operator settings, per CR value. And best practice for it. I recommend to define versions at CR spec definition and manage it via git-ops. As we usually do internally with For current issue, best option for me looks a ./bin/manager --printDefault
{
"flags": {"logger.Level": "info" },
"config": {
"vmalert_default": {"version": "v1.90.1","image": "victoriametrics/vmalert" }
}
} and other values for the In this case, automated pipeline could parse it with |
Hey. In PR #742 implemented the following flags for the operator:
Examples of output for these flags:
The feature is in In addition, we have started adding information about the default version of VM components to the Release Notes and CHANGELOG. |
Released at v0.38.0 |
Hi,
We're trying to build an automated upgrade pipeline for some applications including VictoriaMetrics operator.
Once the operator is upgraded, we would like to check if it's functioning properly. The easiest way to do this would seem to be to check if all components are up and running, and have the correct version. (e.g.
vm_app_version{namespace="victoria-metrics",short_version =~ "^v1.91.0.*"} and up{namespace="victoria-metrics"} == 1)
)However, it seems there is no way to deduce from the operator which version it will be installing by default. The default version is hardcoded into the operator:
operator/internal/config/config.go
Line 131 in 4c97f70
Note: I do not want to know how to change the version, nor override the default. I want the default version. But I want my automated pipeline to know which version that is.
The text was updated successfully, but these errors were encountered: