-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Redesign Event API #383
Comments
@gmarek the feature submission deadline has passed (Aug 1). Please, submit a feature exception (https://github.com/kubernetes/features/blob/master/EXCEPTIONS.md) to have this feature present in 1.8 release. |
@gmarek as you probably saw in the other feature comments, I am trying to understand how some features didn't get into the features repo before the deadline. This is only for the purpose of improving our release process and notifications for next time, not for blaming or pointing fingers. We're also trying to understand if there was prior work done on the feature, or if it was created after the freeze date. |
Yup, there's quite some work done on this, with (big) design doc shared with kubernetes-dev and in-depth discussion on SIG scale. For this we'll probably make it disabled by default, as there's not enough time to let it soak. Is it possible to have a 'quiet' release for things like that? @jdumars |
@gmarek that's an interesting question. My personal opinion is to provide as much transparency as possible, so we maintain a bond of trust with our user community. Being as you get to write the release notes, you can add something short there about it. And, thanks for clarifying the feature itself. |
Personal perspective on this, largely repeating comments I've made before. But, as this is a case in point...
We had a discussion in SIG Scalability about especially point #2 with no clear resolution. A few of lobbied @gmarek to do the feature submission not withstanding the points above and he agreed to to do. |
@jdumars @countspongebob @gmarek the main point to discuss here - is about the formal dates and deadlines, and what will happen if one will avoid them. We have agreed that the feature freeze for 1.8 (https://github.com/kubernetes/features/blob/master/release-1.8/release-1.8.md) is August 1, so all the features have to be submitted to the features repo before this date. If people, responsible for the release and the overall community feel that this deadline is not mandatory, it can be discussed and removed. From our (PM group) standpoint, the feature freeze is necessary from the high-level point of view (including planning of the roadmap, marketing activities, etc.). But if there are some reasons why we shouldn't have a feature freeze, again, let's discuss them. PS. It has been a long-discussed question in the community, even before SIG-PM was established. Now it might be a good time to solve it. |
SIG PM is not empowered, but release team is. SIG PM is responsible for managing the features on the high level, so we would be able to provide release team with the clearest and transparent information about the feature. |
@idvoretskyi - IIUC the exception process is a SIG-PM thing. I haven't heard complains from release team about developing features that are not enabled and don't impact current behavior (plus it's highly unlikely it will be finished in 1.8 timeframe). I'm happy to discuss it as soon as any doubts appear. Please correct me if I'm wrong - the goal is to track features that will ship in a current release, not the development process that may span across multiple releases. If I'm not mistaken this means that "features" (for lack of the better word) that are disabled and not ready to be enabled don't need to be tracked, right? |
Also note that there's not clear what constitutes a 'feature' and where's the border between new feature and 'improvement' that doesn't need a feature repo issue. Slight OT, but related to shipping features - it was widely acknowledged that @kubernetes/sig-scalability-misc have power to block features which cause performance degradation bad enough to make Kubernetes clusters break our performance SLOs (this is of course decided together with the release team). This is decided close to the release dates, when scale tests on a given release are finished. I'm saying this to make clear that feature repo can't be treated as source of truth about features that will ship in a given release. |
@gmarek any plans to continue development of this item for 1.9? |
FYI, the proposal recently merged: |
@bgrant0607 perfect. Updating the milestone. |
PR is also ready for review (not started because of 1.8): kubernetes/kubernetes#49112 |
@gmarek can you confirm that it's alpha for 1.9? |
@gmarek 👋 Please indicate in the 1.9 feature tracking board |
Automatic merge from submit-queue (batch tested with PRs 55952, 49112, 55450, 56178, 56151). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. New API group for Events. Fix kubernetes/enhancements#383 cc @shyamjvs ```release-note Add events.k8s.io api group with v1beta1 API containing redesigned Event type. ``` Kubernetes-commit: 60c20901911c710491a57eb8b9c48850cdbab054
We need to find an owner for this. This is actually not GA because it's not completely migrated and now we are in a weird position where we use two events APIs. |
They are round-trippable across each other, so it's not a bit deal from that POV. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Hey folks, can we summarize what exactly is needed to wrap this up? That may help us identify people who can work on this. |
+1, there's like 300 comments on this and it's impossible to read now, I actually would like to close this for a followup issue, or edit the OP with remaining needs. I don't know the state either. |
The KEP is stable and the new Events API has also graduated to stable but not all the kubernetes components have been migrated from the core/v1 API to the events/v1 one which is the reason why we are keeping this issue alive. Out of all the components, I think only the kube-scheduler was migrated. There was some concerns in the past that weren't adressed which kind of paused the total migration. For example the kube-controller-manager migration was halted: kubernetes/kubernetes#82834 I was just discussing that topic with @liggitt today since downstream we are often hit by misconfigured clients spamming the apiserver with similar events which often results in the creation of tens of thousands of Events object in the apiserver. The go-to way to solve this problem is to migrate to the new Events API since it was designed to reduce the number of calls made to the apiserver when identical Events are being emitted in a short span of time. So far we've find two areas where the current implementation of the new Events API could be improve in order to make the migration a lot safer for all the components.
I've only started looking at that again yesterday so there might be some more thing to think about, but for now my plan is to prepare a new KEP detailing the migration process and the different safeguards that are in place to prevent any issues post update. |
Automatic merge from submit-queue (batch tested with PRs 55952, 49112, 55450, 56178, 56151). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. New API group for Events. Fix kubernetes/enhancements#383 cc @shyamjvs ```release-note Add events.k8s.io api group with v1beta1 API containing redesigned Event type. ``` Kubernetes-commit: 60c20901911c710491a57eb8b9c48850cdbab054
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Do we also want to get |
Today both APIs are treated the same way by |
+1 Also catching up with the rest of this thread.
Interesting. The only other thing I know is the event aggregator: But if we suspect there are some other mechanisms we should double check that. But it could only live in one of the two places:
@dgrisonnet - That sounds great. Are you planning to target this for 1.27? |
Yes that's also the only mechanism I am aware of and so far I haven't been able to find anything else in the client but it would be worth investigating more in the server.
I haven't started writing anything yet, but I am considering submitting a KEP for 1.27. Do you think you will have enough bandwidth to review it? |
Yes - I would find time for reviewing the KEP (and probably some code too) , but I won't have time to contribute anything myself. |
/assign |
With #3728 covering the remaining event API migration work, I'd like to rescope this so we can close out this enhancement. |
I opened #3760 to update the criterias. |
Feature Description
The text was updated successfully, but these errors were encountered: