-
Notifications
You must be signed in to change notification settings - Fork 669
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
Currently, v0.23.0 image has wrong app version #736
Comments
/assign |
Kindly reminder: Unfortunately, we still have the wrong Descheduler version with the latest image. We should consider publishing an image to fix the tag.
cc @damemi |
@eminaktas do you use helm chart install or use which for install? i need to have a test, also have to reinstall recently? |
I used the latest image |
thanks for your update~ i will have a try now :) |
before which docker image you use? still k8s.gcr.io/descheduler/descheduler:v0.23.1 ? |
I don't think this is going to be fixable in the current releases without publishing no-op changes and making new tags. Given the scope of this issue, I don't think it's worth the effort (but if others feel differently, we can still do it). What we can do is sort out what order we do release steps for future releases to fix this. For v0.24, I have put what I think is the right order to address this in that release tracking issue (#735). The reason you see So, we need to re-think when we are cutting the |
This is a tricky issue, so I'm sorry for the long post. But I think everyone understanding the details of this is worthwhile. To summarize the issue, we have two relevant components to each release which are conflicting here:
GCR image summary: GCR image problem: GCR image proposed solution: However, this won't necessarily work with patch releases, as I'm realizing by reading #801 This is because patch releases are not built from Obviously, pushing changes to a release version after tagging that release is not ideal. Compounding this is the Helm-chart releaser action. Helm-chart releaser:
When this happens, the action updates the official helm chart and creates a new git tag like Finally, the helm-chart releaser action won't run if it doesn't find any changes in the Based on all of the above, I propose that for all future releases we make Helm chart changes the final step in each release. I think decoupling the Chart from the code is acceptable, and this should allow us to make sure the right git tag is built into each promoted image following the processes below for major and patch releases: @seanmalloy @ingvagabund @JaneLiuL does this flow look good to you? Want to sanity-check it so everyone's on the same page moving forward |
@seanmalloy I don't think creating the GitHub release triggers a build, only merges. The build date and staging upload date will always match, but the PR to promote that image merged ~30min before I published the release. So I think this was just coincidental quick turnaround in getting the promoted image released. We also shouldn't publish the release without an image already available to point to in the release notes |
I just un-held the v0.24.0 promoted images. So once those merge, I'll cut the Following the flow above, cutting the With the patch tag created, we need to push a non-Helm-related change to trigger a new auto-build with the Finally, we will finish the patch release by merging the Helm version updates to If we follow the diagram I posted for future releases, this should go smoother. It's a little messy this time because I was still figuring it out. Does that all sound good? |
@damemi is Worth sharing the workflow graph in https://github.com/kubernetes-sigs/descheduler/blob/master/docs/release-guide.md as well. It looks amazing!!! |
Correct, it's technically both (a code change and a Helm release trigger) but I felt like it was more important to highlight that it was a release triggering action. I'll definitely add this to the docs, I think from what we learned in this release we could add some stuff to the checklist to make sure everything gets caught. At this point though, I think we've resolved this issue. So I'm going to close it. Thanks again for reporting this @eminaktas ! |
@damemi: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What version of descheduler are you using?
descheduler version: v0.23.0
Does this issue reproduce with the latest release?
Yes.
Which descheduler CLI options are you using?
Default options.
Please provide a copy of your descheduler policy config file
Default policy yaml
What k8s version are you using (
kubectl version
)?kubectl version
OutputWhat did you do?
Nothing special.
What did you expect to see?
v0.23.0
What did you see instead?
v20220127-v0.22.0-79-gafb1d75ce
The text was updated successfully, but these errors were encountered: