Skip to content

Commit a476229

Browse files
committed
Update after testing docs
1 parent 626154a commit a476229

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

setup/otel/getting-started/getting-started-k8s-operator.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ manager:
5050
repository: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
5151
collectorImage:
5252
# find the latest collector releases at https://github.com/open-telemetry/opentelemetry-collector-releases/releases
53-
repository:
54-
ghcr.io/open-telemetry/opentelemetry-collector-k8s
55-
tag: 0.123.1
53+
repository: otel/opentelemetry-collector-k8s
54+
tag: 0.123.0
5655
targetAllocatorImage:
5756
repository: ""
5857
tag: ""
@@ -117,7 +116,6 @@ spec:
117116
# serviceAccount: otel-collector
118117
config:
119118
receivers:
120-
nop: {}
121119
otlp:
122120
protocols:
123121
grpc:
@@ -141,6 +139,7 @@ spec:
141139
scheme: SUSEObservability
142140
token: "${env:API_KEY}"
143141
exporters:
142+
debug: {}
144143
nop: {}
145144
otlp/suse-observability:
146145
auth:
@@ -184,7 +183,7 @@ spec:
184183
processors: [memory_limiter, resource, batch]
185184
exporters: [debug, otlp/suse-observability]
186185
logs:
187-
receivers: [nop]
186+
receivers: [otlp]
188187
processors: []
189188
exporters: [nop]
190189
telemetry:
@@ -200,7 +199,7 @@ spec:
200199
Now apply this `collector.yaml` in the `open-telemetry` namespace to deploy a collector:
201200

202201
```bash
203-
kubectl apply --namespace open-telemetry --values collector.yaml
202+
kubectl apply --namespace open-telemetry -f collector.yaml
204203
```
205204

206205
The collector offers a lot more configuration receivers, processors and exporters, for more details see our [collector page](../collector.md). For production usage often large amounts of spans are generated and you will want to start setting up [sampling](../sampling.md).
@@ -215,7 +214,7 @@ It can be defined in a single place and used by all pods in the cluster, but it
215214

216215
Create an `instrumentation.yaml`:
217216

218-
{% code title="otel-operator.yaml" lineNumbers="true" %}
217+
{% code title="instrumentation.yaml" lineNumbers="true" %}
219218
```yaml
220219
apiVersion: opentelemetry.io/v1alpha1
221220
kind: Instrumentation
@@ -252,7 +251,7 @@ spec:
252251
Now apply the `instrumentation.yaml` also in the `open-telemetry` namespace:
253252

254253
```bash
255-
kubectl apply --namespace open-telemetry --values instrumentation.yaml
254+
kubectl apply --namespace open-telemetry -f instrumentation.yaml
256255
```
257256

258257
### Enable auto-instrumentation for a pod

0 commit comments

Comments
 (0)