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

Error from server (Expired) #116

Closed
bjethwan opened this issue Feb 10, 2021 · 2 comments
Closed

Error from server (Expired) #116

bjethwan opened this issue Feb 10, 2021 · 2 comments

Comments

@bjethwan
Copy link

This works for small cluster but failed for a large cluster, in this case, there were more than 5.5k HPA

$ kubectl reap hpa --all-namespaces --dry-run=client -ojson | jq -s . | jq -r '["NAMESPACE","HPA_NAME","CREATION_TIMESTAMP","LAST_USED_TIMESTAMP"],(.[] | [.metadata.namespace, .metadata.name, .metadata.creationTimestamp, .status.lastScaleTime]) | @tsv' | column -ts $'\t' 

Error from server (Expired): The provided continue parameter is too old to display a consistent list result. You can start a new list without the continue parameter, or use the continue token in this response to retrieve the remainder of the results. Continuing with the provided token results in an inconsistent list - objects that were created, modified, or deleted between the time the first chunk was returned and now may show up in the list.
@bjethwan
Copy link
Author

Point me to the right place in the codebase and I will give a hand in fixing/testing it.

@micnncim
Copy link
Owner

Hi @bjethwan, could you try the --timeout flag with a long duration like 1h?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants