Dynatrace automatically derives tags from your Kubernetes/OpenShift labels. This enables you to automatically organize and filter all your monitored Kubernetes/OpenShift application components.
To review what is configured for the sample application, go ahead and open this folder and look at one such as the frontend.yml:
Notice the labels and annotations:
metadata:
      labels:
        app.kubernetes.io/name: frontend
        app.kubernetes.io/version: "1"
        app.kubernetes.io/component: frontend
        app.kubernetes.io/part-of: dt-orders
        app.kubernetes.io/managed-by: helm
        app.kubernetes.io/created-by: dynatrace-demos
      annotations:
        owner: Team Frontend
        chat-channel: dev-team-frontend 
Notice the defined container and version. These containers are stored in Dockerhub.
spec:
    containers:
    - name: frontend
    image: dtdemos/dt-orders-frontend:1
Notice the DT_CUSTOM_PROPS environment variable:
env:
    - name: DT_CUSTOM_PROP
        value: "project=dt-orders service=frontend"
The DT_CUSTOM_PROPS is a special Dynatrace feature, that the OneAgent will automatically recognize and make Dynatrace tags for the process. You can read more details in the Dynatrace documentation
Read more details on how Dynatrace identifies labels and tags Kubernetes in the Dynatrace documentation