Deploying the link-graph and text-indexer API services

For the link-graph and text-indexer API services, we will be using a Kubernetes deployment resource to spin up two replicas for each service in the linksrus-data namespace.

To allow clients from the linksrus namespace to access the API, we will be creating a Kubernetes service to load balance traffic to the pods that we will be spinning up.

Clients can then access the data stores by connecting their gRPC clients to the following endpoints:

  • linksrus-textindexer.linksrus-data:8080
  • linksrus-linkgraph.linksrus-data:8080

Get Hands-On Software Engineering with Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.