简体   繁体   中英

kubernetes cluster secure entry point for api

I built a kubernetes cluster witch contain a ui app, worker, mongo, MySQL, elasticsearch and exposes 2 routs with ingress and there is also an ssl certificate on top of the cluster static ip. Utilizing pub/sub and storage.
All looks fine. Now I'm looking for a secure way to expose An endpoint to an external service Use case: A remote app wishes to access my cloud app with a video guid in the payload in a secure manner and get a url to a video in the bucket

I looked at google endpoints service but couldn't get it to work with kubernetes.

There is more services that will need an access point to the app.

What is the best way for me to solve this problem.

Solve it by simply adding an endpoint to the ingress controlling the app, and protect it with SSL and JWT. Use this and this guides to add the ingress controller.

教程介绍了如何将Kubernetes与Google Cloud Endpoint集成

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