-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 support of initContainers and sideCars in poddefault #6749
Conversation
/assign @kimwnasptd |
@deepk2u thanks for the PR! I have this in my list of PRs to review and will get to it next week. From a high level overview, the addition of But on a second though would expect a huge minority to be interested in such a feature. So we could look into that in the future once/if we have a more concrete use-case. |
I think that might be another specific use case, we can implement that if needed |
@kimwnasptd let me know your thoughts after reviewing your PR, we would like to get this feature in the next release, if possible. |
Picking this up, thank you for the patience @deepk2u. I'm confident that this will make it in the KF 1.7 release. As a first step, I'd like us to introduce an @deepk2u could you create that folder in this PR and add one/some(?) example PodDefault yamls that will be setting initContainers and extra Containers? |
@kimwnasptd really great idea. I added the examples |
Tested the PR and everything works as expected and the test pass. Nice work @deepk2u! One thing I realized is that we don't have an automated action for running the unit tests for the PodDefaults webhook. @deepk2u would you have cycles to send a separate PR to have a GH Action similar to the Notebook Controller one to run the tests on each PR? |
I'll go forward and merge this PR. @deepk2u the next step will be to update the docs to expose this functionality to end users. There's some other small refactor work in the docs I want to do so I can send the first PR to setup the structure and then I'll ping you, so that we can continue with a docs PR. Thanks for your time and patience! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kimwnasptd The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@orfeas-k I think I actually spotted the first bug from this feature. In the notebooks details page we'll need to slightly modify the logic on how to extract the ENV Vars from PodDefaults. Could you take a look at this? For reference this is the error I see in the dev console
You'll also need to:
|
Sent a PR with a fix for this bug @kimwnasptd here #6903. Note that in order to reproduce the bug I needed to edit the |
This PR resolve #6745