Files
kubernetes/cmd
Dave Chen c55a98fde9 kubeadm: fix invalid cross-device link error
The root cause for that error is because `rename` doesn't work
across different mount points.

The kubelet config file and back up directory are mounted to
different file system in kinder environment.

```
df /var/lib/kubelet/config.yaml | tail -n1 | awk '{print $1}'
/dev/sda2

df /etc/kubernetes/tmp/kubeadm-kubelet-configxxx | tail -n1 | awk '{print $1}'
overlay
```

Call `cp` instead of `rename` to back up the kubelet file would fix
that issue.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-02-02 11:43:18 +08:00
..
2022-02-14 10:55:35 -07:00
2021-02-28 15:17:29 -08:00
2021-02-28 15:17:29 -08:00
2023-01-23 14:24:29 +01:00
2022-02-14 10:55:35 -07:00
2022-02-14 10:55:35 -07:00
2022-07-13 20:33:40 -07:00
2022-10-10 13:43:03 -04:00