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

KEP-2539: Addressing comments from #2540 #2553

Merged

Conversation

chaodaiG
Copy link
Contributor

@chaodaiG chaodaiG commented Mar 3, 2021

This is updating KEP-2539 based on comments from #2540

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Mar 3, 2021
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 3, 2021
@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch from cb86427 to a133403 Compare March 3, 2021 23:50
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 3, 2021
@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch from a133403 to 988400a Compare March 3, 2021 23:55
@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. labels Mar 3, 2021
@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch from 988400a to 40f842e Compare March 4, 2021 16:59
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 4, 2021
@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch from 40f842e to b11b75f Compare March 4, 2021 17:04
@spiffxp
Copy link
Member

spiffxp commented Mar 5, 2021

ref: #2539

@spiffxp
Copy link
Member

spiffxp commented Mar 10, 2021

/sig release
/priority important-soon
I complete misspoke during sig-testing where we initially discussed this KEP; @ameukam was recently promoted to release manager associate, not SIG TL.

We are getting close to the point where we'd like to announce some process changes this enables (less toil, more community empowerment)

In order to get this to Implementable, can someone from @kubernetes/sig-release-leads volunteer to act as approver for this on behalf of SIG Release? Alternatively, are you OK with @ameukam approving on your behalf?

@k8s-ci-robot k8s-ci-robot added sig/release Categorizes an issue or PR as relevant to SIG Release. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Mar 10, 2021
Copy link
Member

@justaugustus justaugustus left a comment

Choose a reason for hiding this comment

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

A few questions...

Around graduation, it seems that if we turn this on, it's functionally a "straight to prod/GA" scenario.

Is there a scenario/trial period where we could do a "canary" prow cluster that gets the new images immediately and repos/jobs/subprojects could opt-in to test running on that/those cluster(s)? (I'd be fine w/ having the RelEng + enhancements repos trial)

What would be the implementation timeline?

Comment on lines 149 to 150
- Announce this change before enabling Alpha phase on #prow and #testing-ops
channel on Slack
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be announced widely to k-dev.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sound good, updated to also include emailing to kubernetes-dev@googlegroups.com

@justaugustus
Copy link
Member

cc: @kubernetes/release-engineering

@spiffxp
Copy link
Member

spiffxp commented Mar 10, 2021

Is there a scenario/trial period where we could do a "canary" prow cluster that gets the new images immediately and repos/jobs/subprojects could opt-in to test running on that/those cluster(s)?

Having two prows handle the same org is very tricky, and part of what's making it difficult to plan migration from prow.k8s.io in google.com to a prow instance in kubernetes.io. So I would say probably not for prow, as part of this KEP, but we are looking into whether something like this is a feasible approach for migrating prow.k8s.io to community.

But for jobs! that's part of the changes we're proposing here... break out the monolithic bump-all-jobs-and-prow PR into distinct PRs for prow (still owned by test-infra-oncall), and for jobs (and hand ownership of these merges to... also auto-merging?). If we wanted to get fancy with bumping different paths or different images at different cadences, we could. But the goal is... that complexity (if desired) shouldn't be test-infra-oncall's concern.

As far as "run on cluster"... this KEP is independent of what gets bumped in k8s-infra-prow-build and how. I do plan on setting up autobump for it, but the components currently impacted would be greenhouse and boskos (e.g. this was a manual run I did kubernetes/k8s.io#1740). Both update on a much slower cadence.

@spiffxp
Copy link
Member

spiffxp commented Mar 10, 2021

@justaugustus are you acting as SIG Release approver for this? or are you suggesting someone from @kubernetes/release-engineering should be?

What would be the implementation timeline?

I'm going to defer to @chaodaiG for that, but I think we're capable of landing this before test freeze.

As a reminder, we have never frozen test-infra for release freezes, and nobody has provided compelling evidence for why we should (ref: kubernetes/sig-release#907). But we are absolutely not interested in causing churn while contributors need to remain focused

@justaugustus
Copy link
Member

@justaugustus are you acting as SIG Release approver for this? or are you suggesting someone from @kubernetes/release-engineering should be?

With the addition of a loud announcement about this and clarification of when in a cycle to do this, I'm happy to approve for SIG Release.

Just tagging the team for eyes on.
...and assigning SIG TLs + Arnaud, in case they want to explicitly approve as well:
/assign @hasheddan @jeremyrickard @ameukam

What would be the implementation timeline?

I'm going to defer to @chaodaiG for that, but I think we're capable of landing this before test freeze.

As a reminder, we have never frozen test-infra for release freezes, and nobody has provided compelling evidence for why we should (ref: kubernetes/sig-release#907). But we are absolutely not interested in causing churn while contributors need to remain focused

Agreed that this has seemed to not be required in the past, but I'll let others chime in as well.

@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch 2 times, most recently from b259885 to def3503 Compare March 10, 2021 22:42
@chaodaiG
Copy link
Contributor Author

With the addition of a loud announcement about this and clarification of when in a cycle to do this, I'm happy to approve for SIG Release.

Thank you! Updated the KEP with a loud announcement, as well as to make you the approver from SIG Release.

What would be the implementation timeline?

The real implementation of alpha phase is very trivial, could be done in an hour, so it's very flexible. Totally agree with @spiffxp that we don't want to cause any churn in test. @justaugustus what time would you think is better?

@justaugustus
Copy link
Member

@justaugustus what time would you think is better?

@chaodaiG -- If the work is ready now, right after we cut the branch for v1.21 probably works!

@chaodaiG
Copy link
Contributor Author

@justaugustus what time would you think is better?

@chaodaiG -- If the work is ready now, right after we cut the branch for v1.21 probably works!

Awesome! And yes I believe it's ready, just created all the PRs for implementing alpha phase:

Will announce this change on k8s-dev right after v1.21 branch is cut

@chaodaiG
Copy link
Contributor Author

@justaugustus , @spiffxp , now that v1.21 branch was cut, I'm preparing to announce it. Quick question, what should happen first?

  • Move this KEP to implementable
  • Announce to k8s-dev
    Assuming the real implementation will happen after these two events

Copy link
Member

@spiffxp spiffxp left a comment

Choose a reason for hiding this comment

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

Sure, update kep.yaml with status: provisional and I'm ready to /approve

Is the intent to announce this as alpha or beta?

@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch 2 times, most recently from b7d02af to 5809ef0 Compare March 31, 2021 16:21
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 31, 2021
@chaodaiG
Copy link
Contributor Author

Sure, update kep.yaml with status: provisional and I'm ready to /approve

Is the intent to announce this as alpha or beta?

The initial implementation is low frequency deploy at every 6 hours, which qualifies as alpha phase, so will announce as alpha

@chaodaiG chaodaiG force-pushed the prow-deploy-address-comment branch from 5809ef0 to 70e9e00 Compare March 31, 2021 16:27
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 31, 2021
Copy link
Member

@spiffxp spiffxp left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 31, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chaodaiG, saschagrunert, spiffxp

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 31, 2021
@k8s-ci-robot k8s-ci-robot merged commit 9d4deb4 into kubernetes:master Mar 31, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.21 milestone Mar 31, 2021
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. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/release Categorizes an issue or PR as relevant to SIG Release. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants