Skip to content

Commit

Permalink
Add note to update CRDs before upgrading to helm chart version 4.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rnishtala-sumo committed Jan 23, 2025
1 parent 6f77c18 commit 7e2205f
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions docs/send-data/kubernetes/v4/important-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,33 @@ By default, the OpenTelemetry Collector is now used for metrics collection inste

Ensure that the following CRDs from the OpenTelemetry operator are installed and updated using the following commands.

##### Instrumentation CRD (relevant for metrics and traces)
:::note
Please follow instructions below to install the appropriate CRD versions
:::

#### CRDS to install (v4.12.0 and later)

```
kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.56.1/charts/opentelemetry-operator/crds/crd-opentelemetryinstrumentation.yaml
```
kubectl delete crd instrumentations.opentelemetry.io
##### OpenTelemetry collector CRD
kubectl delete crd opentelemetrycollectors.opentelemetry.io
```
kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.56.1/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml
kubectl delete crd opampbridges.opentelemetry.io
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.12.0/deploy/helm/sumologic/crds/crd-opentelemetry.io_opampbridges.yaml --force-conflicts
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.12.0/deploy/helm/sumologic/crds/crd-opentelemetrycollector.yaml --force-conflicts
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.12.0/deploy/helm/sumologic/crds/crd-opentelemetryinstrumentation.yaml --force-conflicts
```

##### OpAMP Bridge CRD
#### CRDs to install (before v4.12.0)

```
kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.56.1/charts/opentelemetry-operator/crds/crd-opentelemetryinstrumentation.yaml
kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.56.1/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml
kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.56.1/charts/opentelemetry-operator/crds/crd-opentelemetry.io_opampbridges.yaml
```

Expand Down

0 comments on commit 7e2205f

Please sign in to comment.