Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Provide consumption-friendly events for Cluster Autoscaler #123

Closed
tomkerkhove opened this issue Feb 3, 2021 · 2 comments
Closed

Provide consumption-friendly events for Cluster Autoscaler #123

tomkerkhove opened this issue Feb 3, 2021 · 2 comments
Labels
components:cluster-autoscaler All issues related to Kubernetes' Cluster Autoscaler event-type All issues related to event types feature-request New feature requests
Milestone

Comments

@tomkerkhove
Copy link
Owner

Provide consumption-friendly events for Cluster Autoscaler

@tomkerkhove tomkerkhove added feature-request New feature requests event-type All issues related to event types labels Feb 3, 2021
@tomkerkhove
Copy link
Owner Author

https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-events-are-emitted-by-ca

Whenever Cluster Autoscaler adds or removes nodes it will create events
describing this action. It will also create events for some serious
errors. Below is the non-exhaustive list of events emitted by CA (new events may
be added in future):

  • on kube-system/cluster-autoscaler-status config map:
    • ScaledUpGroup - CA increased the size of node group, gives
      both old and new group size.
    • ScaleDownEmpty - CA removed a node with no pods running on it (except
      system pods found on all nodes).
    • ScaleDown - CA decided to remove a node with some pods running on it.
      Event includes names of all pods that will be rescheduled to drain the
      node.
  • on nodes:
    • ScaleDown - CA is scaling down the node. Multiple ScaleDown events may be
      recorded on the node, describing status of scale-down operation.
    • ScaleDownFailed - CA tried to remove the node, but failed. The event
      includes error message.
  • on pods:
    • TriggeredScaleUp - CA decided to scale up cluster to make place for this
      pod.
    • NotTriggerScaleUp - CA couldn't find node group that can be scaled up to
      make this pod schedulable.
    • ScaleDown - CA will try to evict this pod as part of draining the node.

@tomkerkhove
Copy link
Owner Author

Closing now that we have dedicated ones

@tomkerkhove tomkerkhove added this to the v0.2.0 milestone Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
components:cluster-autoscaler All issues related to Kubernetes' Cluster Autoscaler event-type All issues related to event types feature-request New feature requests
Projects
None yet
Development

No branches or pull requests

1 participant