diff --git a/docs/user_guide/labels_and_annotations_in_yunikorn.md b/docs/user_guide/labels_and_annotations_in_yunikorn.md index 890503f1a1..677b8ffb56 100644 --- a/docs/user_guide/labels_and_annotations_in_yunikorn.md +++ b/docs/user_guide/labels_and_annotations_in_yunikorn.md @@ -34,8 +34,8 @@ The non-canonical (legacy) representations will not be deprecated and will conti Label values should comply with [Kubernetes Syntax and character set](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set). | Name | Description | -| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -| `yunikorn.apache.org/app-id` | Associates this pod with an application. This is the canonical representation and it is recommended to use it.

The priority of application ID is determined in the following order:
  1. Label `yunikorn.apache.org/app-id`
  2. Annotation `yunikorn.apache.org/app-id`
  3. Label `applicationId`
  4. Label `spark-app-selector`
**Note**: Pods with inconsistent application metadata will be rejected in 1.7.0. | | +| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `yunikorn.apache.org/app-id` | Associates this pod with an application. This is the canonical representation and it is recommended to use it.

The priority of application ID is determined in the following order:
  1. Label `yunikorn.apache.org/app-id`
  2. Annotation `yunikorn.apache.org/app-id`
  3. Label `applicationId`
  4. Label `spark-app-selector`
**Note**: Pods with inconsistent application metadata will be rejected in 1.7.0. | | `yunikorn.apache.org/queue` | Selects the YuniKorn queue this application should be scheduled in. This is the canonical representation and it is recommended to use it.

Queue name should comply with [Kubernetes Syntax and character set](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) and also with [Partition and Queue Configuration](queue_config#queues). This may be ignored if a placement policy is in effect.

The priority of queue name is determined in the following order:
  1. Label `yunikorn.apache.org/queue`
  2. Annotation `yunikorn.apache.org/queue`
  3. Label `queue`
**Note**: Pods with inconsistent queue metadata will be rejected in 1.7.0. | | [LEGACY]
`applicationId` | Equivalent to the preferred label `yunikorn.apache.org/app-id`. | | [LEGACY]
`queue` | Equivalent to the preferred label `yunikorn.apache.org/queue`. | diff --git a/versioned_docs/version-1.6.0/user_guide/labels_and_annotations_in_yunikorn.md b/versioned_docs/version-1.6.0/user_guide/labels_and_annotations_in_yunikorn.md index 890503f1a1..677b8ffb56 100644 --- a/versioned_docs/version-1.6.0/user_guide/labels_and_annotations_in_yunikorn.md +++ b/versioned_docs/version-1.6.0/user_guide/labels_and_annotations_in_yunikorn.md @@ -34,8 +34,8 @@ The non-canonical (legacy) representations will not be deprecated and will conti Label values should comply with [Kubernetes Syntax and character set](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set). | Name | Description | -| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -| `yunikorn.apache.org/app-id` | Associates this pod with an application. This is the canonical representation and it is recommended to use it.

The priority of application ID is determined in the following order:
  1. Label `yunikorn.apache.org/app-id`
  2. Annotation `yunikorn.apache.org/app-id`
  3. Label `applicationId`
  4. Label `spark-app-selector`
**Note**: Pods with inconsistent application metadata will be rejected in 1.7.0. | | +| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `yunikorn.apache.org/app-id` | Associates this pod with an application. This is the canonical representation and it is recommended to use it.

The priority of application ID is determined in the following order:
  1. Label `yunikorn.apache.org/app-id`
  2. Annotation `yunikorn.apache.org/app-id`
  3. Label `applicationId`
  4. Label `spark-app-selector`
**Note**: Pods with inconsistent application metadata will be rejected in 1.7.0. | | `yunikorn.apache.org/queue` | Selects the YuniKorn queue this application should be scheduled in. This is the canonical representation and it is recommended to use it.

Queue name should comply with [Kubernetes Syntax and character set](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) and also with [Partition and Queue Configuration](queue_config#queues). This may be ignored if a placement policy is in effect.

The priority of queue name is determined in the following order:
  1. Label `yunikorn.apache.org/queue`
  2. Annotation `yunikorn.apache.org/queue`
  3. Label `queue`
**Note**: Pods with inconsistent queue metadata will be rejected in 1.7.0. | | [LEGACY]
`applicationId` | Equivalent to the preferred label `yunikorn.apache.org/app-id`. | | [LEGACY]
`queue` | Equivalent to the preferred label `yunikorn.apache.org/queue`. |