From 74222c307052c563a2b3f9543291025243bce262 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Mon, 9 Jun 2025 19:40:32 +0800 Subject: [PATCH] chore: improve CI debugging and resource configuration (#6274) * chore: describe pods on CI failure Signed-off-by: WenyXu * chore: increase memory limit for main pod template from 2Gi to 3Gi Signed-off-by: WenyXu --------- Signed-off-by: WenyXu --- .../actions/setup-greptimedb-cluster/action.yml | 2 +- .github/workflows/develop.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-greptimedb-cluster/action.yml b/.github/actions/setup-greptimedb-cluster/action.yml index 1af7796c50..63b6c96b10 100644 --- a/.github/actions/setup-greptimedb-cluster/action.yml +++ b/.github/actions/setup-greptimedb-cluster/action.yml @@ -59,7 +59,7 @@ runs: --set base.podTemplate.main.resources.requests.cpu=50m \ --set base.podTemplate.main.resources.requests.memory=256Mi \ --set base.podTemplate.main.resources.limits.cpu=2000m \ - --set base.podTemplate.main.resources.limits.memory=2Gi \ + --set base.podTemplate.main.resources.limits.memory=3Gi \ --set frontend.replicas=${{ inputs.frontend-replicas }} \ --set datanode.replicas=${{ inputs.datanode-replicas }} \ --set meta.replicas=${{ inputs.meta-replicas }} \ diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index a861fb15e5..dc2ad1a422 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -250,6 +250,11 @@ jobs: name: unstable-fuzz-logs path: /tmp/unstable-greptime/ retention-days: 3 + - name: Describe pods + if: failure() + shell: bash + run: | + kubectl describe pod -n my-greptimedb build-greptime-ci: if: ${{ github.repository == 'GreptimeTeam/greptimedb' }} @@ -405,6 +410,11 @@ jobs: shell: bash run: | kubectl describe nodes + - name: Describe pod + if: failure() + shell: bash + run: | + kubectl describe pod -n my-greptimedb - name: Export kind logs if: failure() shell: bash @@ -554,6 +564,11 @@ jobs: shell: bash run: | kubectl describe nodes + - name: Describe pods + if: failure() + shell: bash + run: | + kubectl describe pod -n my-greptimedb - name: Export kind logs if: failure() shell: bash