-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.sig/etcdCategorizes an issue or PR as relevant to SIG Etcd.Categorizes an issue or PR as relevant to SIG Etcd.
Description
What happened?
As a follow up of the pr #132374 to improve the returned error message.
Title of this issue might be improved.
Link to the conversations:
https://github.com/kubernetes/kubernetes/pull/132374/files#r2164278417
What did you expect to happen?
Improved error message.
Currently, we return:
return storage.NewTooLargeResourceVersionError(uint64(withRev), currentRV, 0)
How can we reproduce it (as minimally and precisely as possible)?
curl -v -X GET 'https://xxxx:6443/apis/storage.k8s.io/v1/storageclasses?resourceVersion=7111021737&limit=38&timeoutSeconds=1&gracePeriodSeconds=103' -H "Authorization: Bearer $TOKEN" --insecure
Anything else we need to know?
No response
Kubernetes version
$ kubectl version
# paste output here
Cloud provider
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.sig/etcdCategorizes an issue or PR as relevant to SIG Etcd.Categorizes an issue or PR as relevant to SIG Etcd.