RESOURCE MANAGEMENT FOR MICROSERVICES
The present subject matter discloses techniques for managing resources for microservices. The system includes a Resource Configuration-enabling Framework (RCeF) with interactive input receptors for selecting resources and providing microservice information. Upon receiving a resource orchestration request, the system generates a configuration initiation signal. For each selected resource, a logical schema with dynamically modifiable portions is retrieved and updated based on provided attributes. A configuration file is then built using the updated logical schemas. The system may create a new data repository instance for the configuration file or modify an existing one. The configuration file is executable by a resource orchestration framework to commission resources for the microservice. This approach streamlines resource management for microservices, reducing manual intervention, minimizing errors, and enhancing flexibility. The system provides an efficient, scalable solution for deploying and managing resources in microservices architecture.
1 . A system comprising:
a processor to:
receive a configuration initiation signal from a Resource Configuration-enabling Framework (RCeF) in response to submission of a resource orchestration request through the RCeF, the RCeF having a plurality of interactive input receptors comprising:
a plurality of resource selection receptors to enable selection of a set of resources from amongst a plurality of resources, each of the plurality of resource selection receptors being uniquely associated with a resource from amongst the plurality of resources, wherein the set of resources is to be commissioned for a microservice yet to be deployed in a computing environment; and
at least one input data receptor for receiving at least one of an identifier for uniquely identifying the microservice and a set of attributes for at least one of the plurality of resources;
wherein the configuration initiation signal comprises the resource orchestration request indicating a selected set of resources, from amongst the plurality of resources, and at least one of the identifier and the set of attributes;
retrieve, for each resource in the selected set of resources, a logical schema configured to facilitate commissioning of a given resource corresponding to the logical schema for the microservice, wherein at least a portion of the logical schema is dynamically modifiable portion;
generate, in response to the retrieval, a schema modification signal to update the dynamically modifiable portion of the logical schema corresponding to each resource in the selected set of resources, the update being based on at least one of the identifier and the set of attributes; and
build a configuration file based on the logical schema, comprising the updated dynamically modifiable portion, corresponding to each resource in the set of resources, the configuration file being executable by a resource orchestration framework configured to cause commissioning of the selected set of resources for the microservice.
2 . The system of claim 1 , wherein the processor is to:
generate, in response to building of the configuration file, a repository setup signal for configuring a new instance of a data repository, wherein the identifier is linked with the new instance for uniquely identifying the new instance; and
commit the configuration file into the new instance for being retrieved by the resource orchestration framework configured to cause the commissioning of the selected set of resources for the microservice.
3 . The system of claim 2 , wherein the processor is to:
determine whether another instance of the data repository, having the identifier linked therewith, exists, wherein the other instance has a previously built configuration file associated therewith, the previously built configuration file having a logical schema different than the logical schema comprising the updated dynamically modifiable portion; and
ascertain, based on the determination, whether the new instance is to be configured for committing the configuration file.
4 . The system of claim 3 , wherein the processor is to generate, upon determining an absence of the other instance, the repository setup signal for configuring the new instance of the data repository and for committing the configuration file into the new instance.
5 . The system of claim 3 , wherein the processor is to:
generate, upon determining existence of the other instance, a file modification signal to restrict configuration of the new instance; and
cause modification of the previously built configuration file based on the logical schema comprising the updated dynamically modifiable portion.
6 . The system of claim 5 , wherein, to cause modification of the previously built configuration file, the processor is to replace the previously built configuration file with the configuration file built based on the logical schema, comprising the updated dynamically modifiable portion.
7 . The system of claim 5 , wherein, to cause modification of the previously built configuration file, the processor is to:
compare the previously built configuration file, having the logical schema associated therewith, and the configuration file built based on the logical schema comprising the updated dynamically modifiable portion;
identify, based on the comparison, distinguishing schema from amongst the logical schemas; and
generate, in response to the identification, the file modification signal for modifying the previously built configuration file to include the distinguishing schema.
8 . The system of claim 3 , wherein the processor is to cause rendering of a Graphical User Interface (GUI), wherein the GUI is to:
provide access to the previously built configuration file and the logical schema associated therewith; and
enable modification of the logical schema associated with the previously built configuration file, the previously built configuration file, having the modified logical schema stored therein, being executable by the resource orchestration framework.
9 . The system of claim 1 , wherein the RCeF is a Graphical User Interface (GUI).
10 . A method comprising:
receiving a configuration initiation signal, from a Resource Configuration-enabling Framework (RCeF), upon submission of a resource orchestration request through the RCeF, the RCeF having a plurality of interactive input receptors comprising:
a plurality of resource selection receptors to enable selection of a set of resources from amongst a plurality of resources, each of the plurality of resource selection receptors being uniquely associated with a resource from amongst the plurality of resources, wherein the set of resources is to be commissioned for a microservice to be deployed in a computing environment; and
at least one input data receptor for receiving at least one of an identifier for uniquely identifying the microservice and a set of attributes for at least one of the plurality of resources;
wherein the configuration initiation signal comprises the resource orchestration request indicating a selected set of resources, from amongst the plurality of resources, and at least one of the identifier and the set of attributes;
retrieving, for each resource in the selected set of resources, a logical schema configured to facilitate commissioning of a given resource corresponding to the logical schema for the microservice, wherein at least a portion of the logical schema is dynamically modifiable portion;
modifying the dynamically modifiable portion of the logical schema, corresponding to each resource in the selected set of resources, based on at least one of the identifier and the set of attributes; and
creating a configuration file based on the logical schema, comprising the updated dynamically modifiable portion, corresponding to each resource in the set of resources, the configuration file being executable by a resource orchestration framework configured to cause commissioning of the selected set of resources for the microservice.
11 . The method of claim 10 , wherein the method further comprises:
configuring, in response to creating the configuration file, a new instance of a data repository, wherein the identifier is linked with the new instance for uniquely identifying the new instance; and
committing the configuration file into the new instance for being retrieved by the resource orchestration framework configured to cause the commissioning of the selected set of resources for the microservice.
12 . The method of claim 10 , wherein the method further comprises:
determining existence of another instance of the data repository, the other instance having the identifier linked therewith, the other instance having a previously built configuration file associated therewith, the previously built configuration file comprising a logical schema different than the logical schema comprising the updated dynamically modifiable portion; and
ascertaining, based on the determining, whether the new instance is to be configured for committing the configuration file.
13 . The method of claim 12 , wherein the method further comprises configuring, in response to determining an absence of the other instance, the new instance of the data repository for committing the configuration file into the new instance.
14 . The method of claim 12 , wherein the method further comprises:
restricting, in response to determining existence of the other instance, configuration of the new instance; and
causing modification of the previously built configuration file based on the logical schema comprising the updated dynamically modifiable portion.
15 . The method of claim 14 , wherein, for causing modification of the previously built configuration file, the method comprises:
comparing the previously built configuration file and the configuration file built based on the logical schema comprising the updated dynamically modifiable portion;
identifying, based on the comparison, distinguishing schema from amongst logical schemas associated with the configuration file and the previously built configuration file; and
modifying, based on the identifying, the previously built configuration file to include the distinguishing schema, the previously built configuration file, having the distinguishing schema, being executable by the resource orchestration framework for modifying at least one aspect associated with commissioning of the microservice.
16 . The method of claim 10 , wherein the method further comprise rendering a Graphical User Interface (GUI), wherein the GUI is to:
provide access to the previously built configuration file and the logical schema associated therewith; and
enable modification of the logical schema associated with the previously built configuration file, the previously built configuration file, having the modified logical schema associated therewith, being executable by the resource orchestration framework.
17 . A non-transitory computer-readable medium comprising instructions being executable by a processing resource to:
receive a configuration initiation signal from a Resource Configuration-enabling Framework (RCeF) in response to submission of a resource orchestration request through the RCeF, the RCeF having a plurality of interactive input receptors comprising:
a plurality of resource selection receptors to enable selection of a set of resources from amongst a plurality of resources, each of the plurality of resource selection receptors being uniquely associated with a resource from amongst the plurality of resources, wherein the set of resources is to be commissioned for a microservice yet to be deployed in a computing environment; and
at least one input data receptor for receiving at least one of an identifier for uniquely identifying the microservice and a set of attributes for at least one of the plurality of resources;
wherein the configuration initiation signal comprises the resource orchestration request indicating a selected set of resources, from amongst the plurality of resources, and at least one of the identifier and the set of attributes;
retrieve, for each resource in the selected set of resources, a logical schema configured to facilitate commissioning of a given resource corresponding to the logical schema for the microservice, wherein at least a portion of the logical schema is dynamically modifiable portion;
generate, in response to the retrieval, a schema modification signal to update the dynamically modifiable portion of the logical schema corresponding to each resource in the selected set of resources, the update being based on at least one of the identifier and the set of attributes; and
build a configuration file based on the logical schema, comprising the updated dynamically modifiable portion, corresponding to each resource in the set of resources, the configuration file being executable by a resource orchestration framework configured to cause commissioning of the selected set of resources for the microservice.
18 . The non-transitory computer-readable medium of claim 17 , wherein the instructions are executed by the processing resource to:
generate, in response to building of the configuration file, a repository setup signal for configuring a new instance of a data repository, wherein the identifier is associated with the new instance for uniquely identifying the new instance; and
commit the configuration file into the new instance for being retrieved by the resource orchestration framework configured to cause the commissioning of the selected set of resources for the microservice.
19 . The non-transitory computer-readable medium of claim 18 , wherein the instructions are executed by the processing resource to:
determine whether another instance of the data repository, having the identifier associated therewith, subsists, wherein the other instance has a previously built configuration file associated therewith, the previously built configuration file having a logical schema different than the logical schema comprising the updated dynamically modifiable portion; and
ascertain, based on the determination, whether the new instance is to be configured for committing the configuration file.
20 . The non-transitory computer-readable medium of claim 19 , wherein the instructions are executed by the processing resource to:
generate, upon determining an absence of the other instance, the repository setup signal for configuring the new instance of the data repository and for committing the configuration file into the new instance; and
generate, upon determining existence of the other instance, a file modification signal to restrict configuration of the new instance and cause modification of the previously built configuration file based on the logical schema comprising the updated dynamically modifiable portion, the modified previously built configuration file being executable by the resource orchestration framework, wherein execution of the modified previously built configuration file is to cause modification of at least one aspect associated with commissioning of the microservice.