Skip to content

Commit 111f60c

Browse files
committed
ci: collect k8s events
1 parent 6814424 commit 111f60c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ Collect container logs:
443443
script:
444444
- kubectl -n $K8S_NAMESPACE get pods | grep Running | awk '{print $1}' | xargs -n1 kubectl -n $K8S_NAMESPACE logs | tee $K8S_NAMESPACE.log
445445
- kubectl -n $K8S_NAMESPACE run -i --rm --restart=Never -q --image=edenhill/kcat:1.7.1 kcat -- kcat -C -t billing -b billing-kafka:9092 -p 0 -e -q | tee $K8S_NAMESPACE-billing.json
446+
- kubectl -n $K8S_NAMESPACE events | tee $K8S_NAMESPACE-events.log
446447
artifacts:
447448
name: "logs-$CI_PIPELINE_ID"
448449
paths:

0 commit comments

Comments
 (0)