You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/containers/kubernetes/configuration.md
+89-1Lines changed: 89 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ After you have installed the Datadog Agent in your Kubernetes environment, you m
33
33
-[Kubernetes API server timeout](#kubernetes-api-server-timeout)
34
34
-[Proxy settings](#proxy-settings)
35
35
-[Autodiscovery](#autodiscovery)
36
+
-[Set cluster name](#set-cluster-name)
36
37
-[Miscellaneous](#miscellaneous)
37
38
38
39
## Enable APM and tracing
@@ -453,6 +454,23 @@ spec:
453
454
liveContainerCollection:
454
455
enabled: true
455
456
```
457
+
In some setups, the Process Agent and Cluster Agent cannot automatically detect a Kubernetes cluster name. If this happens, the feature does not start, and the following warning displays in the Cluster Agent log: `Orchestrator explorer enabled but no cluster name set: disabling`. In this case, you must set `spec.global.clusterName` to your cluster name in `datadog-agent.yaml`:
458
+
459
+
```yaml
460
+
apiVersion: datadoghq.com/v2alpha1
461
+
kind: DatadogAgent
462
+
metadata:
463
+
name: datadog
464
+
spec:
465
+
global:
466
+
clusterName: <YOUR_CLUSTER_NAME>
467
+
credentials:
468
+
apiKey: <DATADOG_API_KEY>
469
+
appKey: <DATADOG_APP_KEY>
470
+
features:
471
+
orchestratorExplorer:
472
+
enabled: true
473
+
```
456
474
457
475
{{% /tab %}}
458
476
{{% tab "Helm" %}}
@@ -468,7 +486,7 @@ datadog:
468
486
enabled: true
469
487
```
470
488
471
-
In some setups, the Process Agent and Cluster Agent cannot automatically detect a Kubernetes cluster name. If this happens, the feature does not start, and the following warning displays in the Cluster Agent log: `Orchestrator explorer enabled but no cluster name set: disabling.`In this case, you must set `datadog.clusterName` to your cluster name in `values.yaml`.
489
+
In some setups, the Process Agent and Cluster Agent cannot automatically detect a Kubernetes cluster name. If this happens, the feature does not start, and the following warning displays in the Cluster Agent log: `Orchestrator explorer enabled but no cluster name set: disabling.`In this case, you must set `datadog.clusterName` to your cluster name in `datadog-values.yaml`.
472
490
473
491
```yaml
474
492
datadog:
@@ -484,6 +502,8 @@ datadog:
484
502
{{% /tab %}}
485
503
{{< /tabs >}}
486
504
505
+
For restrictions on valid cluster names, see [Set cluster name](#set-cluster-name).
506
+
487
507
See the [Containers view][15] documentation for additional information.
488
508
489
509
## Orchestrator Explorer
@@ -512,6 +532,25 @@ spec:
512
532
enabled: true
513
533
```
514
534
535
+
In some setups, the Process Agent and Cluster Agent cannot automatically detect a Kubernetes cluster name. If this happens, the feature does not start, and the following warning displays in the Cluster Agent log: `Orchestrator explorer enabled but no cluster name set: disabling`. In this case, you must set `spec.global.clusterName` to your cluster name in `datadog-agent.yaml`:
536
+
537
+
```yaml
538
+
apiVersion: datadoghq.com/v2alpha1
539
+
kind: DatadogAgent
540
+
metadata:
541
+
name: datadog
542
+
spec:
543
+
global:
544
+
clusterName: <YOUR_CLUSTER_NAME>
545
+
credentials:
546
+
apiKey: <DATADOG_API_KEY>
547
+
appKey: <DATADOG_APP_KEY>
548
+
features:
549
+
orchestratorExplorer:
550
+
enabled: true
551
+
```
552
+
553
+
515
554
{{% /tab %}}
516
555
{{% tab "Helm" %}}
517
556
@@ -528,9 +567,24 @@ datadog:
528
567
enabled: true
529
568
```
530
569
570
+
In some setups, the Process Agent and Cluster Agent cannot automatically detect a Kubernetes cluster name. If this happens, the feature does not start, and the following warning displays in the Cluster Agent log: `Orchestrator explorer enabled but no cluster name set: disabling.`In this case, you must set `datadog.clusterName` to your cluster name in `values.yaml`.
571
+
572
+
```yaml
573
+
datadog:
574
+
#(...)
575
+
clusterName: <YOUR_CLUSTER_NAME>
576
+
#(...)
577
+
processAgent:
578
+
enabled: true
579
+
orchestratorExplorer:
580
+
enabled: true
581
+
```
582
+
531
583
{{% /tab %}}
532
584
{{< /tabs >}}
533
585
586
+
For restrictions on valid cluster names, see [Set cluster name](#set-cluster-name).
587
+
534
588
See the [Orchestrator Explorer documentation][21] for additional information.
535
589
536
590
## Basic configuration
@@ -823,6 +877,40 @@ Starting with Agent v6.4.0 (and v6.5.0 for the Trace Agent), you can override th
823
877
| `DD_PROXY_NO_PROXY` | A space-separated list of URLs for which no proxy should be used. |
824
878
| `DD_SKIP_SSL_VALIDATION` | An option to test if the Agent is having issues connecting to Datadog. |
825
879
880
+
## Set cluster name
881
+
882
+
Some capabilities require that you set a Kubernetes cluster name. A valid cluster name must be unique and dot-separated, with the following restrictions:
883
+
884
+
- Can contain only lowercase letters, numbers, and hyphens
885
+
- Must start with a letter
886
+
- Overall length is less than or equal to 80 characters
887
+
888
+
{{< tabs >}}
889
+
{{% tab "Datadog Operator" %}}
890
+
Set `spec.global.clusterName` to your cluster name in `datadog-agent.yaml`:
891
+
892
+
```yaml
893
+
apiVersion: datadoghq.com/v2alpha1
894
+
kind: DatadogAgent
895
+
metadata:
896
+
name: datadog
897
+
spec:
898
+
global:
899
+
clusterName: <YOUR_CLUSTER_NAME>
900
+
```
901
+
{{% /tab %}}
902
+
903
+
{{% tab "Helm" %}}
904
+
Set `datadog.clusterName` to your cluster name in `datadog-values.yaml`.
0 commit comments