kubernetes-client icon indicating copy to clipboard operation
kubernetes-client copied to clipboard

fail to upload file to azure k8s

Open ttbadr opened this issue 3 years ago • 8 comments

client version: 5.12.2 azure k8s version:1.21.9

when I upload a file from local to the azure k8s pod, the file is created in the pod, but no content in it. no any exception throw.

ttbadr avatar May 10 '22 03:05 ttbadr

How reproducible is this?

And is there any chance you could try this with the latest 6.0 snapshot?

shawkins avatar May 10 '22 22:05 shawkins

How reproducible is this?

And is there any chance you could try this with the latest 6.0 snapshot?

I think you can reproduce it just simply using API to upload a text file to the AKS(azure k8s service). where I can get the latest 6.0 snapshot?

by the way, It's ok to upload files in the self-managed k8s.

ttbadr avatar May 11 '22 02:05 ttbadr

where I can get the latest 6.0 snapshot?

Maven central snapshots. There was a nightly job added to keep it updated https://github.com/fabric8io/kubernetes-client/blob/0be7c02912e17ee1460340ab462be64afc3396f5/.github/workflows/release-snapshots.yaml

shawkins avatar May 13 '22 13:05 shawkins

@ttbadr : polite ping, Did you get any chance to try out our 6.0-SNAPSHOT version?

rohanKanojia avatar May 16 '22 12:05 rohanKanojia

@rohanKanojia I tried the 6.0-SNAPSHOT version, and still have the issue.

ttbadr avatar May 17 '22 02:05 ttbadr

@ttbadr : Could you please share some reproducer project with us?

rohanKanojia avatar May 17 '22 05:05 rohanKanojia

@ttbadr : Could you please share some reproducer project with us?

upload.zip @rohanKanojia

ttbadr avatar May 23 '22 03:05 ttbadr

Hi @ttbadr Unfortunately we don't have any AKS cluster to test this. Your code looks pretty standard and should work. Have you noticed if any other features are failing too? especially those related to WebSockets (waitUntilReady, watch, inform, etc.) Also, are you able to use the download feature?

manusa avatar Jun 08 '22 14:06 manusa

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Sep 06 '22 17:09 stale[bot]