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

Commit c87d156

Browse files
WIP
1 parent e19a2c6 commit c87d156

File tree

2 files changed

+71
-25
lines changed

2 files changed

+71
-25
lines changed

_includes/collector-upgrade.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,15 @@ When you update the Collector using the official packages, configuration files a
55
General guidelines
66
=================================
77

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

1210
For every configuration update use the default agent config as a reference.
1311

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.
13+
1414
From 0.96.1 to 0.97.0
1515
------------------------------------
1616

17-
18-
1917
.. raw:: html
2018

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

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

29-
30-
31-
3227
From 0.68.0 to 0.69.0
3328
------------------------------------
3429

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

Lines changed: 68 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,7 @@ 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-
TEST TEST
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

@@ -43,7 +28,73 @@ To upgrade the Collector for Kubernetes run the following commands:
4328
4429
helm upgrade splunk-otel-collector --values config.yaml splunk-otel-collector-chart/splunk-otel-collector --reuse-values
4530
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>`.
31+
Read more in the official :new-page:`Helm upgrade options <https://helm.sh/docs/helm/helm_upgrade/#options>` documentation.
32+
33+
.. _otel-upgrade-k8s-guidelines:
34+
35+
Upgrade guidelines
36+
=================================
37+
38+
.. :note::
39+
40+
For every configuration update use the default agent config as a reference.
41+
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.
43+
44+
From 0.113.0 to 0.116.0
45+
---------------------------------------
46+
47+
This guide provides steps for new users, transitioning users, and those maintaining previous operator CRD configurations:
48+
49+
New users: No migration for CRDs is required.
50+
Previous users: Migration may be needed if using operator.enabled=true.
51+
CRD deployment has evolved over chart versions:
52+
53+
Before 0.110.0: CRDs were deployed via a crds/ directory (upstream default).
54+
0.110.0 to 1.113.0: CRDs were deployed using Helm templates (upstream default), which had reported issues.
55+
0.116.0 and later: Users must now explicitly configure their preferred CRD deployment method or deploy the CRDs manually to avoid potential issues. Users can deploy CRDs via a crds/ directory again by enabling a newly added value.
56+
57+
New users
58+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59+
60+
New users are advised to deploy CRDs via the crds/ directory. For a fresh installation, use the following Helm values:
61+
62+
operatorcrds:
63+
install: true
64+
operator:
65+
enabled: true
66+
To install the chart:
67+
68+
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)
70+
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:
71+
72+
Step 1: Delete the Existing Chart
73+
Remove the chart to prepare for a fresh installation:
74+
75+
helm delete <release-name>
76+
Step 2: Verify or Remove Existing CRDs
77+
Check if the following CRDs are present and delete them if necessary:
78+
79+
kubectl get crds | grep opentelemetry
80+
kubectl delete crd opentelemetrycollectors.opentelemetry.io
81+
kubectl delete crd opampbridges.opentelemetry.io
82+
kubectl delete crd instrumentations.opentelemetry.io
83+
Step 3: Reinstall with Recommended Values
84+
Reinstall the chart with the updated configuration:
85+
86+
helm install <release-name> splunk-otel-collector --set operatorcrds.install=true,operator.enabled=true <extra_args>
87+
Previous Users (Maintaining Legacy Helm Templates)
88+
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:
89+
90+
operator:
91+
enabled: true
92+
operator:
93+
crds:
94+
create: true
95+
Warning: This method may cause race conditions during installation or upgrades
96+
97+
4798

4899
.. _otel-upgrade-k8s-access-token:
49100

0 commit comments

Comments
 (0)