PostgreSQL在天蓝色的容器上

编程入门 行业动态 更新时间:2024-10-26 20:30:35
本文介绍了PostgreSQL在天蓝色的容器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否有可能使用azure文件作为持久卷在azure容器上运行postgresql? 我看到了那个chown和chmod commad不起作用.使用postgres uid和gid挂载azurefile卷是可能的吗?否则 使用kubernetes和azure磁盘作为永久卷吗?

Hi, Is it possible to run postgresql on azure container using azure file as persistent volume? I see that chown and chmod commad does not work. It is possibile to mount azurefile volume with postgres uid and gid? Otherwise using kubernetes and azure disk as persistent volume is it possible?

我无法将Azure数据库用于Postgresql,因为我想使用timescale db,因为它是postgresql的扩展.

I cannot using Azure Database for postgresql because I want to use timescale db that it is an extension of postgresql.

谢谢

Francesca

推荐答案

这应该可行.但是,我没有开箱即用的东西可以为您完成此任务.因此,可能需要进行一些配置和反复试验才能使它按您想要的方式工作.

This should be possible. However I do not find anything out of the box that will accomplish this for you. So it would likely take some configuration and playing around to get it to work the way you want.

我建议您从在容器中运行postgresql的docker文档开始

I would suggest you start with the docker docs on running postgresql in containers

hub.docker/_/postgres/ docs.docker/engine/examples/postgresql_service/

hub.docker/_/postgres/ docs.docker/engine/examples/postgresql_service/

然后,您将从动态磁盘信息开始

Then you would start with the dynamic disk information

docs.microsoft/en-us/azure /aks/azure-disks-dynamic-pv

此外,如果您能更好地告诉我一些您想要实现的目标,我可以进一步评论并帮助您入门.

Also, if you can tell me a bit more about what you want to achieve at a high level I could comment further and help you get started.

更多推荐

PostgreSQL在天蓝色的容器上

本文发布于:2023-10-23 06:17:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1520037.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:天蓝色   容器   PostgreSQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!