Logo

dev-resources.site

for different kinds of informations.

Exposing GKE PODs to Apigee

Published at
6/10/2022
Categories
googlecloud
kubernetes
apigee
cloud
Author
mahmoudrabie
Author
12 person written this
mahmoudrabie
open
Exposing GKE PODs to Apigee

https://www.linkedin.com/posts/mahmoudrabie2004_didabryouabrknowabrthat-google-cloud-activity-6940905239856222209-sh-L?utm_source=linkedin_share&utm_medium=member_desktop_web

Google recently supported an organization that wanted to ๐™š๐™ญ๐™ฅ๐™ค๐™จ๐™š ๐™ž๐™ฉ๐™จ ๐™‚๐™ค๐™ค๐™œ๐™ก๐™š ๐™†๐™ช๐™—๐™š๐™ง๐™ฃ๐™š๐™ฉ๐™š๐™จ ๐™€๐™ฃ๐™œ๐™ž๐™ฃ๐™š (๐™‚๐™†๐™€) backend ๐™—๐™š๐™๐™ž๐™ฃ๐™™ ๐˜ผ๐™ฅ๐™ž๐™œ๐™š๐™š ๐™“. A ๐™ฆ๐™ช๐™ž๐™ฉ๐™š ๐™˜๐™ค๐™ข๐™ข๐™ค๐™ฃ ๐™–๐™ง๐™˜๐™๐™ž๐™ฉ๐™š๐™˜๐™ฉ๐™ช๐™ง๐™š, which most of the users delivering ๐™ข๐™ค๐™™๐™š๐™ง๐™ฃ ๐™ฌ๐™š๐™— ๐™–๐™ฅ๐™ฅ๐™ก๐™ž๐™˜๐™–๐™ฉ๐™ž๐™ค๐™ฃ๐™จ on Google Cloud tend to build upon.

You could connect ๐˜ผ๐™ฅ๐™ž๐™œ๐™š๐™š ๐™–๐™ฃ๐™™ ๐™‚๐™ค๐™ค๐™œ๐™ก๐™š ๐™†๐™ช๐™—๐™š๐™ง๐™ฃ๐™š๐™ฉ๐™š๐™จ ๐™€๐™ฃ๐™œ๐™ž๐™ฃ๐™š (๐™‚๐™†๐™€) backends so that you ๐™ฌ๐™ค๐™ฃโ€™๐™ฉ ๐™๐™–๐™ซ๐™š ๐™ฉ๐™ค ๐™ฅ๐™š๐™ง๐™›๐™ค๐™ง๐™ข ๐™‡7 ๐™ง๐™ค๐™ช๐™ฉ๐™ž๐™ฃ๐™œ in ๐™—๐™ค๐™ฉ๐™ ๐™˜๐™ค๐™ข๐™ฅ๐™ค๐™ฃ๐™š๐™ฃ๐™ฉ๐™จ.

This will likely help you to:
(1) โฑ๏ธ ๐™จ๐™–๐™ซ๐™š ๐™ฉ๐™ž๐™ข๐™š (managing way fewer configurations) and
(2) ๐Ÿš€ reach ๐™—๐™š๐™ฉ๐™ฉ๐™š๐™ง ๐™ฅ๐™š๐™ง๐™›๐™ค๐™ง๐™ข๐™–๐™ฃ๐™˜๐™š๐™จ.

When a request comes in, Apigee:
(1) reads the Target Endpoint value and
(2) queries Cloud DNS to get the IP of the application pod.
(3) reaches the pod directly, with no need for additional routing to be configured on the K8s cluster.

Thanks to Federico Preli and Luca Prete for releasing their demo as open-source
https://github.com/google/gke-cloud-dns-tls/

๐˜พ๐™ค๐™ฃ๐™ฃ๐™š๐™˜๐™ฉ๐™ž๐™ฃ๐™œ ๐˜ผ๐™ฅ๐™ž๐™œ๐™š๐™š ๐™ฉ๐™ค ๐™‚๐™†๐™€ ๐™ช๐™จ๐™ž๐™ฃ๐™œ ๐™๐™š๐™–๐™™๐™ก๐™š๐™จ๐™จ ๐™จ๐™š๐™ง๐™ซ๐™ž๐™˜๐™š๐™จ ๐™–๐™ฃ๐™™ ๐˜พ๐™ก๐™ค๐™ช๐™™ ๐˜ฟ๐™‰๐™Ž
https://cloud.google.com/blog/products/application-modernization/connecting-apigee-to-gke-using-headless-services-and-cloud-dns

๐™Ž๐™ฉ๐™–๐™ฎ ๐™ฉ๐™ช๐™ฃ๐™š๐™™ ๐™—๐™ฎ ๐™›๐™ค๐™ก๐™ก๐™ค๐™ฌ๐™ž๐™ฃ๐™œ
https://www.linkedin.com/feed/hashtag/didAbRyouAbRknowAbRthat/

Image description

Featured ones: