简体   繁体   中英

How to give access to microservices(not exposed) for end users using a different microservice (exposed) in google kuberenetes engine cluster

we have four microservices let's say, Microservice A,B,C&D.we will expose Microservice-A so that It can be accessible over internet to end-users. The end-users should be able to access Microservice B, C&D Via Microservice A. How can we do this in a secure way in google kuberenetes Engine cluster.

Any reference would be help a lot.

You have to use API Gateway kind of thing. An api gateway will be exposed to the outside world and rest of the services can be called through that. You may use Nginx/Kong or your own private API gateway service.

Ref: https://getkong.org/about/

You may deploy Kong on containers and can access them as a Kubernetes service through external load balancer. Rest of the services would use internal load balancer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM