Skip to content

Additional configuration should apply to start server.  #71

@caoxianfei1

Description

@caoxianfei1

All services need to specify the machine ip and port to start, and there are some other configuration items that allow users to configure, so these configuration items also need to read the user's configuration before starting the service and then start the corresponding service.

CRD config file may look like this:

etcd:
    # Port for listening to partner communication. 
    # Etcd member accept incoming requests from its peers on a specific scheme://IP:port combination and the IP is host ip because we use hostnetwork:true.
    peerPort: 23800
    # clientPort for listening server port.
    clientPort: 23790
    configure:
        *
        *
        ...
mds:
    port: 6700
    dummyPort: 7700
    configure:
        *
        *
        ...
storage:
    ...
snapshotClone:
    ....

所有的服务都需要在yaml文件中指定Ip和端口,但是并不是只有这来个选项可以配置,一些其他的选项也可以在部署的时候指定,因此我们的curve-operator需要支持配置额外的参数。

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions