Skip to content

Commit

Permalink
ci: Fix dump logs action to refer to the kube-system namespace (#5268)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Dec 7, 2023
1 parent 77d2753 commit dc4f136
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/e2e/dump-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit dc4f136

Please sign in to comment.