Skip to content

Commit

Permalink
[kubernetes] Update helm install commands (#4363)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth authored Apr 26, 2024
1 parent b7b8772 commit 3a76552
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions content/en/docs/kubernetes/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ The following `values.yaml` is what we'll use
```yaml
mode: daemonset

image:
repository: otel/opentelemetry-collector-k8s

presets:
# enables the k8sattributesprocessor and adds it to the traces, metrics, and logs pipelines
kubernetesAttributes:
Expand Down Expand Up @@ -240,6 +243,9 @@ The following `values.yaml` is what we'll use:
```yaml
mode: deployment

image:
repository: otel/opentelemetry-collector-k8s

# We only want one of these collectors - any more and we'd produce duplicate data
replicaCount: 1

Expand Down
3 changes: 2 additions & 1 deletion content/en/docs/kubernetes/helm/collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ following commands:
```sh
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm install my-opentelemetry-collector open-telemetry/opentelemetry-collector \
--set mode=<daemonset|deployment|statefulset>
--set image.repository="otel/opentelemetry-collector-k8s" \
--set mode=<daemonset|deployment|statefulset> \
```

### Configuration
Expand Down
1 change: 1 addition & 0 deletions content/en/docs/kubernetes/helm/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ following commands:
```console
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm install my-opentelemetry-operator open-telemetry/opentelemetry-operator \
--set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" \
--set admissionWebhooks.certManager.enabled=false \
--set admissionWebhooks.certManager.autoGenerateCert.enabled=true
```
Expand Down

0 comments on commit 3a76552

Please sign in to comment.