radondb-mysql-kubernetes icon indicating copy to clipboard operation
radondb-mysql-kubernetes copied to clipboard

是否支持基于外部的nfs备份

Open yylstudy opened this issue 3 years ago • 3 comments

operator version: v2.2.1 创建备份任务时,当nfsServerAddress配置的是k8s外部的地址,查看定时任务pod image pod日志报错 image

请问下是否支持基于外部的nfs备份呢

yylstudy avatar Sep 16 '22 07:09 yylstudy

Hi! thanks for your contribution! great first issue!

github-actions[bot] avatar Sep 16 '22 07:09 github-actions[bot]

可以支持,你先确定

  1. 网络是否可以访问。
  2. pod 所在的node 是否安装nfs client

acekingke avatar Sep 19 '22 02:09 acekingke

@acekingke 你好,是不是因为我定义的nfs服务端的存储是在/data/nfsdata下的, image

但是operator未提供path的配置,我看了下job的yaml,默认是根目录 image 所以报错日志是挂载的时候创建/backup失败,没有写的权限,但是也未看到operator提供path的配置,这个要怎么处理呢,谢谢

yylstudy avatar Sep 19 '22 03:09 yylstudy

这个根目录和你服务端文件夹位置没有关系,请检查nfs server是否能对外服务

acekingke avatar Sep 27 '22 02:09 acekingke

好的 谢谢

yylstudy avatar Oct 08 '22 09:10 yylstudy