Skip to content

Labels and Annotations

Labels and annotations are key-value pairs. CHAI™ allows you to define labels and annotations in the deployment.


Accessing Labels and Annotations

  1. After logging into CHAI™, click on the project where you want to add labels and annotations, then click Cruize.

    Cruize

  2. Click on the blueprint version count on the blueprint card. After clicking the count, the blueprint versions page will be displayed, which contains a list of blueprint versions.

    Cruize

  3. Click on the View configurations kebab menu option or click on the blueprint version name to view blueprint configurations.

  4. Go to the Deployments tab and click Edit deployment definition from the Action column of any deployment.

  5. The deployment definition page will open. Now go to the Labels & Annotations tab as shown in the image below.

    Labels And Annotations


Update Labels and Annotations

Labels and annotations are empty by default. Click the Update button to update labels and annotations data as shown in the image below.

Labels And Annotations


Labels

Click Add Label as shown in the image below.

Labels

Label Key Constraint

Keys have two segments: an optional prefix and name, separated by a slash (/).

1. Prefix Segment Constraint: - Only lowercase alphanumeric characters and periods (.) are allowed - Must start and end with an alphanumeric character - Maximum 253 characters allowed

2. Name Segment Constraint: - Only alphanumeric characters, hyphens (-), periods (.), and underscores (_) are allowed - Must start and end with an alphanumeric character - Maximum 63 characters allowed

Labels

Label Value Constraint

  • Only alphanumeric characters, hyphens (-), periods (.), and underscores (_) are allowed
  • Must start and end with an alphanumeric character
  • Maximum 63 characters allowed
  • Value can be empty

Labels


Annotations

Click Add Annotation to add annotations as shown in the image below.

Annotation

Annotation Key Constraint

Keys have two segments: an optional prefix and name, separated by a slash (/).

1. Prefix Segment Constraint: - Only lowercase alphanumeric characters and periods (.) are allowed - Must start and end with an alphanumeric character - Maximum 253 characters allowed

2. Name Segment Constraint: - Only alphanumeric characters, hyphens (-), periods (.), and underscores (_) are allowed - Must start and end with an alphanumeric character - Maximum 63 characters allowed

Annotation


Save Changes

Provide all details and click the Save Changes button.

Labels And Annotations