简体   繁体   English

Kubernetes 中 Pod 的数据库代理

[英]Database proxy for pods in Kubernetes

If I have a large number of pods in Kubernetes which have multiple live DB connections, is there any way to manage all these connections to reduce the number of open connections?如果我在 Kubernetes 中有大量具有多个实时数据库连接的 pod,有没有办法管理所有这些连接以减少打开的连接数量? For example, using a database proxy.例如,使用数据库代理。 I'm aware AWS does this for lambda function containers (RDS proxy).我知道 AWS 为 lambda function 容器(RDS 代理)执行此操作。

Is there something similar to this?有没有类似的东西?

Not related to Kubernetes per se.与 Kubernetes 本身无关。 It really depends on what database or service you are running and/or what language your application is written in. Examples:这实际上取决于您正在运行什么数据库或服务和/或您的应用程序是用什么语言编写的。示例:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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