Help Center/ Cloud Container Engine/ FAQs/ Node Pool/ What Should I Do If Some Kubernetes Events Fail to Display After Nodes Were Added to or Deleted from a Node Pool in Batches?
Updated on 2024-07-05 GMT+08:00

What Should I Do If Some Kubernetes Events Fail to Display After Nodes Were Added to or Deleted from a Node Pool in Batches?

Symptom

After nodes were scaled in or out in a node pool in batches, some Kubernetes events failed to display.

For instance, if 10 nodes were deleted from a cluster in batches, 10 Delete node events are printed by CCE, while only 4 StartScaleDownEmpty Kubernetes events were printed.

Possible Causes

Kubernetes limits, aggregates, and counts events before printing to ensure the availability of etcd. Therefore, Kubernetes events are not fully printed, particularly when there are numerous identical events being printed.

This is achieved through the EventCorrelate method in Kubernetes source code. For details, see design proposal in GitHub.

You do not need to pay attention to this problem, as it is caused by the Kubernetes design mechanism.