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

Missing events on status config map #2495

Closed
enxebre opened this issue Oct 30, 2019 · 19 comments · Fixed by #4921
Closed

Missing events on status config map #2495

enxebre opened this issue Oct 30, 2019 · 19 comments · Fixed by #4921

Comments

@enxebre
Copy link
Member

enxebre commented Oct 30, 2019

Even though Scale-up: group events (https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/core/scale_up.go#L715) should have been triggered as well for the status configMap as shows the log:

Event(v1.ObjectReference{Kind:"ConfigMap", Namespace:"test", Name:"cluster-autoscaler-status", UID:"6f9ba031-9377-4984-8a91-a8f6ef363f63", APIVersion:"v1", ResourceVersion:"225776", FieldPath:""}): type: 'Normal' reason: 'ScaledUpGroup' Scale-up: group test/e2e-d6645-w-2 size set to 2

I can always only see/receive one single Scale-up: setting (https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/core/scale_up.go#L701) event:

kubectl describe configmap cluster-autoscaler-status

Events:
  Type    Reason         Age   From                Message
  ----    ------         ----  ----                -------
  Normal  ScaledUpGroup  50s   cluster-autoscaler  Scale-up: setting group test/e2e-d6645-w-1 size to 2

Not sure what I'm missing.

@enxebre
Copy link
Member Author

enxebre commented Oct 30, 2019

If I revert 6601bf0 I see all the events coming through.

@MaciekPytel
Copy link
Contributor

@vivekbagade Can you take a look?

@vivekbagade
Copy link
Contributor

@MaciekPytel Sure

@vivekbagade
Copy link
Contributor

Hi @enxebre. The PR you mentioned aggregates events so that CA for scalability reason where we don't want to send a lot of similar events which might happen if we have too many unschedulable pods.

We'll fix this by having a different config for the logrecoder. Expect the fix some time next week

enxebre added a commit to enxebre/autoscaler that referenced this issue Jan 13, 2020
enxebre added a commit to enxebre/autoscaler that referenced this issue Jan 13, 2020
enxebre added a commit to enxebre/autoscaler that referenced this issue Jan 14, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 28, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 27, 2020
enxebre added a commit to enxebre/autoscaler that referenced this issue Mar 17, 2020
enxebre added a commit to enxebre/autoscaler that referenced this issue Mar 17, 2020
enxebre added a commit to enxebre/autoscaler that referenced this issue Mar 17, 2020
@marwanad
Copy link
Member

marwanad commented Mar 22, 2020

@vivekbagade any updates on this issue? It seems that since 1.16, scale up failures are also not logged on the configmap properly. Reverting this change seems to make things work as normal though.

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Mar 22, 2020
@marwanad
Copy link
Member

marwanad commented Apr 7, 2020

@vivekbagade @MaciekPytel gentle ping on this issue. It seems that the events are restricted to one per nodegroup.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 6, 2020
elmiko pushed a commit to elmiko/kubernetes-autoscaler that referenced this issue Aug 5, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 5, 2020
elmiko pushed a commit to elmiko/kubernetes-autoscaler that referenced this issue Aug 6, 2020
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

elmiko pushed a commit to elmiko/kubernetes-autoscaler that referenced this issue Aug 11, 2021
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Dec 13, 2021
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Dec 13, 2021
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Dec 13, 2021
@elmiko
Copy link
Contributor

elmiko commented Dec 16, 2021

/remove-lifecycle rotten

@vivekbagade and @marwanad i am looking into making some progress on this, do you remember what the logrecorder fix referenced earlier was referring to?

We'll fix this by having a different config for the logrecoder.

i have some time to create a patch here, but i'm a little confused about that statement. alternatively we could revert the change. curious to hear any thoughts if folks remember this ;)

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Dec 16, 2021
@elmiko
Copy link
Contributor

elmiko commented Dec 16, 2021

/reopen

@k8s-ci-robot k8s-ci-robot reopened this Dec 16, 2021
@k8s-ci-robot
Copy link
Contributor

@elmiko: Reopened this issue.

In response to this:

/reopen

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.

cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Jan 11, 2022
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Jan 11, 2022
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Jan 12, 2022
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Jan 12, 2022
cloud-team-bot bot pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue Jan 12, 2022
@k8s-triage-robot
Copy link

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:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 16, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 15, 2022
@elmiko
Copy link
Contributor

elmiko commented Apr 16, 2022

/remove-lifecycle rotten

i'm still interested in seeing the ability to get the duplicated messages. i know adding a flag is not an ideal solution, but i would like to propose a solution where the user has the ability to disable de-duplication of messages.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Apr 16, 2022
@elmiko
Copy link
Contributor

elmiko commented May 9, 2022

we talked about this issue at the sig meeting today, i am going to propose a patch with a flag to enable de-duplication of messages.

Fedosin pushed a commit to Fedosin/kubernetes-autoscaler that referenced this issue May 25, 2022
JoelSpeed pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue May 31, 2022
JoelSpeed pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue May 31, 2022
JoelSpeed pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue May 31, 2022
JoelSpeed pushed a commit to openshift-cloud-team/kubernetes-autoscaler that referenced this issue May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants