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

rebase: bump k8s.io dependencies to v0.26.7 #4053

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

karthik-us
Copy link
Collaborator

@karthik-us karthik-us commented Aug 16, 2023

Bumping the k8s.io dependencies to v0.26.7. The main intention
is to update the client-go library dependency for kube 1.27+,
where aggregated discovery is enabled. With client-go lower than
v0.26.4 in some cases it is possible that the discovery response
comes with the malformed response with nil GVK leading to Crash
Loop Back Off state.

Upstream kubernetes issue:
kubernetes/kubernetes#116603

@mergify mergify bot added the rebase update the version of an external component label Aug 16, 2023
@karthik-us
Copy link
Collaborator Author

@Madhu-1 PTAL.

@Madhu-1
Copy link
Collaborator

Madhu-1 commented Aug 16, 2023

@karthik-us can you please update the description about reason for this change

go.mod Outdated
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.1
k8s.io/apimachinery => k8s.io/apimachinery v0.26.1
k8s.io/apimachinery => k8s.io/apimachinery v0.26.7
k8s.io/apiserver => k8s.io/apiserver v0.26.1
k8s.io/cli-runtime => k8s.io/cli-runtime v0.26.1
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to not update all k8s.io packages at once?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes we can change it as well 👍🏻 as the bug is in the client-go package it's only updated and not sure if updating other dependencies might cause some other regression. @nixpanic whats your suggestion?

Copy link
Member

Choose a reason for hiding this comment

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

I guess it is recommended to update to the latest versions when possible. That will include bugfixes and so on. Mixing different versions is mst likely less well tested than using the same version for everything. In case we hit an unidentified regression, we can always downgrade again. I hope that the projects we use have good CI, and regressions are kept to a minimum.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks @nixpanic & @Madhu-1, will update all the packages in that case.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Bumping the k8s.io dependencies to v0.26.7. The main intention
is to update the client-go library dependency for kube 1.27+,
where aggregated discovery is enabled. With client-go lower than
v0.26.4 in some cases it is possible that the discovery response
comes with the malformed response with nil GVK leading to Crash
Loop Back Off state.

Upstream kubernetes issue:
kubernetes/kubernetes#116603

Signed-off-by: karthik-us <ksubrahm@redhat.com>
@karthik-us karthik-us changed the title rebase: bump k8s.io/client-go and their dependencies rebase: bump k8s.io dependencies to v0.26.7 Aug 16, 2023
@karthik-us
Copy link
Collaborator Author

@karthik-us can you please update the description about reason for this change

Done.

@Madhu-1 Madhu-1 requested a review from nixpanic August 16, 2023 14:00
@Madhu-1
Copy link
Collaborator

Madhu-1 commented Aug 17, 2023

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Aug 17, 2023

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 71925d5

@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Aug 17, 2023
@github-actions
Copy link

/test ci/centos/k8s-e2e-external-storage/1.24

@github-actions
Copy link

/test ci/centos/k8s-e2e-external-storage/1.25

@github-actions
Copy link

/test ci/centos/k8s-e2e-external-storage/1.26

@github-actions
Copy link

/test ci/centos/k8s-e2e-external-storage/1.27

@github-actions
Copy link

/test ci/centos/mini-e2e-helm/k8s-1.24

@github-actions
Copy link

/test ci/centos/mini-e2e-helm/k8s-1.25

@github-actions
Copy link

/test ci/centos/mini-e2e-helm/k8s-1.26

@github-actions
Copy link

/test ci/centos/mini-e2e-helm/k8s-1.27

@github-actions
Copy link

/test ci/centos/mini-e2e/k8s-1.24

@github-actions
Copy link

/test ci/centos/mini-e2e/k8s-1.25

@github-actions
Copy link

/test ci/centos/mini-e2e/k8s-1.26

@github-actions
Copy link

/test ci/centos/mini-e2e/k8s-1.27

@github-actions
Copy link

/test ci/centos/upgrade-tests-cephfs

@github-actions
Copy link

/test ci/centos/upgrade-tests-rbd

@github-actions github-actions bot removed the ok-to-test Label to trigger E2E tests label Aug 17, 2023
@mergify mergify bot merged commit 71925d5 into ceph:release-v3.8 Aug 17, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rebase update the version of an external component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants