边缘节点集群管理服务找到 51 个接口
修改集群
updateNodeCluster
POST/NodeClusterService/updateNodeCluster
- 定义文件
service_node_cluster.proto- 可用角色
- 管理员
rpc updateNodeCluster (UpdateNodeClusterRequest) returns (RPCSuccess);
请求消息
UpdateNodeClusterRequest修改集群
message UpdateNodeClusterRequest {
int64 nodeClusterId = 1;
string name = 2;
int64 nodeGrantId = 3;
string installDir = 4;
string timeZone = 5;
int32 nodeMaxThreads = 6;
bool autoOpenPorts = 8;
bytes clockJSON = 9;
bool autoRemoteStart = 10;
bool autoInstallNftables = 11;
bytes sshParamsJSON = 12;
bool autoSystemTuning = 13; // 是否自动调节系统参数
bool autoTrimDisks = 14; // 是否自动TRIM硬盘
int32 maxConcurrentReads = 15; // 最大并发读
int32 maxConcurrentWrites = 16; // 最大并发写
}