Skip to content

Commit 4129b7f

Browse files
howardjohnEric Van Norman
andauthored
Update application labeling guidance (istio#14095)
* Update application labeling guidance Fixes istio/istio#10724 * Update content/en/docs/ops/deployment/requirements/index.md Co-authored-by: Eric Van Norman <[email protected]> --------- Co-authored-by: Eric Van Norman <[email protected]>
1 parent 33242f6 commit 4129b7f

File tree

1 file changed

+5
-10
lines changed
  • content/en/docs/ops/deployment/requirements

1 file changed

+5
-10
lines changed

content/en/docs/ops/deployment/requirements/index.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,12 @@ To be part of a mesh, Kubernetes pods must satisfy the following requirements:
6464
policies for your service account, your pods have permission to run the Istio init containers.
6565
Otherwise, you will need to [provide the permission](https://kubernetes.io/docs/concepts/policy/pod-security-policy/#authorizing-policies).
6666

67-
- **Pods with app and version labels**: We recommend adding an explicit
68-
`app` label and `version` label to the specification of the pods deployed using
69-
a Kubernetes `Deployment`. The `app` and `version` labels add contextual information
70-
to the metrics and telemetry that Istio collects.
67+
- **Pod labels**: We recommend explicitly declaring pods with an application identifier and version by using a pod label.
68+
These labels add contextual information to the metrics and telemetry that Istio collects.
69+
Each of these values are read from multiple labels ordered from highest to lowest precedence:
7170

72-
- The `app` label: Each deployment should have a distinct
73-
`app` label with a meaningful value. The `app` label is used to add
74-
contextual information in distributed tracing.
75-
76-
- The `version` label: This label indicates the version of the application
77-
corresponding to the particular deployment.
71+
- Application name: `service.istio.io/canonical-name`, `app.kubernetes.io/name`, or `app`.
72+
- Application version: `service.istio.io/canonical-revision`, `app.kubernetes.io/version`, or `version`.
7873

7974
- **Named service ports**: Service ports may optionally be named to explicitly specify a protocol.
8075
See [Protocol Selection](/docs/ops/configuration/traffic-management/protocol-selection/) for

0 commit comments

Comments
 (0)