The docs in https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/?tab=kubernetes state that:
Datadog sets the version tag for you in the following priority order. If you manually set version, Datadog does not override your version value.
Now, I run Datadog in my cluster, and I run the following pod:
apiVersion: v1
kind: Pod
metadata:
name: unified-service-tagging
labels:
app: my-app
tags.datadoghq.com/env: "staging"
tags.datadoghq.com/service: "mysvc"
spec:
containers:
- name: nginx
image: my-repo/nginx:0.1
ports:
- containerPort: 80
If I understand the docs correctly, Datadog should take the 0.1
(the image tag) and set it to be the version
tag. But it doesn’t. Can anyone explain why?