Container cluster management method, storage medium, electronic equipment and system
A container cluster and management method technology, applied in the field of containerized cluster management, can solve problems such as low efficiency, waste of system resources, and users' inability to monitor the status and changes of Kubernetes objects in real time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Such as figure 1 As shown, the embodiment of the present invention provides a container cluster management method, which includes:
[0054] S1: Monitor state changes in the container scheduling system and issue change notifications after changes.
[0055] By monitoring state changes in the container scheduling system, corresponding change notifications are issued. Taking Kubernetes as an example, a monitoring program is set up, which can be a single program, a series of programs, scripts, processes, services, or a combination of the above types. The monitoring program is connected to the Watch API interface in Kubernetes Deployment and establishes a connection with Kubernetes API Server. Among them, the messages sent by the Watch API of Kubernetes Deployment to the monitoring terminal are ordered, and the number will vary according to different operations. At the same time, it can also ensure that the Watch API will send messages to the monitoring terminal when the st...
Embodiment 2
[0081] Such as image 3 As shown, the embodiment of the present invention provides a container cluster management system, which includes:
[0082] API monitoring module 1, which is used to monitor and obtain changes in the status of the container scheduling system, and issue a change notification after the change;
[0083] The state machine module 2 is used to create a finite state machine FSM corresponding to each containerized instance, and set multiple container states for each finite state machine, and the finite state machine transfers to the corresponding container state according to different trigger events , the containerized instance is a containerized application deployed by the container scheduling system;
[0084] The trigger module 3 is configured to receive and parse the change notification to obtain a trigger event corresponding to the containerized instance, and send it to the corresponding finite state machine.
[0085] Various changes and specific examples ...
Embodiment 3
[0088] The third embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a method for managing a container cluster as provided in any embodiment of the present invention is implemented. The method includes:
[0089] Monitor state changes in the container scheduling system and issue change notifications after changes;
[0090]Create a finite state machine FSM corresponding to each containerized instance, and set multiple container states for each finite state machine, the finite state machine switches to the corresponding container state according to different trigger events, and the containerized instance is A containerized application deployed by the container scheduling system;
[0091] The change notification is received and parsed to obtain a corresponding trigger event, and sent to the finite state machine of the corresponding containerized instance.
[0092] The c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com