kubernetes/cmd/kubeadm/app/util/etcd
Lubomir I. Ivanov ebf163684a kubeadm: adjust the logic around etcd data directory creation
- Ensure the directory is created with 0700 via a new function
called CreateDataDirectory().
- Call this function in the init phases instead of the manual call
to MkdirAll.
- Call this function when joining control-plane nodes with local etcd.

If the directory creation is left to the kubelet via the
static Pod hostPath mounts, it will end up with 0755
which is not desired.
2020-09-03 18:38:54 +03:00
..
BUILD kubeadm: adjust the logic around etcd data directory creation 2020-09-03 18:38:54 +03:00
etcd_test.go kubeadm: optimize the upgrade path from ClusterStatus to annotations 2020-02-20 12:19:05 +01:00
etcd.go increase robustness for kubeadm etcd operations 2020-06-15 22:43:21 +08:00
etcddata.go kubeadm: adjust the logic around etcd data directory creation 2020-09-03 18:38:54 +03:00