mirror of https://github.com/dapr/docs.git
Docs for `--scheduler-override-broadcast-host-port`
Signed-off-by: Albert Callarisa <albert@diagrid.io>
This commit is contained in:
parent
8f633fea4a
commit
14bbb87159
|
|
@ -46,6 +46,7 @@ dapr init [flags]
|
||||||
| `--container-runtime` | | `docker` | Used to pass in a different container runtime other than Docker. Supported container runtimes are: `docker`, `podman` |
|
| `--container-runtime` | | `docker` | Used to pass in a different container runtime other than Docker. Supported container runtimes are: `docker`, `podman` |
|
||||||
| `--dev` | | | Creates Redis and Zipkin deployments when run in Kubernetes. |
|
| `--dev` | | | Creates Redis and Zipkin deployments when run in Kubernetes. |
|
||||||
| `--scheduler-volume` | | | Self-hosted only. Optionally, you can specify a volume for the scheduler service data directory. By default, without this flag, scheduler data is not persisted and not resilient to restarts. |
|
| `--scheduler-volume` | | | Self-hosted only. Optionally, you can specify a volume for the scheduler service data directory. By default, without this flag, scheduler data is not persisted and not resilient to restarts. |
|
||||||
|
| `--scheduler-override-broadcast-host-port` | | | Self-hosted only. Specify the scheduler broadcast host and port, for example: 192.168.42.42:50006. If not specified, it uses localhost:50006 (6060 for Windows). |
|
||||||
|
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
@ -157,6 +158,18 @@ Uninstall Dapr from that Docker network.
|
||||||
dapr uninstall --all --network mynet
|
dapr uninstall --all --network mynet
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Specify scheduler broadcast host and port**
|
||||||
|
|
||||||
|
You can specify the scheduler broadcast host and port, for example: 192.168.42.42:50006.
|
||||||
|
|
||||||
|
This is necessary when you have to connect to the scheduler using a different host and port, as the scheduler only allows connections matching this host and port.
|
||||||
|
|
||||||
|
By default, the scheduler will use localhost:50006 (6060 for Windows), as it's the most common way to connect to the scheduler.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dapr init --scheduler-override-broadcast-host-port 192.168.42.42:50006
|
||||||
|
```
|
||||||
|
|
||||||
{{% /codetab %}}
|
{{% /codetab %}}
|
||||||
|
|
||||||
{{% codetab %}}
|
{{% codetab %}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue