Microservice visibility and control
Abstract
Methods are provided in which a domain name system (DNS) service obtains a lookup request for information about a source of a traffic flow being transmitted to a network resource external of a service cluster and performs, based on the lookup request, a lookup operation for a microservice that is the source of the traffic flow, among a plurality of microservices of the service cluster registered with the DNS service. The methods further include providing information about the microservice based on the lookup operation. The information includes at least a name of the microservice for visibility of the microservice external of the service cluster.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method comprising: receiving, by a domain name system (DNS) service, a registration request to register a first microservice of a service cluster, wherein the registration request, which is transmitted by a node within the service cluster, comprises a name and a network address of the first microservice; generating, by the DNS service, a DNS record for the first microservice comprising the name and the network address of the first microservice; receiving, by the DNS service, a lookup request for information about the first microservice of the service cluster, the lookup request being transmitted by a network resource that is external to the service cluster; performing, based on the lookup request, a lookup operation for the first microservice among a plurality of microservices of the service cluster registered with the DNS service; and providing the information about the first microservice based on the lookup operation, the information including at least the name of the first microse
- Claim 2Depends on #1
The method of claim 1, wherein the registration request further comprises an annotation corresponding to the first microservice and wherein the DNS record further comprises metadata about the first microservice obtained from the annotation.
- Claim 3Depends on #2
The method of claim 2, wherein the annotation is in a structured form based on a common naming schema, and further comprising: parsing the annotation to extract the information corresponding to the first microservice for generating the metadata of the DNS record.
- Claim 4Depends on #1
The method of claim 1, wherein the DNS record further includes metadata about the first microservice for applying a network policy specific to the first microservice or for gathering telemetry data about the first microservice.
- Claim 5Depends on #1
The method of claim 1, wherein performing the lookup operation includes: obtaining the DNS record for the first microservice that matches a source address in the lookup request, the DNS record including a textual record that identifies the first microservice and one or more attributes of the first microservice.
- Claim 6Depends on #1
The method of claim 1, wherein the lookup request includes a source address of a traffic flow, and performing the lookup operation for the first microservice includes: performing a reverse DNS lookup for the name of the first microservice that matches the source address of the traffic flow.
- Claim 7Depends on #1
The method of claim 1, wherein the lookup request includes a source address of a traffic flow based on a DNS domain of the traffic flow obtained from the network resource, and performing the lookup operation for the first microservice includes: performing a direct DNS lookup for an address of the first microservice and the information about the first microservice that matches the source address in the lookup request.
- Claim 8Independent Claim
An apparatus comprising: a memory; a network interface configured to enable network communications; and a processor, wherein the processor is configured to perform operations comprising: receiving, by a domain name system (DNS) service, a registration request to register a first microservice of a service cluster, wherein the registration request, which is transmitted by a node within the service cluster, comprises a name and a network address of the first microservice; generating, by the DNS service, a DNS record for the first microservice comprising the name and the network address of the first microservice; receiving, by the DNS service, a lookup request for information about the first microservice of the service cluster, the lookup request being transmitted by a network resource that is external to the service cluster; performing, based on the lookup request, a lookup operation for the first microservice among a plurality of microservices of the service cluster registered with the D
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATION This application is a continuation of Ser. No. 18/163,979, filed Feb. 3, 2023, which is a continuation of U.S. patent application Ser. No. 17/493,099, filed Oct. 4, 2021, now U.S. Pat. No. 11,601,393, the entireties of which are incorporated herein by reference for all purposes. TECHNICAL FIELD The present disclosure relates to computer networks and systems. BACKGROUND Enterprise services may be provided in a form of one or more software applications. Network and security visibility and enterprise policies are applied at the application level, leveraging tools such as Application Visibility and Control (AVC). Enterprise services may be provided in a form of monolithic applications that are tightly coupled to physical and/or virtual machines. That is, a monolithic application is executed on a dedicated server. With recent advances in virtualization and containerization technologies, the enterprise services are transforming from monolithic applications to microservice-based cloud native architectures. Instead of a monolithic application, a collection of loosely-coupled services may be used by an enterprise and may be deployed on different physical and/or virtual machines. These discrete microservices communicate with one another using various application programming interfaces (APIs). BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating an enterprise service being deployed as a microservice-based architecture in which components are individually identifiable using metadata, according to an example embodiment. FIG. 2 is a block diagram illustrating an environment in which microservices with identifying metadata are deployed, according to an example embodiment. FIGS. 3 A- 3 F are flow diagrams illustrating stages of a method for providing visibility of a microservice external of a service cluster, according to an example embodiment. FIG. 4 is a flowchart illustrating a computer-implemented method of providing in
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (80)
Non-Patent Literature (10)
- D
- í
- az-S
- á
- nchez, D., and A. Mar
- í
- n-Lopez.
- “
- DNS/DANE Collision-Based Distributed and Dynamic Authentication for Microservices in IoT
- .