gpt4 book ai didi

postgresql - Kubernetes 上的 postgres 集群中的多个数据库?

转载 作者:行者123 更新时间:2023-12-05 06:11:06 29 4
gpt4 key购买 nike

是否可以使用 Crunchydata (postgres) 在一个集群中拥有多个数据库?当我使用“pgo create cluster”命令创建集群时,我只能指定一个数据库。

 -d, --database string                       If specified, sets the name of the initial database that is created for the user. Defaults to the value set in the PostgreSQL Operator configuration, or if that is not present, the name of the cluster

但我需要每个集群有多个数据库,而且我找不到任何官方方法来创建它们。

另一个问题:如何找到登录PGOAmin Web的“ super 用户”用户名和密码?

非常感谢。

最佳答案

这可能很有用,但它指出:

"It may make more sense to have each of your databases in its owncluster if you want to have them spread out over your Kubernetestopology."

https://github.com/CrunchyData/postgres-operator/issues/2655

关于postgresql - Kubernetes 上的 postgres 集群中的多个数据库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64140966/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com