Method for providing disk speed limitation based on logical volume management under Kubernetes

The invention relates to a method for providing disk speed limitation based on logical volume management under Kubernetes, and belongs to the technical field of cloud computing, and the method comprises the following steps: after a volume is successfully mounted on a container in a Kubernetes cluste...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG KAI, ZHANG ZHENHUA, FU SHAOSONG, CUI JI, WANG LIANG, HUA LEI, ZHAO ANQUAN
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 relates to a method for providing disk speed limitation based on logical volume management under Kubernetes, and belongs to the technical field of cloud computing, and the method comprises the following steps: after a volume is successfully mounted on a container in a Kubernetes cluster, if a device state is detected to be in operation, determining whether an iops value and a bps value need to be set or not; detecting a kernel version supported by a current node under the condition that an iops value and a bps value need to be set; the method comprises the following steps: under the condition that a current node supports a cgropv1 version, setting an iops value and a bps value of a kernel cgropblkio subsystem; under the condition that the current node supports the cgropv2 version, setting an iops value and a bps value of a kernel io subsystem; according to the method and the device, the speed limit iops and bps of the disk dynamically provided in the Kubernetes environment can be realized. 本申请涉及