cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

releases page in UI not showing the "Release version"

sergio_magothag
Visitor

I am trying to enable the "Releases" configuration in Dynatrace with respect to my AWS EKS cluster.

 

In the Dynakube, I have the feature flag enabed:

```

apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
name: dynakube
namespace: dynatrace
# Automatically connect the kubernetes api to the dynatrace tenant endpoint to enable kubernetes monitoring.
annotations:
feature.dynatrace.com/automatic-kubernetes-api-monitoring: "true"
feature.dynatrace.com/label-version-detection: "true"
spec:
...

```

 

In the OneAgent pods, I can see the labels in the in the "Properties and tags" view (as well as with kubectl):

```

app.kubernetes.io/created-by:dynakube, app.kubernetes.io/managed-by:dynatrace-operator, app.kubernetes.io/name:oneagent, app.kubernetes.io/version:1.275.146.20231002-095820, app.kubernetes.io/component:cloudnativefullstack

```

The oneAgent pod have the env variable set:

```

- name: DT_RELEASE_STAGE
value: gd10
- name: DT_RELEASE_VERSION
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.labels['apps.kubernetes.io/version']

```

 

However in the Relases page, I am not getting any "Release version" information to show up:

missing release versionmissing release version

I feel like I've followed the guide to the letter but I am not seeing full functionality here.

 

Can anyone suggest how to troubleshoot further?

 

2 REPLIES 2

sergio_magothag
Visitor

release version field is empty when I drill down from the Releases page

 

release version field is emptyrelease version field is empty

radek_jasinski
DynaMight Guru
DynaMight Guru

It looks like the wrong parameters in app.kubernetes.io/version - as far as I can see it says version of OneAgent - you should enter the version number of your application.

See here:
https://www.dynatrace.com/support/help/shortlink/version-detection#kubernetes

Also try giving the versions without using the "-". I used to have a problem with this.

Have a nice day!

Featured Posts