LABEL|RELABEL COMPUTE NODE
语法用于为 PROXY
实例添加标签
LableRelabelComputeNodes ::=
('LABEL' | 'RELABEL') 'COMPUTE' 'NODE' instance_id 'WITH' labelName
instance_id ::=
string
labelName ::=
identifier
instance_id
需要通过 SHOW COMPUTE NODES 语法查询获得
RELABEL
用于为 PROXY
实例修改标签
PROXY
实例添加标签LABEL COMPUTE NODE "0699e636-ade9-4681-b37a-65240c584bb3" WITH label_1;
PROXY
实例修改标签RELABEL COMPUTE NODE "0699e636-ade9-4681-b37a-65240c584bb3" WITH label_2;
LABEL
、RELABEL
、COMPUTE
、NODE
、WITH