Upgrading method and device of Kubernetes cluster, electronic equipment and medium
A cluster and replica technology, applied in the upgrade field of Kubernetes clusters, can solve problems such as access exceptions and different additional attribute information, and achieve the effect of avoiding access exceptions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 It is a flowchart of a method for upgrading a Kubernetes cluster provided by Embodiment 1 of the present application. This embodiment is applicable to the case of upgrading a Deployment (deployment group) in a Kubernetes cluster. This method can be executed by an upgrade device of a Kubernetes cluster, which can be implemented in software and / or hardware, and integrated on any electronic device with a network communication function.
[0053] Such as figure 1 As shown, the Kubernetes cluster upgrade method provided in the embodiment of the present application includes the following steps:
[0054] S110. Obtain the deletion request of the old application instance and the new replica set information from the control manager through the interface server; wherein the deletion request and the new replica set information are determined when it is detected that the container image field of any deployment group is updated.
[0055] In this embodiment, figure 2 It is a schemat...
Embodiment 2
[0090] Figure 4 It is a structural block diagram of a Kubernetes cluster upgrade device used to implement the Kubernetes cluster upgrade method of the embodiment of the present application. This embodiment is applicable to the case of upgrading the Deployment (deployment group) in the Kubernetes cluster. The device can be implemented in software and / or hardware and integrated on any electronic device with network communication function.
[0091] Such as Figure 4 As shown, the Kubernetes cluster upgrade apparatus 400 provided in the embodiment of the present application specifically includes: a deletion information acquisition module 410, an in-situ upgrade determination module 420, a target upgrade module 430, and a deletion request rejection module 440. among them:
[0092] The deletion information acquisition module 410 is configured to acquire the deletion request of the old application instance and the new replica set information from the control manager through the interface...
Embodiment 3
[0112] According to the embodiments of the present application, the present application also provides an electronic device and a readable storage medium. Figure 5 It is a structural block diagram of an electronic device used to implement the Kubernetes cluster upgrade method of the embodiment of the present application.
[0113] Such as Figure 5 Shown is a block diagram of an electronic device according to the method for upgrading a Kubernetes cluster according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connec...
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