Comments (15)
我之前记错了,quickstart和nfs的cluster.conf都是脚本直接创建的,nfs是由peerfinder插件回调创建的
from nacos-k8s.
通过什么方式启动?nfs还是quickstart,这是代表文件没有创建成功
from nacos-k8s.
是nfs方式
from nacos-k8s.
from nacos-k8s.
查看下目录是否挂载成功,然后是否有权限
from nacos-k8s.
@paderlol 请问/home/nacos/conf/cluster.conf 文件必须挂载吗,不挂载的时候会不会自动创建?之前未挂载的时候运行是可以的,现在一直报错cluster.conf 文件找不到。
from nacos-k8s.
如果不用nfs,只用quickstart是不用挂载的
from nacos-k8s.
如果不用nfs,只用quickstart是不用挂载的
使用的nfs方式,可是编排文件nacos-pvc-nfs.yaml里并没有挂载/home/nacos/conf/目录呀
from nacos-k8s.
里面当然有挂载目录,你仔细看看
from nacos-k8s.
说错了,cluster.conf是不会挂载目录,由脚本创建的,如果创建不成功,一般需要查看下docker本身的权限,第二个就是plguin插件没有成功
from nacos-k8s.
ok,谢谢。确实是自动创建了配置文件!
from nacos-k8s.
@fei922 你好 你的nfs的目录权限能让我看看吗
from nacos-k8s.
@a1540770111 我们nfs基本是采用的这个chartnfs-server-provisioner部署的。
下面是其中一个挂载目录的权限,不知道是不是你想了解的。
from nacos-k8s.
vim /etc/exports
这里面的权限 是什么样子
from nacos-k8s.
应该就是赋了读写权限
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)
- k8s部署nacos集群节点列表显示多一个节点,实际是重复节点 HOT 1
- nacos-mysql-sql-init configmap is empty, resulting in cluster initialization failure HOT 1
- service nacos-cs routed the request to an unavailable instance HOT 2
- k8s1.22 部署nacos 2.2.0 想用nodePort暴露出来和注册,自己改很久都还是有问题, HOT 2
- 使用peerfinder插件后,cluster.conf多一条本机ip且无法与集群内其他节点通信,注册信息数据不同步
- nacos-mysql这个pod的内存异常 HOT 1
- nacos和微服务偶尔出现nacos-headless服务命无法解析 HOT 1
- nacos集群节点down,导致微服务pod重启 HOT 3
- nacos operator error: exec /manager: exec format error HOT 2
- Nacos Pod takes up a lot of memory cache
- nacos-peer-finder-plugin 镜像支持arm服务器部署 HOT 1
- 认证授权的地方没有示例,导致从2.0.x版本升级到2.1.x用户切换不丝滑 HOT 6
- Please update the nacos-operator version of the image
- status":501,"error
- How to build a bundle image?
- nacos k8s部署方式 期望修改配置管理->历史版本的保存时间(现在默认 30 天)
- How to set environment variables in Nacos Operator? HOT 1
- nacos v2.1.0版本修改用户密码 报authorization failed! HOT 1
- 官方能把 chart 发布到 helm hub 仓库吗
- 啥时候支持达梦、人大金仓等国产数据库?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nacos-k8s.