Skip to content

Commit e19e322

Browse files
committed
fix mistake
1 parent b33ecd0 commit e19e322

File tree

1 file changed

+5
-16
lines changed
  • content/en/observability_pipelines/configuration/install_the_worker

1 file changed

+5
-16
lines changed

content/en/observability_pipelines/configuration/install_the_worker/_index.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -312,21 +312,6 @@ The Observability Pipelines Worker supports all major Kubernetes distributions,
312312
```shell
313313
helm repo update
314314
```
315-
1. Run the command provided in the UI to install the Worker. The command is automatically populated with the environment variables you entered earlier.
316-
```shell
317-
helm upgrade --install opw \
318-
-f values.yaml \
319-
--set datadog.apiKey=<DATADOG_API_KEY> \
320-
--set datadog.pipelineId=<PIPELINE_ID> \
321-
--set <SOURCE_ENV_VARIABLES> \
322-
--set <DESTINATION_ENV_VARIABLES> \
323-
--set service.ports[0].protocol=TCP,service.ports[0].port=<SERVICE_PORT>,service.ports[0].targetPort=<TARGET_PORT> \
324-
datadog/observability-pipelines-worker
325-
```
326-
**Note**: By default, the Kubernetes Service maps incoming port `<SERVICE_PORT>` to the port the Worker is listening on (`<TARGET_PORT>`). If you want to map the Worker's pod port to a different incoming port of the Kubernetes Service, use the following `service.ports[0].port` and `service.ports[0].targetPort` values in the command:
327-
```
328-
--set service.ports[0].protocol=TCP,service.ports[0].port=8088,service.ports[0].targetPort=8282
329-
```
330315
1. If you are using:
331316
- **Secrets Management**:
332317
1. See [Secrets Management][7] on how to configure your `values.yaml` file for your secrets manager.
@@ -338,7 +323,7 @@ The Observability Pipelines Worker supports all major Kubernetes distributions,
338323
--set datadog.pipelineId=<PIPELINE_ID> \
339324
datadog/observability-pipelines-worker
340325
```
341-
- **Environment variables**: Run this command to install the Worker:
326+
- **Environment variables**: Run the command provided in the UI to install the Worker. The command is automatically populated with the environment variables you entered earlier.
342327
```shell
343328
helm upgrade --install opw \
344329
-f values.yaml \
@@ -349,6 +334,10 @@ The Observability Pipelines Worker supports all major Kubernetes distributions,
349334
--set service.ports[0].protocol=TCP,service.ports[0].port=<SERVICE_PORT>,service.ports[0].targetPort=<TARGET_PORT> \
350335
datadog/observability-pipelines-worker
351336
```
337+
**Note**: By default, the Kubernetes Service maps incoming port `<SERVICE_PORT>` to the port the Worker is listening on (`<TARGET_PORT>`). If you want to map the Worker's pod port to a different incoming port of the Kubernetes Service, use the following `service.ports[0].port` and `service.ports[0].targetPort` values in the command:
338+
```
339+
--set service.ports[0].protocol=TCP,service.ports[0].port=8088,service.ports[0].targetPort=8282
340+
```
352341
1. Navigate back to the Observability Pipelines installation page and click **Deploy**.
353342
354343
See [Update Existing Pipelines][2] if you want to make changes to your pipeline's configuration.

0 commit comments

Comments
 (0)