Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Adding an emptyDir to kubernetes deployment #380

Merged
merged 1 commit into from
Jan 19, 2022
Merged

Adding an emptyDir to kubernetes deployment #380

merged 1 commit into from
Jan 19, 2022

Conversation

ChristianKuehnel
Copy link
Contributor

@ChristianKuehnel ChristianKuehnel commented Jan 19, 2022

This should resolve the out-of-disk problems reported in #379

Mounting an emptyDir volume for the Buildkite working directory should remove the disk space limitations from Kubernetes. So now it's only limited by the physical disc space available to the VM.

I did not check in detail but it looks like the ccache folder is also below /var/lib/buildkite-agent so that should be covered as well.

It might cause issues with the permissions. In that case we would probably need to change the permissions after the volume is mounted. So that would have to go into the entrypoint.sh script.

@metaflow Can you please review the change? I did not dare to apply it so far...

This should resolve the out-of-disk problems reported in #379
@metaflow
Copy link
Collaborator

I will try to rebuild an image an check on test agent pool. Thank you, @ChristianKuehnel !

@metaflow metaflow merged commit 6394ae3 into main Jan 19, 2022
@metaflow metaflow deleted the emptydir branch January 19, 2022 16:44
@metaflow
Copy link
Collaborator

@ChristianKuehnel I have also documented steps I have done to verify PR before merging https://github.com/google/llvm-premerge-checks/wiki/LLVM-pre-merge-tests-operations-blog#2022-01-19

@ChristianKuehnel
Copy link
Contributor Author

ChristianKuehnel commented Jan 20, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants