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

Commit 9004d08

Browse files
WIP
1 parent c87d156 commit 9004d08

File tree

4 files changed

+71
-17
lines changed

4 files changed

+71
-17
lines changed

_includes/collector-upgrade.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
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

84
.. :note::
95

106
For every configuration update use the default agent config as a reference.
117

12-
Apply the following changes to the Collector configuration files for specific version upgrades. For more details refer to :new-page:`Upgrade guidelines <ttps://github.com/signalfx/splunk-otel-collector?tab=readme-ov-file#upgrade-guidelines>` in GitHub.
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.
139

1410
From 0.96.1 to 0.97.0
1511
------------------------------------

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

Lines changed: 66 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,15 @@ Read more in the official :new-page:`Helm upgrade options <https://helm.sh/docs/
3535
Upgrade guidelines
3636
=================================
3737

38+
The installer script uses one of the supported package managers to install the Collector.
39+
40+
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.
41+
3842
.. :note::
3943

4044
For every configuration update use the default agent config as a reference.
4145

42-
Apply the following changes to the Collector configuration files for specific version upgrades. For more details refer to :new-page:`Upgrade guidelines <https://github.com/signalfx/splunk-otel-collector-chart/blob/main/UPGRADING.md>` in GitHub.
46+
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. For generic guidelines see :ref:`otel-upgrade-k8s-guidelines-generic`.
4347

4448
From 0.113.0 to 0.116.0
4549
---------------------------------------
@@ -59,14 +63,20 @@ New users
5963

6064
New users are advised to deploy CRDs via the crds/ directory. For a fresh installation, use the following Helm values:
6165

62-
operatorcrds:
63-
install: true
64-
operator:
65-
enabled: true
66+
.. code-block:: yaml
67+
68+
operatorcrds:
69+
install: true
70+
operator:
71+
enabled: true
72+
6673
To install the chart:
6774

6875
helm install <release-name> splunk-otel-collector-chart/splunk-otel-collector --set operatorcrds.install=true,operator.enabled=true <extra_args>
69-
Current Users (Recommended Migration to crds/ Directory)
76+
77+
Current users
78+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79+
7080
If you're using chart versions 0.110.0 to 1.113.0, CRDs are likely deployed via Helm templates. To migrate to the recommended crds/ directory deployment:
7181

7282
Step 1: Delete the Existing Chart
@@ -87,14 +97,58 @@ helm install <release-name> splunk-otel-collector --set operatorcrds.install=tru
8797
Previous Users (Maintaining Legacy Helm Templates)
8898
If you're using chart versions 0.110.0 to 1.113.0 and prefer to continue deploying CRDs via Helm templates (not recommended), you can do so with the following values:
8999

90-
operator:
91-
enabled: true
92-
operator:
93-
crds:
94-
create: true
95-
Warning: This method may cause race conditions during installation or upgrades
100+
.. code-block:: yaml
101+
102+
operator:
103+
enabled: true
104+
operator:
105+
crds:
106+
create: true
107+
108+
.. caution:: This method may cause race conditions during installation or upgrades
109+
110+
From 0.105.5 to 0.108.0
111+
---------------------------------------
112+
113+
We've simplified the Helm chart configuration for operator auto-instrumentation. The values previously under .Values.operator.instrumentation.spec.* have been moved to .Values.instrumentation.*.
114+
115+
No Action Needed: If you have no customizations under .Values.operator.instrumentation.spec.*, no migration is required.
116+
Action Required: Continuing to use the old values path will result in a Helm install or upgrade error, blocking the process.
117+
Migration Steps:
118+
119+
Find any references to .Values.operator.instrumentation.spec.* in your Helm values with custom values.
120+
Migrate them from .Values.operator.instrumentation.spec.* to .Values.instrumentation.*.
121+
Example Migration:
122+
123+
The updated path looks like this:
124+
125+
.. code-block:: yaml
126+
127+
instrumentation:
128+
endpoint: XXX
129+
...
130+
131+
The deprecated path was:
132+
133+
.. code-block:: yaml
134+
135+
operator:
136+
instrumentation:
137+
spec:
138+
endpoint: XXX
139+
...
140+
141+
.. _otel-upgrade-k8s-guidelines-generic:
142+
143+
.. raw:: html
144+
145+
<div class="include-start" id="collector-upgrade.rst"></div>
146+
147+
.. include:: /_includes/collector-upgrade.rst
96148

149+
.. raw:: html
97150

151+
<div class="include-stop" id="collector-upgrade.rst"></div>
98152

99153
.. _otel-upgrade-k8s-access-token:
100154

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)