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
Upgrade k8s.io/* to v0.22, sigs.k8s.io/controller-runtime to v0.10 #4772
Comments
I will wait for #4757 progress before starting on this in order to avoid too many conflicts. |
/assign |
/unassign |
/assign @acumino |
@timebertt, IIUC |
Yes, that's true. We can either do it for the controller's that are already controller-runtime native controllers today (admission-controller, resource-manager, scheduler) or later once all controllers are refactored. |
/cc @rfranzke |
Sure, please close if there is nothing left to be done :) |
Ready check PR for all provider-extension I think there is no need for this in any other extension. |
/close |
@acumino: 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. |
How to categorize this issue?
/area open-source
/kind task
What would you like to be added:
We should upgrade to the latest versions of our go upstream dependencies:
sigs.k8s.io/controller-runtime@v0.10.x
: https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.10.0k8s.io/*@v0.22.x
It's probably a good idea to complete this one before continuing on #4251.
Important changes / Action items
Here is a list of a few upstream changes to look out for when vendoring g/g, k/* and c-r in any of our repos (e.g. extensions). Please consider the release notes of controller-runtime@v0.10.0 and upwards as well for a more complete list and more details.
This list contains some action items for g/g as well.
⚠️ Client: Ensure no stale data remains in target object kubernetes-sigs/controller-runtime#1640
kutil.CreateResetObjectFunc
), as they are not needed anymore with the changed client behavior⚠ bump to kubernetes 1.22.0 kubernetes-sigs/controller-runtime#1626
envtest.WebhookInstallOptions.*Webhooks
andenvtest.CRDInstallOptions.CRDs
have to be switched fromclient.Object
to the respective typed objects⚠️ Disable the
rest_client_request_latency_seconds
metric by default kubernetes-sigs/controller-runtime#1587rest_client_request_latency_seconds
(so far we are also exposing it only on a few components)ℹ️ other changes / good to know / for information only:
controller.Options.RecoverPanic=true
-> SetRecoverPanic
to true for controller reconcile #5383server.StartedChecker()
for components serving webhooks -> Add ready check for Webhook server #5380GVK
/TypeMeta
onenvtest.WebhookInstallOptions.*Webhooks
explicitly anymoresource.Kind
, g/g can only benefit from it once Refactor Gardener components to native controller-runtime components #4251 is completed--unsafe-no-fsync
to stop writing to disk in envtests ➡️ Bump envtest binaries to v1.22 #4851The text was updated successfully, but these errors were encountered: