Kubernetes working node distribution method and system
The invention provides a Kubernetes working node allocation method and system, and belongs to the technical field of cloud computing, and the method comprises the steps: obtaining the real-time resource use conditions of Node and Pod in a Kubernetes cluster, and judging whether the resources need to...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a Kubernetes working node allocation method and system, and belongs to the technical field of cloud computing, and the method comprises the steps: obtaining the real-time resource use conditions of Node and Pod in a Kubernetes cluster, and judging whether the resources need to be balanced or not; when resources need to be balanced, Pod information needing to be migrated is determined, and the Pod information comprises a Pod name, a working space where the Pod is located, a current Node where the Pod is located and a new Node where the Pod is migrated to; a configuration file of the Pod needing to be migrated is obtained, Node node information in the configuration file is modified, a configuration file modification effective command is operated, and Pod migration is completed; according to the invention, the problem that the original K8s does not support the migration of the specified Pod from the current node to another specified node according to the intention of the user is solved, th |
---|