mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add k8s log for github action (#8796)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
4f3c40be1f
commit
398ff27aa0
11
.github/workflows/pod-kill-chaos-test.yaml
vendored
11
.github/workflows/pod-kill-chaos-test.yaml
vendored
@ -66,6 +66,15 @@ jobs:
|
||||
- name: Verify Pod Kill
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
working-directory: tests/python_client/chaos
|
||||
run: |
|
||||
#in this step, we can verify whether pod has been killed by pod's age
|
||||
kubectl get po -n chaos-testing |grep "milvus-chaos"
|
||||
kubectl get po -n chaos-testing |grep "milvus-chaos"
|
||||
kubectl logs -l app.kubernetes.io/instance=my-release -n chaos-testing > log_info.log
|
||||
|
||||
- name: Upload logs
|
||||
if: ${{ always() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: logs-${{ matrix.pod }}
|
||||
path: tests/python_client/chaos/log_info.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user