-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Move code that should be maintained to dedicated repos #762
Comments
Yeah I've brought this up before. Fwiw both serviceloadbalancer and ingress have e2es (https://github.com/kubernetes/kubernetes/blob/master/test/e2e/ingress.go) in the main repo that consume released images from: https://github.com/kubernetes/contrib/releases. Unittests will run as part of contrib pre-checking github hooks. I usually include a line in the release notes when I bump up the image in: https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/cluster-loadbalancing/glbc/glbc-controller.yaml#L21 It's a hand wavy process that I'd like to improve. The meta issue is: How do we manage cluster addons?
|
/cc @kubernetes/sig-testing we've talked about moving test infra out before |
I would like to nuke contrib. It's no longer needed by the community. |
Can you clarify? What would we do with the stuff that's currently in kubernetes/contrib? |
@davidopp See the PR description. |
Ah OK, so what you're saying is "once we move everything from contrib out of contrib, contrib will no longer be needed"? I can't really disagree with that. :) |
Where does mungegithub go? I don't care mind you.... |
@eparis mungegithub would go into something like "productivity-tools". Some repo with a clear set of responsible owners, who would review its PRs, triage its issues, build and push updates to the tool(s), etc. |
Note that we might just delete some things (e.g., podex, which is totally broken at this point). |
mungegithub could go into test-infra. |
If there're projects suffering from this in subdirectories of contrib/, I feel like they'll suffer from it in another repo too. I also think we should be clear about the bar for a new project under kubernetes/ repo. I want a place to incubate ideas without putting serious time and effort into making it production ready. For example, the keepalived project: https://github.com/kubernetes/contrib/tree/master/keepalived-vip is a useful prototype of an ipvs replacement of kube-proxy. Splitting that out into kubernetes/keepalived-vip doesn't help, it'll still be only a prototype. Keeping it under bprashanth/keepalived-vip doesn't either, because I want people to use it/contribute etc. |
@bprashanth Github is optimized for small, single-purpose repos. Separate repos have several benefits.
Bar should be something potentially reasonably useful that someone on the project is willing to maintain, at least so long as it exists. If we're not going to maintain it (at least respond to PRs and issues), it belongs elsewhere. |
Ansible will go under kubernetes/kube-deploy repository (sooner or later). |
As mentioned by @thockin in #1389 (comment) and in comments above, we should move mungegithub to another repo. I'm currently thinking |
+1, having a distinct repo would further the goal of being repo-agnostic On Mon, Jul 25, 2016 at 11:14 PM, Brian Grant [email protected]
|
Stab at suggesting where each thing should go. Will gradually fill these in. Suggestions welcome.
|
Filed #1441 for ingress |
Mungegithub should be in its own repo. Travis CI should work well for almost all of these repos, since they should have small, fast test suites. This also means the submit queue flow shouldn't be necessary-- just merge when the CI status is green. |
@rmmh If tests are fast, then submit queue will be fast. |
OK, we can make the submit-queue trigger a travis build to test the merge commit then. Travis is a much better experience for everyone involved. |
dnsmasq should probably move into a kube-dns repo, along with the kube-dns On Tue, Jul 26, 2016 at 10:01 AM, Brian Grant [email protected]
|
I agree that travis should be sufficient for most repos. However, travis can be a bit of a pain when you have multiple languages, or when you want to do long or continuous testing. Travis also limits to 5 concurrent builds per org, so that's not great. I'm working on something better right now but it won't be ready right away. I would really rather not run the submit queue/mungers against every repo. Just click the big green merge button when it's passed CI. |
Created pr-bot repo for mungegithub. |
I have this PR #1343, which adds a new project in contrib. In light of this discussion, where should i make it go? I would like to make this project available and open for the community. |
@kokhang I'd rather hold off checking in a uber serviceloadbalancer implementation (#1343). Suggest keeping it in a local repo for now. We will at some point in the not too distant future need to figure out what we do with serviceloadbalancer (https://github.com/kubernetes/contrib/tree/master/service-loadbalancer), because we're about to decommission contrib/ entirely. I will probably take some sort of community poll to figure out if it's worth maintaining, depending on who's using it for what. If #1343 is feature compatible, and we decide that we do need a serviceloadbalancer implementation, we should put the mult-backend version through the incubator (https://docs.google.com/document/d/1ugAd9Zj-jW3YHdrNVdktmvDMEWtChPqyGHfkwWdQ3zo/edit#).
@Q-Lee If we go the incubator route, they will become backends for #1343
#1440 is an Ingress controller for Netscale. Probably the best place to keep it is in an official Netscaler repo, like nginx does: https://github.com/nginxinc/kubernetes-ingress (we also have an nginx ingress but they have different goals, ours tries to maintain cross platform purity, while theirs tries to surface nginx plus features). |
This is a two-edged sword, of course. If users who wan to assemble a k8s On Thu, Aug 11, 2016 at 3:19 PM, Prashanth B [email protected]
|
@bprashanth I am all for trying to get the multi-backend service LB (#1343) in kubernetes incubator. Having it in my own repo would be hard for the community to know about and contribute to it. Did this incubator process result as part of the elimination of /contrib? |
@kokhang @bprashanth Just to be clear, #1343 is not a drop-in replacement (yet) of service-loadbalancer. We would need to add L7 ingress support to it. |
I don't MIND adding new repos under kubernetes, if we think that they will There's a certain gravitas that projects under kubernetes/* should have (I On Mon, Aug 15, 2016 at 2:55 PM, Vipul Sabhaya [email protected]
|
git-sync has its own repo: |
git-sync is an example of a really self-contained thing that doesn't even On Tue, Aug 23, 2016 at 4:39 PM, Brian Grant [email protected]
|
@thockin when creating new repos, do you think there should be a naming convention? For example in case of #1441, should its new home be github.com/kubernetes/controller-ingress or just plain github.com/kubernetes/ingress? Something worth thinking about before there are 10 pages of repos under kubernetes... |
We could also use multiple orgs, since GitHub has no other nesting. Something like kubernetes-sidecars/git-sync and kubernetes-addons/ingress I don't know if we need to impose naming conventions yet, or if we do it is On Fri, Oct 28, 2016 at 9:43 AM, Marcin Owsiany [email protected]
|
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/lifecycle frozen |
contrib isn't monitored adequately for maintained code. Issues aren't triaged. PRs aren't reviewed. We need to fix those problems, but it's not a good idea to mix maintained and unmaintained code.
Examples:
cc @bprashanth @eparis @david-mcmahon @mikedanese @ixdy @Q-Lee
The text was updated successfully, but these errors were encountered: