Skip to content

Commit a70a27e

Browse files
authored
update upgrade doc for target allocator CRD addition
1 parent 3aee3d9 commit a70a27e

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

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

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,28 @@ Ensure that the following CRDs from the OpenTelemetry operator are installed and
4545
Please follow 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.12.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.12.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.12.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.12.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+
#### CRDs to install (v4.12.0 - v4.15.x)
5070
```shell
5171
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
5272

0 commit comments

Comments
 (0)