File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ You can review all available configuration options in the [kube_apiserver_metric
36
36
37
37
You can annotate the kubernetes service in your ` default ` namespace with the following:
38
38
39
- {{< tabs >}}
40
- {{% tab "Annotations v2 (for Datadog Agent v7.36+)" %}}
39
+ <!-- xxx tabs xxx -->
40
+
41
+ <!-- xxx tab "Annotations v2 (for Datadog Agent v7.36+)" -->
41
42
42
43
``` yaml
43
44
ad.datadoghq.com/endpoints.checks : |
@@ -49,11 +50,12 @@ ad.datadoghq.com/endpoints.checks: |
49
50
}
50
51
]
51
52
}
52
- }
53
-
53
+ }
54
54
` ` `
55
- {{% /tab %}}
56
- {{% tab "Annotations v1 (for Datadog Agent < v7.36)" %}}
55
+
56
+ <!-- xxz tab xxx -->
57
+
58
+ <!-- xxx tab "Annotations v1 (for Datadog Agent < v7.36)" -->
57
59
58
60
` ` ` yaml
59
61
annotations :
@@ -62,8 +64,9 @@ annotations:
62
64
ad.datadoghq.com/endpoints.instances :
63
65
' [{ "prometheus_url": "https://%%host%%:%%port%%/metrics"}]'
64
66
```
65
- {{% /tab %}}
66
- {{< /tabs >}}
67
+
68
+ <!-- xxz tab xxx -->
69
+ <!-- xxz tabs xxx -->
67
70
68
71
Then the Datadog Cluster Agent schedules the check(s) for each endpoint onto Datadog Agent(s).
69
72
@@ -90,9 +93,10 @@ clusterAgent:
90
93
instances:
91
94
- prometheus_url: "https://%%host%%:%%port%%/metrics"
92
95
` ` `
93
- {{% /tab %}}
94
96
95
- {{% tab "Operator" %}}
97
+ <!-- xxz tab xxx -->
98
+
99
+ <!-- xxx tab "Operator" -->
96
100
97
101
` ` ` yaml
98
102
spec :
@@ -111,8 +115,10 @@ spec:
111
115
instances:
112
116
- prometheus_url: "https://%%host%%:%%port%%/metrics"
113
117
` ` `
114
- {{% /tab %}}
115
- {{< /tabs >}}
118
+
119
+ <!-- xxz tab xxx -->
120
+
121
+ <!-- xxz tabs xxx -->
116
122
117
123
These configurations trigger the Agent to make a request to the ` kubernetes` service in the `default` namespace at its defined Endpoint IP Addresses and defined port.
118
124
You can’t perform that action at this time.
0 commit comments