Kuberrnates Pod health monitoring method

The invention discloses a Kuberrnates Pod health monitoring method, and relates to the technical field of system state monitoring. The method comprises the following steps: acquiring a pod basic information list list1 by executing a line Linux command'kubectl get pods', and reading informa...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: YIN LIJIAN
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 Kuberrnates Pod health monitoring method, and relates to the technical field of system state monitoring. The method comprises the following steps: acquiring a pod basic information list list1 by executing a line Linux command'kubectl get pods', and reading information list2 in a database; comparing pods in the list2 with pods in the list1; if the pod is in the list2 but not in the list1, executing A05; if the pod is in the list1 but not in the list2, executing A06; A05, reminding a user or an operator by sending an alarm, and meanwhile, an abnormal stop pad in the database is marked; and A06, storing the pods, which do not exist in the list2, in the list1 into a database. According to the method of the invention, basic information of a pod is periodically acquired, pods in a list2 are compared with pods in a list1 to judge whether the pod is abnormal, and if yes, an alarm is generated and marking is performed; and the processing efficiency and the monitoring effect of the pod excepti