Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 4cae71a

Browse files
Merge pull request #2360 from splunk/mbechtold-6481-k8s-infra-nodes
[6481] OpenShift Infra nodes configuration for Helm Chart
2 parents b49fc13 + 45e25b6 commit 4cae71a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

gdi/opentelemetry/collector-kubernetes/kubernetes-config-advanced.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,3 +503,32 @@ Cluster Receiver support
503503
The Cluster receiver is a 1-replica deployment of the OpenTelemetry Collector. Because the Kubernetes control plane can select any available node to run the cluster receiver pod (unless ``clusterReceiver.nodeSelector`` is explicitly set to pin the pod to a specific node), ``hostPath`` or ``local`` volume mounts don't work for such environments.
504504

505505
Data persistence is currently not applicable to the Kubernetes cluster metrics and Kubernetes events.
506+
507+
Monitor OpenShift infrastructure nodes
508+
============================================
509+
510+
By default, the Splunk Distribution of OpenTelemetry Collector for Kubernetes doesn't collect data from OpenShift infrastructure nodes.
511+
512+
You can customize the Collector Helm Chart file to activate data collection from OpenShift infrastructure nodes. To do so, complete the following steps:
513+
514+
#. Open your values.yaml file for the Helm Chart.
515+
#. Copy and paste the following YAML snippet into the values.yaml file:
516+
517+
.. code-block:: yaml
518+
519+
tolerations:
520+
- key: node-role.kubernetes.io/master
521+
effect: NoSchedule
522+
- key: node-role.kubernetes.io/control-plane
523+
effect: NoSchedule
524+
- key: node-role.kubernetes.io/infra
525+
effect: NoSchedule
526+
operator: Exists
527+
528+
#. Install the Collector using the Helm Chart:
529+
530+
.. code-block:: bash
531+
532+
helm install my-splunk-otel-collector --values values.yaml splunk-otel-collector-chart/splunk-otel-collector
533+
534+
.. note:: Monitoring OpenShift infrastructure nodes might pose a security risk depending on which method you used to create the Kubernetes environment.

0 commit comments

Comments
 (0)