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 node-feature-discovery (nfd) to k8s.gcr.io #524

Merged

Conversation

marquiz
Copy link
Contributor

@marquiz marquiz commented Dec 18, 2019

We would like to host images for node-feature-discovery in k8s.gcr.io, see kubernetes-sigs/node-feature-discovery#177

Upstream project name (node-feature-discovery) exceeds the 18 character limit mentioned in k8s.gcr.io/README.md so it was abbreviated to nfd here. I don't know if it would be possible/make sense to use the full name in the name of the registry (i.e. in ensure-staging-storage.sh and k8s-staging-nfd/promoter-manifest.yaml)(?)

/sig node

@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 18, 2019
@k8s-ci-robot
Copy link
Contributor

Welcome @marquiz!

It looks like this is your first PR to kubernetes/k8s.io 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/k8s.io has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @marquiz. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 18, 2019
@k8s-ci-robot k8s-ci-robot added wg/k8s-infra do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. labels Dec 18, 2019
@marquiz
Copy link
Contributor Author

marquiz commented Dec 18, 2019

/assign @bartsmykla

@ArangoGutierrez
Copy link
Contributor

++

@thockin
Copy link
Member

thockin commented Feb 5, 2020

@bartsmykla Will cross Ts and dot Is, but this seems OK. Problem with OWNERS is real - maybe just do Derek or someone else who can approve until people are org members?

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 5, 2020
@thockin
Copy link
Member

thockin commented Feb 5, 2020 via email

@marquiz marquiz force-pushed the devel/node-feature-discovery branch from b84d3fa to 01a43d6 Compare February 5, 2020 21:18
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 5, 2020
@marquiz
Copy link
Contributor Author

marquiz commented Feb 5, 2020

Rebased.

I'm not in love with "nfd" - is there anything else we can find?

Me neither but I couldn't come up with anything better as nfd or NFD is a commonly used acronym for the project.

I repeat my question from the PR submission: Would be possible/make sense to use the full name in the name of the registries (i.e. in ensure-staging-storage.sh and k8s-staging-nfd/promoter-manifest.yaml)?

@thockin
Copy link
Member

thockin commented Feb 5, 2020

The name of the subproject (nfd) is used to create GCS buckets, GCP projects, etc. We are bound by GCP's character limits on those, and (for better or worse) our prefix is established. To change it now would be forever inconsistent :(

The image name(s) that you use can be longer - I don't think we have a strong opinion on that (e.g. gcr.io/k8s-artifacts-prod/nfd/node-feature-detector and eventually k8s.gcr.io/...). We would not want to change the "directory" part of it though. That name-mapping is very convenient

@thockin
Copy link
Member

thockin commented Feb 5, 2020

BTW, we still have invalid OWNERS :(

@bartsmykla
Copy link
Contributor

I don't have strong opinion about the acronym, and everything except the OWNERS file look good to me.
@marquiz could you fix the issue with owners?

@marquiz marquiz force-pushed the devel/node-feature-discovery branch from 01a43d6 to 81c3bfe Compare February 7, 2020 11:43
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. labels Feb 7, 2020
@marquiz
Copy link
Contributor Author

marquiz commented Feb 7, 2020

The name of the subproject (nfd) is used to create GCS buckets, GCP projects, etc. We are bound by GCP's character limits on those, and (for better or worse) our prefix is established. To change it now would be forever inconsistent :(

@thockin thanks for the explanation

@marquiz could you fix the issue with owners?

I fixed that by removing all non-members from the owners file. There's now only one owner, do you think we would require to have more?

@thockin
Copy link
Member

thockin commented Feb 7, 2020

More would be nice, but maybe isn't a requirement at this point.

Copy link
Member

@thockin thockin left a comment

Choose a reason for hiding this comment

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

Thanks!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 7, 2020
@thockin thockin added approved Indicates a PR has been approved by an approver from all required OWNERS files. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 7, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: marquiz, thockin

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 51c9714 into kubernetes:master Feb 7, 2020
@thockin
Copy link
Member

thockin commented Feb 7, 2020

Actuating now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/node Categorizes an issue or PR as relevant to SIG Node. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants