-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
There is currently an ongoing effort to support specifying the RKE2/K3s data-dir argument, which allows a user to change it from the default of /var/lib/rancher/rke2 & /var/lib/rancher/k3s respectively, to a user provided directory. I've found the following instances of these directories hardcoded within the project:
RKE2_KUBELET_LOG_PATH=${HOST_PATH}/var/lib/rancher/rke2/agent/logs/kubelet.log local rke2_bin=$(readlink ${HOST_PATH}/var/lib/rancher/rke2/bin) support-bundle-kit/hack/collector-harvester
Lines 111 to 112 in 5f66ca8
cp ${HOST_PATH}/var/lib/rancher/rke2/agent/logs/kubelet.log . cp ${HOST_PATH}/var/lib/rancher/rke2/agent/containerd/containerd.log .
Please review the above information, and feel free to reach out to me regarding questions. The api changes can be found within this draft PR within rancher/rancher: https://github.com/rancher/rancher/pull/45326/files#diff-6f7b3ace8ec7df668da64642416a1171322908df345c8e339d314bac3ed08af6R57.
bk201
Metadata
Metadata
Assignees
Labels
No labels