I have been trying to install Dremio in kubernetes.
I was successful with the helm installation however the issue comes when i need to copy the additional custom connector jars from filesystem into the kubernetes pod.
I use “kubectl cp ./testconnector-1.0.0.jar kuberbetes-executor-0:/opt/dremio” and I get the “operation not permitted” error.
tar: jconn4.jar: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
command terminated with exit code 2
Is there any way around this. Iam having root credentials.
but once it goes to tmp I cannot move it to /opt/dremio as i get the same operation not permitted
cp: cannot create regular file ‘/opt/dremio/jars/testconnector-1.0.0.jar’: Permission denied
-rwxrwxrwx 1 dremio dremio 17178 Apr 28 13:23 testconnector-1.0.0.jar
How can I get around this issue