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

Job: requirements for graduation to beta #15312

Closed
bgrant0607 opened this issue Oct 8, 2015 · 13 comments
Closed

Job: requirements for graduation to beta #15312

bgrant0607 opened this issue Oct 8, 2015 · 13 comments
Assignees
Labels
area/api Indicates an issue on api area. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@bgrant0607
Copy link
Member

Before Job graduates from experimental:

Broader discussion of revamping our approach to controllers: #14961. I'll try to flesh out that proposal soon and then will update this issue.

@bgrant0607
Copy link
Member Author

cc @erictune @mikedanese @soltysh

@bgrant0607 bgrant0607 added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. area/api Indicates an issue on api area. team/control-plane labels Oct 8, 2015
@bgrant0607
Copy link
Member Author

@ncdc
Copy link
Member

ncdc commented Oct 8, 2015

It needs to adopt the more general selector

I'm not fully up to speed on 341 yet - will we be able to use the more general selector in Job in v1, or is that impossible?

Broader discussion of revamping our approach to controllers

I'm guessing the result of this discussion will be a series of code changes to the job controller. Is this an absolute prerequisite for moving Job out of experimental?

@derekwaynecarr
Copy link
Member

@bgrant0607 - is it accurate to state then that Job moving out of experimental is not necessarily gated on API groups being completed?

@pmorie
Copy link
Member

pmorie commented Oct 8, 2015

@bgrant0607 Why not just add a new field for the generalized label selector? That would be backward compatible.

@mikedanese
Copy link
Member

@pmorie it wouldn't be backward compatible. See #341 (comment). If we defer moving things out of experimental until they've been transitioned to the new label selector, we avoid a difficult migration.

@mikedanese
Copy link
Member

I'm not fully up to speed on 341 yet - will we be able to use the more general selector in Job in v1, or is that impossible?

@ncdc It is possible. It's not possible to transition existing API objects that use the current selector to the generalized selector without breaking compatibility . Since we can break compatibility of Job before moving it to v1, there shouldn't be an issue.

@bgrant0607
Copy link
Member Author

@derekwaynecarr The only alternatives to moving Job to a new API group are:

  1. move it to v1
  2. clone v1 into v2beta1 and add it there but not in v1, using a custom storage version as was done for PodTemplate; hardcoded custom default version would also need to be added to kubectl

Before doing either of those things I'd at least want to try a new API group to see what didn't work.

@bgrant0607
Copy link
Member Author

cc @davidopp

@soltysh
Copy link
Contributor

soltysh commented Oct 9, 2015

I need to read through aforementioned issues and prepare necessary fixes to the job controller as soon as possible, if this is the blocking factor for moving jobs out of experimental.

@bgrant0607
Copy link
Member Author

One more option: Rename the experimental group and create newname/v1beta1: #15378. I forgot that Eric and I had discussed that.

@erictune
Copy link
Member

I think this is closed by #15520

@mikedanese @bgrant0607 FYI

@bgrant0607
Copy link
Member Author

Yes, I don't think any of the changes discussed in #14961 need to be non-backward-compatible, so I believe we're fine for 1.1 now.

@bgrant0607 bgrant0607 added this to the v1.1 milestone Oct 16, 2015
@erictune erictune changed the title Job graduation requirements Job: requirements for graduation to beta Oct 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Indicates an issue on api area. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

7 participants