Method and system for resource exposure in kubernetes, and device and medium
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorPeng Liu
Life of this patent
Estimating the term…
Loading patent…
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorPeng Liu
Estimating the term…
Disclosed is a method for resource exposure in kubernetes, including: in response to receiving a request for applying for a service resource, judging whether a mapping relationship between a label corresponding to a type of the service resource and virtual IPs exists in a first configuration file of a keepalived service; in response to absence of the mapping relationship, acquiring new virtual IPs and establishing, in the first configuration file, a mapping relationship between the new virtual IPs and the label; and binding the virtual IPs corresponding to the label in the first configuration file to a plurality of pods corresponding to the service resource, so as to expose the plurality of the pods outside a kubernetes cluster by the virtual IP. Further disclosed are a system, a computer device and a readable storage medium.
A method for resource exposure in kubernetes, comprising:
A computer device, comprising:
A non-transitory computer readable storage medium, storing a computer program, wherein when the computer program is executed by at least one processor, the computer program is configured to cause the at least one processor to:
Dependencies are inferred from the claim text.