Skip to content

Commit

Permalink
bug(log-collector-script): look for kubelet config in the right place…
Browse files Browse the repository at this point in the history
… on AL2 (#1916)
  • Loading branch information
cartermckinnon authored Aug 9, 2024
1 parent a943d4e commit 6811189
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions log-collector-script/linux/eks-log-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ get_k8s_info() {

cp --force --recursive --dereference /etc/kubernetes/kubelet/config.json "${COLLECT_DIR}"/kubelet/config.json 2> /dev/null
cp --force --recursive --dereference /etc/kubernetes/kubelet/config.json.d "${COLLECT_DIR}"/kubelet/config.json.d 2> /dev/null

cp --force --recursive --dereference /etc/kubernetes/kubelet/kubelet-config.json "${COLLECT_DIR}"/kubelet/kubelet-config.json 2> /dev/null
;;
snap)
timeout 75 snap logs kubelet-eks -n all > "${COLLECT_DIR}"/kubelet/kubelet.log
Expand Down

0 comments on commit 6811189

Please sign in to comment.