Fixes for: Wrong instructions in How to: Use the Multi-App Run template file #4153 (#4154)

* Fixes for: Wrong instructions in How to: Use the Multi-App Run template file #4153

* Fixed acceidental title change
This commit is contained in:
Bilgin Ibryam 2024-05-21 12:03:05 +01:00 committed by GitHub
parent b23f97655f
commit c62e2c5310
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 4 deletions

View File

@ -42,7 +42,7 @@ dapr run -f <dir_path>
<!--kubernetes-->
```cmd
dapr run -f -k <dir_path>
dapr run -f <dir_path> -k
```
{{% /codetab %}}
@ -67,7 +67,7 @@ dapr run -f ./path/to/<your-preferred-file-name>.yaml
<!--kubernetes-->
```cmd
dapr run -f -k ./path/to/<your-preferred-file-name>.yaml
dapr run -f ./path/to/<your-preferred-file-name>.yaml -k
```
{{% /codetab %}}
@ -77,10 +77,27 @@ dapr run -f -k ./path/to/<your-preferred-file-name>.yaml
Once the multi-app template is running, you can view the started applications with the following command:
{{< tabs Self-hosted Kubernetes>}}
{{% codetab %}}
<!--selfhosted-->
```cmd
dapr list
```
{{% /codetab %}}
{{% codetab %}}
<!--kubernetes-->
```cmd
dapr list -k
```
{{% /codetab %}}
{{< /tabs >}}
## Stop the multi-app template
Stop the multi-app run template anytime with either of the following commands:
@ -109,12 +126,12 @@ dapr stop -f ./path/to/<your-preferred-file-name>.yaml
```cmd
# the template file needs to be called `dapr.yaml` by default if a directory path is given
dapr stop -f -k
dapr stop -f <dir_path> -k
```
or:
```cmd
dapr stop -f -k ./path/to/<your-preferred-file-name>.yaml
dapr stop -f ./path/to/<your-preferred-file-name>.yaml -k
```
{{% /codetab %}}