Coder Social home page Coder Social logo

NFS 服务的作用? about nacos-k8s HOT 8 CLOSED

nacos-group avatar nacos-group commented on May 29, 2024
NFS 服务的作用?

from nacos-k8s.

Comments (8)

paderlol avatar paderlol commented on May 29, 2024

NFS是为了容器数据持久化,nacos下面的data,以及节点信息,都会需要持久化。mysql不使用也可以的,只是需要自己做数据持久化。

from nacos-k8s.

paderlol avatar paderlol commented on May 29, 2024

如果配置在集群外部,要注意配置MYSQL_MASTER_HOST和MYSQL_SLAVE_HOST,因为你在k8s外部,所以地址信息得自己配置

from nacos-k8s.

fudali113 avatar fudali113 commented on May 29, 2024

NFS是为了容器数据持久化,nacos下面的data,以及节点信息,都会需要持久化。mysql不使用也可以的,只是需要自己做数据持久化。

nacos 里面的 data 主要会包含些什么数据啊? 节点信息貌似只需要配置 ip:port 就可以了哒?

@paderlol

from nacos-k8s.

paderlol avatar paderlol commented on May 29, 2024

data里面是节点之间的交互数据,以及心跳包和注册信息。

from nacos-k8s.

fudali113 avatar fudali113 commented on May 29, 2024

data里面是节点之间的交互数据,以及心跳包和注册信息。

如果我只想使用 nacos-config , 去掉 NFS 有没有什么影响? @paderlol

from nacos-k8s.

paderlol avatar paderlol commented on May 29, 2024

不过你不用nfs的话,你就直接用quick start的部署就好了,不过nacos自动扩容插件是一定需要用到类似nfs这种pvc持久化服务的,所以具体要权衡一下,还有如果是上生产还是考虑下使用持久卷

from nacos-k8s.

nosqlcoco avatar nosqlcoco commented on May 29, 2024

如果配置在集群外部,要注意配置MYSQL_MASTER_HOST和MYSQL_SLAVE_HOST,因为你在k8s外部,所以地址信息得自己配置

请把 MYSQL_MASTER_HOSTMYSQL_SLAVE_HOST 加到 nacos-pvc-nfs.yaml 里面

from nacos-k8s.

tigerba avatar tigerba commented on May 29, 2024

nacos 部署在k8s集群上,部署方式没有使用stateful方式,而是使用了deployment方式部署(3份),并通过ingress 暴露服务后,访问ingress后会出现多次请求数据不一致情况(数据库使用的rds)。是因为没有使用pvc的原因吗?

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.