Skip to content

Commit dd2561c

Browse files
jagan2221jpipkin1kimsauceGourav2906
authored
docs(helm chart): update upgrade doc for target allocator CRD addition (#5772)
* update upgrade doc for target allocator CRD addition * Update important-changes.md * Update important-changes.md * Update docs/send-data/kubernetes/v4/important-changes.md Co-authored-by: Kim (Sumo Logic) <[email protected]> * Update docs/send-data/kubernetes/v4/important-changes.md Co-authored-by: Kim (Sumo Logic) <[email protected]> * Update docs/send-data/kubernetes/v4/important-changes.md Co-authored-by: Kim (Sumo Logic) <[email protected]> --------- Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> Co-authored-by: Kim (Sumo Logic) <[email protected]> Co-authored-by: Gourav garg <[email protected]>
1 parent 5a50edf commit dd2561c

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

docs/send-data/kubernetes/v4/important-changes.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,32 @@ By default, the OpenTelemetry Collector is now used for metrics collection inste
4242
Ensure that the following CRDs from the OpenTelemetry operator are installed and updated using the following commands.
4343

4444
:::note
45-
Please follow instructions below to install the appropriate CRD versions
45+
Follow the instructions below to install the appropriate CRD versions.
4646
:::
4747

48-
#### CRDs to install (v4.12.0 and later)
4948

49+
#### CRDs to install (v4.16.0 and later)
50+
51+
```shell
52+
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.16.0/deploy/helm/sumologic/crds/crd-opentelemetry.io_opampbridges.yaml --force-conflicts
53+
54+
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.16.0/deploy/helm/sumologic/crds/crd-opentelemetrycollector.yaml --force-conflicts
55+
56+
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.16.0/deploy/helm/sumologic/crds/crd-opentelemetryinstrumentation.yaml --force-conflicts
57+
58+
kubectl apply --server-side -f https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/refs/tags/v4.16.0/deploy/helm/sumologic/crds/crd-opentelemetry.io_targetallocators.yaml --force-conflicts
59+
```
60+
61+
Then, annotate and label these CRDs as below.
62+
63+
```shell
64+
kubectl annotate crds instrumentations.opentelemetry.io opentelemetrycollectors.opentelemetry.io opampbridges.opentelemetry.io targetallocators.opentelemetry.io \
65+
meta.helm.sh/release-name=${RELEASE_NAME} \
66+
meta.helm.sh/release-namespace=${RELEASE_NAMESPACE}
67+
kubectl label crds instrumentations.opentelemetry.io opentelemetrycollectors.opentelemetry.io opampbridges.opentelemetry.io app.kubernetes.io/managed-by=Helm
68+
```
69+
70+
#### CRDs to install (v4.12.0 to v4.15.x)
5071
```shell
5172
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
5273

0 commit comments

Comments
 (0)