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

Commit 9872552

Browse files
Merge pull request #1682 from splunk/repo-sync
Pulling refs/heads/main into main
2 parents b1cc952 + ea7f709 commit 9872552

File tree

4 files changed

+125
-29
lines changed

4 files changed

+125
-29
lines changed

_includes/collector-upgrade.rst

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
1-
The installer script uses one of the supported package managers to install the Collector.
2-
3-
When you update the Collector using the official packages, configuration files are never overridden. If you need to update the configuration after an update, edit them manually before backward compatibility is dropped.
4-
51
General guidelines
62
=================================
73

8-
Apply the following changes to the Collector configuration files for specific version upgrades.
9-
10-
.. :important::
4+
.. :note::
115

126
For every configuration update use the default agent config as a reference.
137

8+
Apply the following changes to the Collector configuration files for specific version upgrades. For more details refer to the :new-page:`Upgrade guidelines <https://github.com/signalfx/splunk-otel-collector?tab=readme-ov-file#upgrade-guidelines>` in GitHub.
9+
1410
From 0.96.1 to 0.97.0
1511
------------------------------------
1612

17-
18-
1913
.. raw:: html
2014

2115
<div class="include-start" id="collector-upgrade-memory-ballast.rst"></div>
@@ -26,9 +20,6 @@ From 0.96.1 to 0.97.0
2620

2721
<div class="include-stop" id="collector-upgrade-memory-ballast.rst"></div>
2822

29-
30-
31-
3223
From 0.68.0 to 0.69.0
3324
------------------------------------
3425

gdi/opentelemetry/collector-kubernetes/kubernetes-upgrade.rst

Lines changed: 118 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,17 @@ Upgrade the Collector for Kubernetes and other updates
66
*********************************************************************************
77

88
.. meta::
9-
:description: Upgrade the Splunk Distribution of OpenTelemetry Collector for Kubernetes.
10-
11-
12-
13-
.. raw:: html
14-
15-
<div class="include-start" id="collector-upgrade.rst"></div>
16-
17-
.. include:: /_includes/collector-upgrade.rst
18-
19-
.. raw:: html
20-
21-
<div class="include-stop" id="collector-upgrade.rst"></div>
22-
23-
24-
9+
:description: Upgrade the Splunk Distribution of the OpenTelemetry Collector for Kubernetes.
2510

2611
.. _otel-upgrade-k8s:
2712

2813
Upgrade the Collector for Kubernetes
2914
=======================================
3015

16+
The installer script uses one of the supported package managers to install the Collector. When you update the Collector using the official packages, configuration files are never overridden. If you need to update the configuration after an update, edit them manually before backward compatibility is dropped.
17+
18+
.. :note:: For every configuration update use the default agent config as a reference.
19+
3120
To upgrade the Collector for Kubernetes run the following commands:
3221

3322
- Use the flag ``--reuse-values`` to keep the config values you'd already set while installing or using the Collector:
@@ -43,7 +32,119 @@ To upgrade the Collector for Kubernetes run the following commands:
4332
4433
helm upgrade splunk-otel-collector --values config.yaml splunk-otel-collector-chart/splunk-otel-collector --reuse-values
4534
46-
Read more in the official Helm upgrade options documentation at :new-page:`https://helm.sh/docs/helm/helm_upgrade/#options <https://helm.sh/docs/helm/helm_upgrade/#options>`.
35+
Read more in the official :new-page:`Helm upgrade options <https://helm.sh/docs/helm/helm_upgrade/#options>` documentation.
36+
37+
.. _otel-upgrade-k8s-guidelines:
38+
39+
Upgrade guidelines
40+
=================================
41+
42+
Apply the following changes to the Collector configuration files for specific version upgrades. For more details refer to :new-page:`Helm chart upgrade guidelines <https://github.com/signalfx/splunk-otel-collector-chart/blob/main/UPGRADING.md>` in GitHub.
43+
44+
From 0.113.0 to 0.116.0
45+
---------------------------------------
46+
47+
Custom resource definition (CRD) configuration has been modified.
48+
49+
* Before v0.110.0 CRDs were deployed via a ``crds/`` directory (upstream default).
50+
* From v0.110.0 to v1.113.0 CRDs were deployed using Helm templates (upstream default), which had reported issues.
51+
* From v0.116.0 and higher, you must explicitly configure your preferred CRD deployment method or deploy the CRDs manually to avoid potential issues. You can deploy CRDs via a ``crds/`` directory again by enabling a newly added value.
52+
53+
New users
54+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55+
56+
If you're a new user deploy CRDs via the ``crds/`` directory. For a fresh installation use the following Helm values:
57+
58+
.. code-block:: yaml
59+
60+
operatorcrds:
61+
install: true
62+
operator:
63+
enabled: true
64+
65+
To install the chart run:
66+
67+
.. code-block:: bash
68+
69+
helm install <release-name> splunk-otel-collector-chart/splunk-otel-collector --set operatorcrds.install=true,operator. enabled=true <extra_args>
70+
71+
Current users
72+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73+
74+
You might need to migrate if using ``operator.enabled=true``.
75+
76+
If you're using versions 0.110.0 to 1.113.0, CRDs are likely deployed via Helm templates. To migrate to the recommended ``crds/`` directory deployment:
77+
78+
1. Delete the existing chart running
79+
80+
.. code-block:: bash
81+
82+
helm delete <release-name>
83+
84+
2. Verify if the following CRDs are present and delete them if necessary:
85+
86+
.. code-block:: bash
87+
88+
kubectl get crds | grep opentelemetry
89+
kubectl delete crd opentelemetrycollectors.opentelemetry.io
90+
kubectl delete crd opampbridges.opentelemetry.io
91+
kubectl delete crd instrumentations.opentelemetry.io
92+
93+
3. Reinstall the chart with the updated configuration:
94+
95+
.. code-block:: bash
96+
97+
helm install <release-name> splunk-otel-collector --set operatorcrds.install=true,operator.enabled=true <extra_args>
98+
99+
Current users maintaining legacy templates
100+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101+
102+
If you're using chart versions 0.110.0 to 1.113.0 and prefer to continue deploying CRDs via Helm templates (not recommended), use the following values:
103+
104+
.. code-block:: yaml
105+
106+
operator:
107+
enabled: true
108+
operator:
109+
crds:
110+
create: true
111+
112+
.. caution:: This method might cause race conditions during installation or upgrades.
113+
114+
From 0.105.5 to 0.108.0
115+
---------------------------------------
116+
117+
.. note:: If you have no customizations under ``.Values.operator.instrumentation.spec.*`` no migration is required.
118+
119+
The Helm chart configuration for operator auto-instrumentation has been simplified, and the values previously under ``.Values.operator.instrumentation.spec.*`` have been moved to ``.Values.instrumentation.*``.
120+
121+
The updated path looks like this:
122+
123+
.. code-block:: yaml
124+
125+
instrumentation:
126+
endpoint: XXX
127+
...
128+
129+
The deprecated path was:
130+
131+
.. code-block:: yaml
132+
133+
operator:
134+
instrumentation:
135+
spec:
136+
endpoint: XXX
137+
...
138+
139+
.. raw:: html
140+
141+
<div class="include-start" id="collector-upgrade.rst"></div>
142+
143+
.. include:: /_includes/collector-upgrade.rst
144+
145+
.. raw:: html
146+
147+
<div class="include-stop" id="collector-upgrade.rst"></div>
47148

48149
.. _otel-upgrade-k8s-access-token:
49150

gdi/opentelemetry/collector-linux/linux-upgrade.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Upgrade the Collector for Linux
88
.. meta::
99
:description: Upgrade the Splunk Distribution of OpenTelemetry Collector for Linux.
1010

11+
The installer script uses one of the supported package managers to install the Collector.
1112

13+
When you update the Collector using the official packages, configuration files are never overridden. If you need to update the configuration after an update, edit them manually before backward compatibility is dropped.
1214

1315
.. raw:: html
1416

gdi/opentelemetry/collector-windows/windows-upgrade.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Upgrade the Collector for Windows
88
.. meta::
99
:description: Upgrade the Splunk Distribution of OpenTelemetry Collector.
1010

11+
The installer script uses one of the supported package managers to install the Collector.
1112

13+
When you update the Collector using the official packages, configuration files are never overridden. If you need to update the configuration after an update, edit them manually before backward compatibility is dropped.
1214

1315
.. raw:: html
1416

0 commit comments

Comments
 (0)