tinglesoftware / dependabot-azure-devops

Tools for updating dependencies in Azure DevOps repositories using https://dependabot.com
MIT License
190 stars 62 forks source link

Pod ephemeral local storage usage exceeds the total limit of containers 2Gi. #1279

Open MarkTallentire opened 1 month ago

MarkTallentire commented 1 month ago

Describe the bug When utilising the automatic Azure Deployment Bicep file jobs fail with Pod ephemeral local storage usage exceeds the total limit of containers 2Gi.

Categorization

To Reproduce Steps to reproduce the behavior:

  1. Deploy the dependabot server using the bicep deployment
  2. Run a job (I assume on a large repo)
  3. Job crashes with Pod ephemeral local storage usage exceeds the total limit of containers 2Gi in the logs

Expected behavior The job to complete

Additional context Add any other context about the problem here.

MarkTallentire commented 3 weeks ago

I've had some more time to look at this and its due to the limit on the container size chosen automatically by the bicep file 0.5cores provides 2Gi of Ephemeral Storage in Azure

Propose making this configurable as part of the Bicep Installation

mburumaxwell commented 3 weeks ago

Job resources are configured at https://github.com/tinglesoftware/dependabot-azure-devops/blob/main/server/Tingle.Dependabot/Models/Management/UpdateJobResources.cs