Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

[RELEASE-v1.8] Revert "upgrade k8s autoscaling to v2 (#13337)" - #1314

Closed
nak3 wants to merge 1 commit into
openshift:release-v1.8from
nak3:revert-1.8
Closed

nak3 wants to merge 1 commit into
openshift:release-v1.8from
nak3:revert-1.8

Conversation

@nak3

@nak3 nak3 commented Nov 10, 2022

Copy link
Copy Markdown

This patch runs:

$ git revert 974d19d03644dff46b097a15efb4d3d7167765ad

as openshift/release/update-to-head.sh is not executed for release branch.

/cc @skonto

@openshift-ci
openshift-ci Bot requested a review from skonto November 10, 2022 15:10
@nak3

nak3 commented Nov 10, 2022

Copy link
Copy Markdown
Author

openshift/release#33929 is failing due to this.

With said, this should be fixed by somehow rather than git revert...

@openshift-ci openshift-ci Bot added the area/test-and-release Issues or PRs related to test and release label Nov 10, 2022
@openshift-ci

openshift-ci Bot commented Nov 10, 2022

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nak3

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 10, 2022
@skonto

skonto commented Nov 11, 2022 •

Copy link
Copy Markdown

@nak3 (thinking out lout):

We do the revert for the v2 because we need to run on versions < OCP 4.10.
Now it seems 4.13 (1.26) will come in mid 2013 (from what I read) but we will have to support previous API versions under EUS maintenance mode which means we will have to support v2beta2 too unless we dont support K8s <1.23 versions (<OCP 4.10) by that time. 4.9 end of OCP maintenance support is April 2023 afaik.
It holds that:

autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler"

If 1.8 comes after 4.9 end of life then we hit a window where we will be on 4.10 +(1.23+) and we can simply switch to v2 without reverting or doing any hacky code patch. That is a rough guess. WDYTH?

@mgencur

mgencur commented Nov 14, 2022

Copy link
Copy Markdown

Please send this PR against https://github.com/openshift-knative/serving . The current CI setup was disabled for openshift/knative-serving.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Issues or PRs related to test and release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants