Method for monitoring state of kubernetes computational node

The invention discloses a method and device for monitoring state of kubernetes computational node, kubernetes computational node and a readable storage medium. The method comprises the steps: determining a CPU load threshold value through kubernete service according to the number of local logic CPUs...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHANG DEBO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and device for monitoring state of kubernetes computational node, kubernetes computational node and a readable storage medium. The method comprises the steps: determining a CPU load threshold value through kubernete service according to the number of local logic CPUs; obtaining a local CPU load mean value within a preset time threshold; determining a local CPU loadstate according to the CPU load threshold value and the CPU load mean value; and updating a local node state according to the CPU load state, and sending the node state to the control node to realizemonitoring. The CPU load state of the kubernetes computing node can be monitored; the node state is updated according to the CPU load state and then fed back to the control node, the situation that the control node schedules the calculation task to the calculation node with the poor CPU load state is avoided, the execution continuity of the calculation task is guaranteed, and the reliability of cluster service is improved