8.19. Virtual machine labels and annotations
Labels and annotations are metadata administrators attach to virtual machines. Labels identify and group virtual machines for use by system processes. Annotations are descriptive information intended for administrators and software integrations.
8.19.1. Creating cluster auto-applied labels 링크 복사링크가 클립보드에 복사되었습니다!
Create labels that are automatically applied to every virtual machine created in a cluster. Labels allow administrators to group and filter virtual machines.
New labels are only applied to virtual machines created after the label is created.
Prerequisites
- You have access to the OpenShift Container Platform web console.
-
You have
editoradminpermissions in the target project.
Procedure
-
Click Virtualization
Settings on the side menu to access the cluster settings. - Click the Cluster tab.
- Click Auto-applied VM labels.
- Click Add new key.
- Enter the label name in the Key field.
Click the checkmark icon to save the new label.
참고Click the trash can icon to discard the change if needed.
Optional: Enter a default value in the Value field.
- Click the pencil icon.
- Enter a value in the Value field.
- Click the checkmark icon to save the new value.
- Optional: Select the Required slider to make a value for this label mandatory for all cluster VMs.