mirror of https://github.com/dapr/docs.git
mark review pt1
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
979bae2e3d
commit
71a303d5a0
|
|
@ -6,10 +6,6 @@ weight: 1000
|
|||
description: Run multiple applications with one CLI command
|
||||
---
|
||||
|
||||
{{% alert title="Note" color="primary" %}}
|
||||
Multi-App Run is currently a preview feature only supported in Linux/MacOS.
|
||||
{{% /alert %}}
|
||||
|
||||
Let's say you want to run several applications locally to test them together, similar to a production scenario. Until Multi-App Run, you'd have to:
|
||||
|
||||
- Run multiple `dapr run` commands
|
||||
|
|
@ -98,6 +94,8 @@ Watch [this video for an overview on Multi-App Run](https://youtu.be/s1p9MNl4VGo
|
|||
|
||||
## Multi-App Run template file
|
||||
|
||||
> **Note:** Multi-App Run in Kubernetes is currently a preview feature only supported in Linux/MacOS.
|
||||
|
||||
When you execute `dapr run -k -f .` or `dapr run -k -f dapr.yaml`, the applications defined in the `dapr.yaml` multi-app run template file will start in Kubernetes default namespace.
|
||||
|
||||
The necessary default service and deployment definitions for Kubernetes are generated within the `.dapr/deploy` folder for each app in the `dapr.yaml` template.
|
||||
|
|
@ -168,4 +166,5 @@ Watch [this video for an overview on Multi-App Run in Kubernetes](https://youtu.
|
|||
## Next steps
|
||||
|
||||
- [Learn the Multi-App Run template file structure and its properties]({{< ref multi-app-template.md >}})
|
||||
- [Try out the Multi-App Run template with the Service Invocation quickstart]({{< ref serviceinvocation-quickstart.md >}})
|
||||
- [Try out the self-hosted Multi-App Run template with the Service Invocation quickstart]({{< ref serviceinvocation-quickstart.md >}})
|
||||
- [Try out the Kubernetes Multi-App Run template with the `hello-kubernetes` tutorial](https://github.com/dapr/quickstarts/tree/master/tutorials/hello-kubernetes)
|
||||
|
|
@ -7,7 +7,7 @@ description: Unpack the Multi-App Run template file and its properties
|
|||
---
|
||||
|
||||
{{% alert title="Note" color="primary" %}}
|
||||
Multi-App Run is currently a preview feature only supported in Linux/MacOS.
|
||||
Multi-App Run for Kubernetes is currently a preview feature only supported in Linux/MacOS.
|
||||
{{% /alert %}}
|
||||
|
||||
The Multi-App Run template file is a YAML file that you can use to run multiple applications at once. In this guide, you'll learn how to:
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ dapr run [flags] [command]
|
|||
|
||||
| Name | Environment Variable | Default | Description |
|
||||
| ------------------------------ | -------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
||||
| `--kubernetes`, `-k` | | | Running Dapr on Kubernetes, and used for [Multi-App Run template files on Kubernetes]({{< ref multi-app-dapr-run >}}). |
|
||||
| `--app-id`, `-a` | `APP_ID` | | The id for your application, used for service discovery. Cannot contain dots. |
|
||||
| `--app-max-concurrency` | | `unlimited` | The concurrency level of the application; default is unlimited |
|
||||
| `--app-port`, `-p` | `APP_PORT` | | The port your application is listening on |
|
||||
|
|
|
|||
Loading…
Reference in New Issue