-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Skip Docker install #6957
Skip Docker install #6957
Conversation
Hi @austinmoore-. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @geojaz |
Thanks @austinmoore- this looks great, I actually have a use case for this similar to the one you described. I'm wondering if instead of adding yet another feature flag
What do you think? /ok-to-test |
My personal opinion is that I usually prefer to have the key indicate the operation, rather than a value. It feels more explicit to me that way. In my mind, |
I would love if people could choose their own docker version here (and noop if none) looking at all the CVE's from the last year. Do you think something getting close to this goal could be doable? Also - if possible - could you rebase the last two commits? |
a9939af
to
3175ade
Compare
I cleaned up those commits. And yes I think it's totally doable. Since there are two voice support for that, I can go ahead and make that change. So just to confirm the new spec will look like: spec:
docker:
version: noop |
@chrisz100 Actually, I might have misread what you said. By specifying your own Docker version are you thinking of something like this: #6956 Or were you referring to @rdrgmnzs suggestion? |
/retest |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
/retest #7571 makes me wonder if this was a flaky failure |
Thanks for the ping on this @rdrgmnzs, I agree with everyones comments above. A separate Is there a reason this couldn't just be part of the So I think my preference would be:
|
/assign @rdrgmnzs |
The reason I had added a new
is a good place for this and removes the need to add a new field. So if we go through with this, I think we should also move |
Ahh yeah I see, that makes sense but personally, I don't mind having that in |
👍 to having everything under |
Re: this discussion kubernetes#6957 (comment)
@mikesplain @rdrgmnzs How's it look? |
This looks great @austinmoore- ! Thanks you so much for sticking with this and getting it to this point. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: austinmoore-, rdrgmnzs 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 |
Cherry pick of #6957 onto release-1.15
Cherry pick of #6957 onto release-1.14
Re: this discussion kubernetes#6957 (comment)
Re: this discussion kubernetes#6957 (comment)
Re: this discussion kubernetes#6957 (comment)
Adds configuration (
spec.dockerInstall.skipInstall
) that indicates to nodeup that it should skip the Docker tasks. See the added docs for details on how to use it. My thinking with this configuration is that if the user specifies it, nodeup should not do anything related to Docker and it's up to the user to ensure Docker is setup as it needs to be.The motivation for this came from an old situation I encountered. The base AMIs we were building from already had Docker install. So to get kops working with these AMIs, we would simply uninstall Docker from our AMIs and then just let kops install Docker. 🙄
Even though I personally don't have a use for this right now, I figured that while I was working on #6956 I could do this real quick. Hopefully someone out there in a similar situation finds this useful!