Skip to content

Commit b68f50c

Browse files
committed
fix: correct kubectl logs command in e2e workflow
--all-containers requires a pod selector. Use label selector and --prefix for readable multi-pod log output.
1 parent 365fee4 commit b68f50c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
if: failure()
6868
run: |
6969
kubectl describe pods -n nantian-gw
70-
kubectl logs -n nantian-gw --all-containers --tail=200
70+
kubectl logs -n nantian-gw -l 'app.kubernetes.io/part-of=nantian-gw' --all-containers=true --tail=200 --prefix=true
7171
7272
- name: Cleanup
7373
if: always()

0 commit comments

Comments
 (0)