Skip to content

Commit cdaa2c4

Browse files
docs: add StatefulSet to Deployment modes (#1913)
* docs: add StatefulSet to Deployment modes * docs: add a --------- Co-authored-by: Jacob Aronoff <jaronoff97@users.noreply.github.com>
1 parent fe27564 commit cdaa2c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The default and only other acceptable value for `.Spec.UpgradeStrategy` is `auto
8383

8484
### Deployment modes
8585

86-
The `CustomResource` for the `OpenTelemetryCollector` exposes a property named `.Spec.Mode`, which can be used to specify whether the collector should run as a `DaemonSet`, `Sidecar`, or `Deployment` (default). Look at [this sample](https://github.com/open-telemetry/opentelemetry-operator/blob/main/tests/e2e/daemonset-features/01-install.yaml) for reference.
86+
The `CustomResource` for the `OpenTelemetryCollector` exposes a property named `.Spec.Mode`, which can be used to specify whether the collector should run as a `DaemonSet`, `Sidecar`, `StatefulSet` or `Deployment` (default). Look at [this sample](https://github.com/open-telemetry/opentelemetry-operator/blob/main/tests/e2e/daemonset-features/01-install.yaml) for a reference of `DaemonSet`.
8787

8888
#### Sidecar injection
8989

@@ -146,7 +146,7 @@ The possible values for the annotation can be:
146146
* "my-other-namespace/my-instrumentation" - name and namespace of `OpenTelemetryCollector` CR instance in another namespace.
147147
* "false" - do not inject
148148

149-
When using a pod-based workload, such as `Deployment` or `Statefulset`, make sure to add the annotation to the `PodTemplate` part. Like:
149+
When using a pod-based workload, such as `Deployment` or `StatefulSet`, make sure to add the annotation to the `PodTemplate` part. Like:
150150

151151
```yaml
152152
kubectl apply -f - <<EOF

0 commit comments

Comments
 (0)