Skip to content

Bump PodDisruptionBudget from deprecated v1beta1 to v1 #6333

Closed

Description

@pierDipi

Problem

I'm getting this warning on k8s 1.23:

Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget

on

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.0", GitCommit:"c2b5237ccd9c0f1d600d3072634ca66cefdf272f", GitTreeState:"clean", BuildDate:"2021-08-04T18:03:20Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-26T08:02:07Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}

Persona:
Which persona is this feature for?
*

Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.

Time Estimate (optional):
How many developer-days do you think this may take to resolve?
1

Activity

  1. pierDipi commented on May 2, 2022

    @pierDipi
    ContributorAuthor

    /triage accepted
    /good-first-issue

  2. knative-prow commented on May 2, 2022

    @knative-prow

    @pierDipi:
    This request has been marked as suitable for new contributors.

    Please ensure the request meets the requirements listed here.

    If this request no longer meets these requirements, the label can be removed
    by commenting with the /remove-good-first-issue command.

    Details

    In response to this:

    /triage accepted
    /good-first-issue

    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.

  3. added
    triage/accepted
    good first issue
    help wanted
    on May 2, 2022
  4. matzew commented on May 5, 2022

    @matzew
    Member

    similar: #5484 😄

  5. hamees-sayed commented on May 15, 2022

    @hamees-sayed

    I'd like to work on this! Can I get a bit more context on which command that you executed is failing.
    Possible solution I can think of is to change apiVersion: policy/v1beta1 to apiVersion: policy/v1 in line 41 of https://github.com/knative/eventing/blob/c7e9acb806cafdf0ddd77ea3a5ee545d0d4d267d/config/core/deployments/webhook-hpa.yaml

  6. pierDipi commented on May 23, 2022

    @pierDipi
    ContributorAuthor

    Hi @hamees-sayed, thanks for taking a look!

    see #6376 for a potential fix on this issue.

  7. liuchangyan commented on Jun 20, 2022

    @liuchangyan
    Contributor

    hi @hamees-sayed , are you still working on this issue? if no, I would like to have a try:)

  8. hamees-sayed commented on Jun 20, 2022

    @hamees-sayed

    @liuchangyan sure, go ahead.

  9. liuchangyan commented on Jun 29, 2022

    @liuchangyan
    Contributor

    @pierDipi Hello, Is this issue still valid? I've fixed it in this PR #6424, could you please help review it?

  10. pierDipi commented on Jun 29, 2022

    @pierDipi
    ContributorAuthor

    Hi @liuchangyan, thanks for your PR! I'll review it now!

  11. changed the title [-]Bump deprecated policy/v1beta1 PodDisruptionBudget to policy/v1 PodDisruptionBudget[/-] [+]Bump PodDisruptionBudget from deprecated v1beta1 v1[/+] on Sep 22, 2022
  12. changed the title [-]Bump PodDisruptionBudget from deprecated v1beta1 v1[/-] [+]Bump PodDisruptionBudget from deprecated v1beta1 to v1[/+] on Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wantedkind/feature-requesttriage/accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions