Coder Social home page Coder Social logo

Comments (15)

paderlol avatar paderlol commented on June 5, 2024 1

我之前记错了,quickstart和nfs的cluster.conf都是脚本直接创建的,nfs是由peerfinder插件回调创建的

from nacos-k8s.

paderlol avatar paderlol commented on June 5, 2024

通过什么方式启动?nfs还是quickstart,这是代表文件没有创建成功

from nacos-k8s.

dcy421 avatar dcy421 commented on June 5, 2024

是nfs方式

from nacos-k8s.

dcy421 avatar dcy421 commented on June 5, 2024

image
这是nfd目录

from nacos-k8s.

paderlol avatar paderlol commented on June 5, 2024

查看下目录是否挂载成功,然后是否有权限

from nacos-k8s.

fei922 avatar fei922 commented on June 5, 2024

@paderlol 请问/home/nacos/conf/cluster.conf 文件必须挂载吗,不挂载的时候会不会自动创建?之前未挂载的时候运行是可以的,现在一直报错cluster.conf 文件找不到。

from nacos-k8s.

paderlol avatar paderlol commented on June 5, 2024

如果不用nfs,只用quickstart是不用挂载的

from nacos-k8s.

fei922 avatar fei922 commented on June 5, 2024

如果不用nfs,只用quickstart是不用挂载的

使用的nfs方式,可是编排文件nacos-pvc-nfs.yaml里并没有挂载/home/nacos/conf/目录呀

from nacos-k8s.

paderlol avatar paderlol commented on June 5, 2024

里面当然有挂载目录,你仔细看看

from nacos-k8s.

paderlol avatar paderlol commented on June 5, 2024

说错了,cluster.conf是不会挂载目录,由脚本创建的,如果创建不成功,一般需要查看下docker本身的权限,第二个就是plguin插件没有成功

from nacos-k8s.

fei922 avatar fei922 commented on June 5, 2024

ok,谢谢。确实是自动创建了配置文件!

from nacos-k8s.

dcy421 avatar dcy421 commented on June 5, 2024

@fei922 你好 你的nfs的目录权限能让我看看吗

from nacos-k8s.

fei922 avatar fei922 commented on June 5, 2024

@a1540770111 我们nfs基本是采用的这个chartnfs-server-provisioner部署的。
下面是其中一个挂载目录的权限,不知道是不是你想了解的。
image

from nacos-k8s.

dcy421 avatar dcy421 commented on June 5, 2024

vim /etc/exports
这里面的权限 是什么样子

from nacos-k8s.

fei922 avatar fei922 commented on June 5, 2024

应该就是赋了读写权限
sh-4.3# cat /export/vfs.conf
EXPORT
{
Export_Id = 15;
Path = /export/pvc-1e9c26a5-9719-11e9-8c26-eeeeeeeeeeee;
Pseudo = /export/pvc-1e9c26a5-9719-11e9-8c26-eeeeeeeeeeee;
Access_Type = RW;
Squash = no_root_squash;
SecType = sys;
Filesystem_id = 15.15;
FSAL {
Name = VFS;
}
}

sh-4.3# showmount -e
Export list for nfs-server-provisioner-5c68b88965-wt9ct:
/export/pvc-f5143a53-9718-11e9-8c26-eeeeeeeeeeee (everyone)
/export/pvc-f517956b-9718-11e9-8c26-eeeeeeeeeeee (everyone)
/export/pvc-1e9c26a5-9719-11e9-8c26-eeeeeeeeeeee (everyone)
sh-4.3#
sh-4.3# ls /etc/exports
/etc/exports
sh-4.3# ls /etc/exports -l
-rw-r--r-- 1 root root 0 Feb 22 2016 /etc/exports

from nacos-k8s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.