From 3ed1b42418fe82b13cd9e8fadf3882f4827838ef Mon Sep 17 00:00:00 2001 From: ChristianZaccaria Date: Thu, 4 Jan 2024 09:42:24 +0000 Subject: [PATCH] Address requested changes --- .github/workflows/e2e_tests.yaml | 6 ++++++ src/codeflare_sdk/templates/base-template.yaml | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e_tests.yaml b/.github/workflows/e2e_tests.yaml index 51b01ba18..a89f5c21a 100644 --- a/.github/workflows/e2e_tests.yaml +++ b/.github/workflows/e2e_tests.yaml @@ -117,6 +117,12 @@ jobs: echo "Printing KubeRay operator logs" kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay | tee ${CODEFLARE_TEST_OUTPUT_DIR}/kuberay.log + - name: Export all KinD pod logs + uses: ./common/github-actions/kind-export-logs + if: always() && steps.deploy.outcome == 'success' + with: + output-directory: ${CODEFLARE_TEST_OUTPUT_DIR} + - name: Upload logs uses: actions/upload-artifact@v3 if: always() && steps.deploy.outcome == 'success' diff --git a/src/codeflare_sdk/templates/base-template.yaml b/src/codeflare_sdk/templates/base-template.yaml index 8f4575a05..8e6fd0e9e 100644 --- a/src/codeflare_sdk/templates/base-template.yaml +++ b/src/codeflare_sdk/templates/base-template.yaml @@ -16,21 +16,21 @@ spec: custompodresources: - replicas: 1 requests: - cpu: 1 - memory: 4G + cpu: 2 + memory: 8G nvidia.com/gpu: 0 limits: - cpu: 1 - memory: 4G + cpu: 2 + memory: 8G nvidia.com/gpu: 0 - replicas: 3 requests: - cpu: 1 - memory: 4G + cpu: 2 + memory: 12G nvidia.com/gpu: 1 limits: - cpu: 1 - memory: 4G + cpu: 2 + memory: 12G nvidia.com/gpu: 1 generictemplate: # This config demonstrates KubeRay's Ray autoscaler integration.