This topic describes how to attach non-identifying metadata to an application when you create or deploy the application. You can use annotations to attach metadata to pods of an application. Annotation values can be structured or unstructured data, and can include characters that are not supported by labels.


  1. Log on to the EDAS console.
  2. In the left-side navigation pane, click Applications. In the top navigation bar, select a region. On the Applications page, select a namespace in the upper part, and select Container Service or Serverless Kubernetes Cluster from the Cluster Type drop-down list. Then, find the application that you want to deploy, and click the application name.
  3. In the upper-right corner of the Application Overview page, choose Deploy > Deploy.
  4. On the Select Deployment Mode page, click Start Deployment in the upper-right corner of a deployment mode section.
    Notice In this example, the Release to All at Once mode is used.
  5. On the Release to All at Once page, modify the deployment parameters and click Annotation Configuration.
  6. Configure the custom key-value pairs of annotations based on your business requirements and click OK.
    The following example shows how to configure the key-value pair of an annotation:
    • Set the Name parameter to demo-annotation.
    • Set the Value parameter to demo-annotation-value.

    After the application is deployed, run the following kubectl command to query the annotation configurations of the application:

    kubectl get pod

    In the command output, the demo-annotation: demo-annotation-value key-value pair exists in metadata.annotations of the application pods.