-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Transfer of file doesn't detect corruption. #2584
Comments
@buckleyGI Good catch! Thank you for the research and heads up! |
Wow, thanks for considering this as an enhancement and actually fixing it a few hours later. As for the --retries 999 switch, reading the PR (I don't know GO) you seem to
|
The newly introduced retries field in the transfer dialog was not passed to the transfer command. This commit fixes that. Follow-up of derailed#2584
@buckleyGI Thank you! That's the exact pb. Got pulled off and thought I had finished this feature ;( |
Thanks @derailed v0.32.3 does prevent the corruption with the (hardcoded?) retries of 999 Curious if there is a way that the end user can see the result of the command? Was there a way to catch the corruption before this feature in the TUI? |
The newly introduced retries field in the transfer dialog was not passed to the transfer command. This commit fixes that. Follow-up of #2584
k9s v 0.31.8
k8s v 1.26.6
To be clear, I understand that this isn't a problem with k9s but k9s masks it and k9s is here to make us succeed right :)
It turns out that the corruption of a sqlite Grafana database was not at the source but during transmission.
When you transfer a file from a pod to your system you typically use "kubectl cp". The corruption occurs with files approaching 100 Meg.
Never saw it before with smaller files but its a documented problem kubernetes/kubernetes#60140 (comment)
Solution: add a --retries 999
I hope this will save you 2 days as the k9s didn't give any feedback the corruptions was happening :)
The kubectl cp however does give back, for me it was "unexpected EOF".
When transferring large files I see it happening more often than less so it is very real and not a 1 off.
My ask is
The text was updated successfully, but these errors were encountered: