Skip to content
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

bump: k8s to 1.23 #667

Merged
merged 6 commits into from Dec 15, 2021
Merged

bump: k8s to 1.23 #667

merged 6 commits into from Dec 15, 2021

Conversation

damemi
Copy link
Contributor

@damemi damemi commented Dec 6, 2021

In preparation for the 1.23 release, bumping to the 1.23 release candidate for soak time

ref #641

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 6, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: damemi

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 6, 2021
@damemi
Copy link
Contributor Author

damemi commented Dec 6, 2021

/retest

Copy link
Contributor Author

@damemi damemi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stevehipwell
Copy link
Contributor

@damemi haven't PSPs been removed in K8s v1.23?

@seanmalloy
Copy link
Member

@damemi haven't PSPs been removed in K8s v1.23?

If I recall correctly they are still deprecated. They will be removed in v1.25.

@seanmalloy
Copy link
Member

@damemi haven't PSPs been removed in K8s v1.23?

If I recall correctly they are still deprecated. They will be removed in v1.25.

https://kubernetes.io/blog/2021/04/06/podsecuritypolicy-deprecation-past-present-and-future/

@stevehipwell
Copy link
Contributor

Thanks @seanmalloy, that would have been too easy.

@damemi are there any API version overrides in the values being used? Maybe for the cronjob? I'm not in front of my computer, so just guessing but might be able to take a proper look tomorrow.

@damemi
Copy link
Contributor Author

damemi commented Dec 6, 2021

@stevehipwell oh yeah! probably #577

@damemi
Copy link
Contributor Author

damemi commented Dec 6, 2021

Hm, actually looks like we should still be good with v1beta1 until 1.25 https://kubernetes.io/docs/reference/using-api/deprecation-guide/#cronjob-v125
/retest
maybe it's just a flake?

Logging validation functions changed in upstream commit
kubernetes/component-base@54ecfcd.
This uses the new function name.
@damemi damemi changed the title bump: k8s to 1.23-rc.0 bump: k8s to 1.23 Dec 10, 2021
@damemi
Copy link
Contributor Author

damemi commented Dec 10, 2021

Now that 1.23 has released, I'm just updating this to use the GA tag. Still need to sort out why Helm test is failing, we have some ideas above.

In the meantime, we also need to make the regular updates to test-infra to run against k8s 1.23 and add a test for the release-1.23 branch. If there are any volunteers to make that change please feel free!

@damemi
Copy link
Contributor Author

damemi commented Dec 10, 2021

Ran this locally and saw this error in the pod logs:

$ kubectl logs pod/descheduler-ci-27319252-5lpdg -n kube-system
Error: unknown flag: --v

which looks like we need the change to initialize klog, similar to this. I'll add that and report back

it's also weird that helm-test is the only one that caught this...

@damemi
Copy link
Contributor Author

damemi commented Dec 10, 2021

Green now, so this should be ready to merge

@ingvagabund
Copy link
Contributor

Running locally with -v=4 I don't see the descheduler logs

@damemi
Copy link
Contributor Author

damemi commented Dec 10, 2021

Running locally with -v=4 I don't see the descheduler logs

well that's not good...
/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 10, 2021
@ingvagabund
Copy link
Contributor

Klog seems to work, it's just the --v option that's not properly wired to it probably

@ingvagabund
Copy link
Contributor

ingvagabund commented Dec 15, 2021

Because kubernetes/kubernetes#106090
See change in kubernetes/kubernetes@3948cb8#diff-465167b08358906be13f9641d4798c6e8ad0790395e045af8ace4d08223fa922R78

@ingvagabund
Copy link
Contributor

/lgtm
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 15, 2021
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 15, 2021
@k8s-ci-robot k8s-ci-robot merged commit 2424928 into kubernetes-sigs:master Dec 15, 2021
@damemi
Copy link
Contributor Author

damemi commented Dec 15, 2021

Thanks again @ingvagabund for solving that problem!

briend pushed a commit to briend/descheduler that referenced this pull request Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants