From dc4f13629c8b7889dfe00740ed5409dce6d60482 Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Thu, 7 Dec 2023 09:45:44 -0800 Subject: [PATCH] ci: Fix dump logs action to refer to the `kube-system` namespace (#5268) --- .github/actions/e2e/dump-logs/action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/e2e/dump-logs/action.yaml b/.github/actions/e2e/dump-logs/action.yaml index fdcc17d27ce3..f9a3a66286dc 100644 --- a/.github/actions/e2e/dump-logs/action.yaml +++ b/.github/actions/e2e/dump-logs/action.yaml @@ -26,14 +26,14 @@ runs: shell: bash run: | aws eks update-kubeconfig --name ${{ inputs.cluster_name }} - POD_NAME=$(kubectl get pods -n karpenter --no-headers -o custom-columns=":metadata.name" | tail -n 1) + POD_NAME=$(kubectl get pods -n kube-system --no-headers -o custom-columns=":metadata.name" | tail -n 1) echo "logs from pod ${POD_NAME}" - kubectl logs "${POD_NAME}" -n karpenter -c controller + kubectl logs "${POD_NAME}" -n kube-system -c controller - name: describe-karpenter-pods shell: bash run: | aws eks update-kubeconfig --name ${{ inputs.cluster_name }} - kubectl describe pods -n karpenter + kubectl describe pods -n kube-system - name: describe-nodes shell: bash run: |