Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase tmp size limit #832

Merged
merged 5 commits into from
Jan 8, 2025
Merged

Increase tmp size limit #832

merged 5 commits into from
Jan 8, 2025

Conversation

dleviminzi
Copy link
Collaborator

Now that we copy image data into this directory, we need to increase its size for large images.

pkg/scheduler/pool_external.go Outdated Show resolved Hide resolved
@@ -252,7 +252,20 @@ func (wpc *LocalKubernetesWorkerPoolController) getWorkerVolumes(workerMemory in
hostPathType := corev1.HostPathDirectoryOrCreate
sharedMemoryLimit := calculateMemoryQuantity(wpc.workerPool.PoolSizing.SharedMemoryLimitPct, workerMemory)

tmpSizeLimit := resource.MustParse("30Gi")
defaultLimit := resource.MustParse("30Gi")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be a helper function since the logic is the same in both places? (pool external / pool local)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, bumped it into utils

@dleviminzi dleviminzi merged commit a531fa4 into main Jan 8, 2025
3 checks passed
@dleviminzi dleviminzi deleted the dlm/bump-worker-tmp-limit branch January 8, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants