LABEL|RELABEL COMPUTE NODES

Description

The LABEL|RELABEL COMPUTE NODES syntax is used to label PROXY instance.

Syntax

Grammar Railroad diagram

  1. LableRelabelComputeNodes ::=
  2. ('LABEL' | 'RELABEL') 'COMPUTE' 'NODE' instance_id 'WITH' labelName
  3. instance_id ::=
  4. string
  5. labelName ::=
  6. identifier

Supplement

  • needs to be obtained through SHOW COMPUTE NODES syntax query

  • RELABEL is used to relabel PROXY instance

Example

  • Label PROXY instance
  1. LABEL COMPUTE NODE "0699e636-ade9-4681-b37a-65240c584bb3" WITH label_1;
  • Relabel PROXY instance
  1. RELABEL COMPUTE NODE "0699e636-ade9-4681-b37a-65240c584bb3" WITH label_2;

Reserved word

LABEL, RELABEL, COMPUTE, NODES, WITH