Open ywk253100 opened 6 months ago
This is beta on k8s v1.26+
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands.
unstale
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands.
unstale
The aggregated discovery API is stable on Kubernetes v1.30
Currently, Velero creates a discovery client when starting up, fetches the API groups every 5 minutes and caches them. When a backup is created, Velero iterates the cached groups and fetches the resource types for every group and then fetches the objects for every resource type.
Kubernetes introduces a new accept header
Accept: application/json;as=APIGroupDiscoveryList;v=v2beta1;g=apidiscovery.k8s.io
in APIsapi
/apis
to support returning an aggregated discovery document for all groups/resources in one request. And Etag is also supported in the new API. Refer to the design.With the new machinesm, we can refactor the discovery process to avoid useless interactions with API server and improve the performance for backing up Kuerbernetes resources.
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.