15 Nov 2024 08:38 AM - last edited on 18 Nov 2024 09:36 AM by MaciejNeumann
Hi Team,
We have onboarded the Kubernetes cluster, but the naming is not appearing as expected—it is only showing as dynakube. Could anyone please help identify the reason for this?
Please find below the snapshot of the current naming issue and the YAML file used for configuration for reference
15 Nov 2024 04:11 PM
interested
15 Nov 2024 04:36 PM
Hi @Vikas_g1997
the Yaml its ok, i cant find anything out of the line. the cluster must be name like the name in the metadata,
did you allready check
maybe someone change the name manually and that its a priority
17 Nov 2024 07:42 AM
Hi RGarzon1,
Thank you for your suggestion. If we use the default settings, it should revert to the detected name, correct?
17 Nov 2024 10:28 AM
@Vikas_g1997 , your yaml file already looks good, you don't need to change anything . You already seem to have defined the cluster name in dynakube.yaml
18 Nov 2024 10:11 AM
Hi @p_devulapalli ,
Just a quick question do we require codemodules in dynakube.yaml?
apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
name: cnhb3prdomsaks01
namespace: dynatrace
spec:
apiUrl:
dynatraceApiRequestThreshold: 15
skipCertCheck: true
tokens: cnhb3prdomsaks01
activeGate:
capabilities:
- routing
- kubernetes-monitoring
- dynatrace-api
image: public.ecr.aws/dynatrace/dynatrace-activegate:1.299.33.20240925-184604
replicas: 1
resources:
limits:
cpu: 1000m
memory: 1.5Gi
requests:
cpu: 500m
memory: 512Mi
oneAgent:
cloudNativeFullStack:
autoUpdate: true
image: public.ecr.aws/dynatrace/dynatrace-oneagent:1.297.63.20240905-133818
codeModulesImage: public.ecr.aws/dynatrace/dynatrace-codemodules:1.297.63.20240905-133818
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists
18 Nov 2024 03:24 PM - edited 18 Nov 2024 03:25 PM
Generally, I don’t use it (code modules), at least not when I'm using something distinct to application-only monitoring. Do you want to set it for a specific technology? If your goal is to make it all-purpose, then it's better not to set it
19 Nov 2024 11:09 AM
@Vikas_g1997 as @rgarzon1 mentioned codeModulesImage is not mandatory for Kubernetes monitoring, it is useful when you need to specify a custom OneAgent image to be injected into pods for monitoring in Kubernetes environment.
20 Nov 2024 04:26 AM
@Vikas_g1997 to override the detected cluster name: use the following feature annotation.
Enjoy
28 Nov 2024 08:45 AM
HI @p_devulapalli and @gopher ,
Thank you for your guidance on this matter. Could you please provide suggestions on how we can manually update the OneAgent on an AKS cluster? Additionally, I would like to understand the recommended timeframe or interval at which the update process should be performed.