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

Add resources to Kaniko init container #2260

Merged

Conversation

cedrickring
Copy link
Contributor

Fixes #2159

I used fixed resource quotas for the init container as I don't think a while-loop needs configurable resources.

Copy link
Contributor

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this issue! Left a suggestion.

pkg/skaffold/build/cluster/sources/localdir.go Outdated Show resolved Hide resolved
Copy link
Contributor

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

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

One last comment, otherwise it's looking good!

pkg/skaffold/build/cluster/sources/localdir_test.go Outdated Show resolved Hide resolved
@priyawadhwa priyawadhwa added the kokoro:run runs the kokoro jobs on a PR label Jun 13, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jun 13, 2019
Copy link
Contributor

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this!

@priyawadhwa priyawadhwa merged commit 05d3b2e into GoogleContainerTools:master Jun 13, 2019
@cedrickring cedrickring deleted the init-container-resources branch June 17, 2019 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error creating kaniko pod because of resource quotas
4 participants