Container platforms
Questions about Kubernetes, OpenShift, Docker, and more.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configuring cluster name in the AKS extension

glenthomas
Newcomer

I am using the Dynatrace AKS extension and there appears to be no way to configure the cluster name, so the data all comes through with cluster name "dynatrace", which is not very useful.

There is no documented way to configure the cluster name and support told me to not use the AKS extension.

So, is there some way to configure the cluster name that I don't know about, or could this be added into the extension configuration settings?

3 REPLIES 3

marina_pollehn
DynaMight Champion
DynaMight Champion

marina_pollehn_1-1784626434816.png

When I configure the extension I do have control over the naming of the cluster, see screenshot below. 

marina_pollehn_0-1784626354505.png

If I already did the deployment, I change the cluster name via the new Kubernetes app. I select the cluster and go to Settings via the three dots

marina_pollehn_3-1784627502324.png

and then head to Collect & Capture >> Kubernetes cluster connection

marina_pollehn_2-1784626757190.png

Is this working for you?

A Dynatrace Professional nerd working for Conclusion Xforce

marina_pollehn
DynaMight Champion
DynaMight Champion

We are talking about the same extension, right?

A Dynatrace Professional nerd working for Conclusion Xforce

Your screenshots are from the Dynatrace UI, which generates Helm/manifest files for deploying the Dynatrace Kubernetes integration to a cluster.

I am using the Dynatrace AKS Marketplace extension, which I am deploying via Terraform. I guess there may be a configuration setting that allows setting the cluster name, but I don't know what it is.

glenthomas_0-1784631288787.png

resource "azurerm_kubernetes_cluster_extension" "dynatrace" {
  name           = module.managed_cluster.name
  cluster_id     = module.managed_cluster.resource_id
  extension_type = "dynatrace.azuredynatraceoperator.one.x"

  plan {
    name      = "dynatrace-operator-1-x"
    product   = "azure-dynatrace-operator"
    publisher = "dynatrace"
  }

  configuration_settings = {
    "dynatrace-operator-azure.apiurl" = var.dynatrace_api_url
    "dynatrace-operator-azure.mode"   = "cloudNativeFullStack"
  }

  configuration_protected_settings = {
    "dynatrace-operator-azure.apitoken"        = var.dynatrace_api_token
    "dynatrace-operator-azure.dataingesttoken" = var.dynatrace_data_ingest_token
  }

  depends_on = [azurerm_marketplace_agreement.dynatrace]
}

resource "azurerm_marketplace_agreement" "dynatrace" {
  publisher = "dynatrace"
  offer     = "azure-dynatrace-operator"
  plan      = "dynatrace-operator-1-x"
}

 

Featured Posts