From 94ca8076a46672df8f345ca6f5d9c6d01181fe4d Mon Sep 17 00:00:00 2001 From: Artur Souza Date: Wed, 15 Sep 2021 01:00:22 -0700 Subject: [PATCH] Document dapr.io/sidecar-listen-addresses --- daprdocs/content/en/concepts/dapr-services/sidecar.md | 6 ++++++ .../content/en/reference/arguments-annotations-overview.md | 1 + 2 files changed, 7 insertions(+) diff --git a/daprdocs/content/en/concepts/dapr-services/sidecar.md b/daprdocs/content/en/concepts/dapr-services/sidecar.md index a00cb062d..9f2cdfe3f 100644 --- a/daprdocs/content/en/concepts/dapr-services/sidecar.md +++ b/daprdocs/content/en/concepts/dapr-services/sidecar.md @@ -49,3 +49,9 @@ For a detailed list of all available arguments run `daprd --help` or see this [t ```bash daprd --app-id myapp --enable-metrics ``` + +5. Listen to IPv4 and IPv6 loopback only + + ```bash + daprd --app-id myapp --dapr-listen-addresses '127.0.0.1,[::1]' + ``` diff --git a/daprdocs/content/en/reference/arguments-annotations-overview.md b/daprdocs/content/en/reference/arguments-annotations-overview.md index 229b16a01..257a5b9ac 100644 --- a/daprdocs/content/en/reference/arguments-annotations-overview.md +++ b/daprdocs/content/en/reference/arguments-annotations-overview.md @@ -39,6 +39,7 @@ This table is meant to help users understand the equivalent options for running | `--version` | `--version` | `-v` | not supported | Prints the runtime version | | not supported | not supported | | `dapr.io/enabled` | Setting this paramater to true injects the Dapr sidecar into the pod | | not supported | not supported | | `dapr.io/api-token-secret` | Tells Dapr which Kubernetes secret to use for token based API authentication. By default this is not set | +| `--dapr-listen-addresses` | not supported | | `dapr.io/sidecar-listen-addresses` | Comma separated list of IP addresses that sidecar will listen to. Defaults to all in standalone mode. Defaults to `[::1],127.0.0.1` in Kubernetes. To listen to all IPv4 addresses, use `0.0.0.0`. To listen to all IPv6 addresses, use `[::]`. | not supported | not supported | | `dapr.io/sidecar-cpu-limit` | Maximum amount of CPU that the Dapr sidecar can use. See valid values [here](https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/). By default this is not set | not supported | not supported | | `dapr.io/sidecar-memory-limit` | Maximum amount of Memory that the Dapr sidecar can use. See valid values [here](https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/). By default this is not set | not supported | not supported | | `dapr.io/sidecar-cpu-request` | Amount of CPU that the Dapr sidecar requests. See valid values [here](https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/). By default this is not set