Christian Stryczynski

Freelance software developer. Haskelling at night. Hopefully unconventional. Fan of Dvorak

kubectl cp does not copy files

Because Kubernetes is held together by code and duct tape the following is fucked up:

`kubectl cp ../media nfs-server-72p8m:/exports` returns success - but the files are not transferred 

If you add the trailing slash though it works...
`kubectl cp ../media nfs-server-72p8m:/exports/`

It is a fucking disaster. 

Written by Christian Stryczynski on Tuesday September 19, 2017

Permalink -

« Static methods are fucking amazing in object orientated programming