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: modules/otel-collector-components.adoc
+137Lines changed: 137 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,143 @@ The Kafka receiver receives traces, metrics, and logs from Kafka in the OTLP for
172
172
<6> Disables verifying the server's certificate chain and host name. The default is `+false+`.
173
173
<7> ServerName indicates the name of the server requested by the client to support virtual hosting.
174
174
175
+
[id="k8scluster-receiver_{context}"]
176
+
=== Kubernetes Cluster Receiver
177
+
178
+
:FeatureName: The Kubernetes Cluster Receiver
179
+
include::snippets/technology-preview.adoc[]
180
+
181
+
The Kubernetes Cluster Receiver gathers cluster metrics and entity events from the Kubernetes API server. It uses the Kubernetes API to receive information about updates. Authentication for this receiver is only supported through service accounts.
182
+
183
+
.OpenTelemetry Collector custom resource with the enabled Kubernetes Cluster Receiver
184
+
[source,yaml]
185
+
----
186
+
# ...
187
+
receivers:
188
+
k8s_cluster:
189
+
distribution: openshift
190
+
collection_interval: 10s
191
+
exporters:
192
+
debug:
193
+
service:
194
+
pipelines:
195
+
metrics:
196
+
receivers: [k8s_cluster]
197
+
exporters: [debug]
198
+
logs/entity_events:
199
+
receivers: [k8s_cluster]
200
+
exporters: [debug]
201
+
# ...
202
+
----
203
+
204
+
This receiver requires a configured service account, RBAC rules for the cluster role, and the cluster role binding that binds the RBAC with the service account.
0 commit comments