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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.