You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ Output should look like so:
86
86
87
87
```
88
88
⌛ Making the jump to hyperspace...
89
-
✅ Downloaded binaries and completed components set up.
89
+
✅ Downloaded binaries and completed resources set up.
90
90
ℹ️ daprd binary has been installed to $HOME/.dapr/bin.
91
91
ℹ️ dapr_placement container is running.
92
92
ℹ️ dapr_redis container is running.
@@ -99,10 +99,12 @@ Output should look like so:
99
99
100
100
This step creates the following defaults:
101
101
102
-
1.components folder which is later used during `dapr run` unless the `--resources-path` (`--components-path` is deprecated and will be removed in future releases) option is provided. For Linux/MacOS, the default components folder path is `$HOME/.dapr/components` and for Windows it is `%USERPROFILE%\.dapr\components`.
103
-
2.component files in the components folder called `pubsub.yaml` and `statestore.yaml`.
102
+
1.resources folder which is later used during `dapr run` unless the `--resources-path` (`--components-path` is deprecated and will be removed in future releases) option is provided. For Linux/MacOS, the default resources folder path is `$HOME/.dapr/resources` and for Windows it is `%USERPROFILE%\.dapr\resources`.
103
+
2.resoources files in the resources folder called `pubsub.yaml` and `statestore.yaml`.
104
104
3. default config file `$HOME/.dapr/config.yaml` for Linux/MacOS or for Windows at `%USERPROFILE%\.dapr\config.yaml` to enable tracing on `dapr init` call. Can be overridden with the `--config` flag on `dapr run`.
105
105
106
+
> Note: If there is a `components` directory present in the default dapr installation path `$HOME/.dapr/resources` (for Linux/MacOS) or `%USERPROFILE%\.dapr\resources` (for windows) then `dapr init` will copy the `resources` from the `components` to `resources` directory. This is to ensure safe migration from using `components` to `resources` directory.
107
+
106
108
#### Slim Init
107
109
108
110
Alternatively to the above, to have the CLI not install any default configuration files or run Docker containers, use the `--slim` flag with the init command. Only Dapr binaries will be installed.
@@ -115,13 +117,15 @@ Output should look like so:
115
117
116
118
```bash
117
119
⌛ Making the jump to hyperspace...
118
-
✅ Downloaded binaries and completed componentsset up.
120
+
✅ Downloaded binaries and completed resourcesset up.
119
121
ℹ️ daprd binary has been installed to $HOME/.dapr/bin.
120
122
ℹ️ placement binary has been installed.
121
123
✅ Success! Dapr is up and running. To get started, go here: https://aka.ms/dapr-getting-started
122
124
```
123
125
124
-
>Note: When initializing Dapr with the `--slim` flag only the Dapr runtime binary and the placement service binary are installed. An empty default components folder is created with no default configuration files. During `dapr run` user should use `--resources-path` (`--components-path` is deprecated and will be removed in future releases) to point to a components directory with custom configurations files or alternatively place these files in the default directory. For Linux/MacOS, the default components directory path is `$HOME/.dapr/components` and for Windows it is `%USERPROFILE%\.dapr\components`.
126
+
>Note: When initializing Dapr with the `--slim` flag only the Dapr runtime binary and the placement service binary are installed. An empty default `resources` folder is created with no default configuration files. During `dapr run` user should use `--resources-path` (`--components-path` is deprecated and will be removed in future releases) to point to a `resources` directory with custom configurations files or alternatively place these files in the default directory. For Linux/MacOS, the default `resources` directory path is `$HOME/.dapr/resources` and for Windows it is `%USERPROFILE%\.dapr\resources`.
127
+
128
+
> Note: If there is a `components` directory present in the default dapr installation path `$HOME/.dapr/resources` (for Linux/MacOS) or `%USERPROFILE%\.dapr\resources` (for windows) then `dapr init` will copy the `resources` from the `components` to `resources` directory. This is to ensure safe migration from using `components` to `resources` directory.
125
129
126
130
#### Install a specific runtime version
127
131
@@ -325,7 +329,7 @@ To remove all Dapr Custom Resource Definitions:
325
329
dapr uninstall -k --all
326
330
```
327
331
328
-
*Warning: this will remove any components, subscriptions or configurations that are applied in the cluster at the time of deletion.*
332
+
*Warning: this will remove any resources(and components also), subscriptions or configurations that are applied in the cluster at the time of deletion.*
329
333
330
334
### Upgrade Dapr on Kubernetes
331
335
@@ -444,7 +448,7 @@ Launch Dapr and your app:
444
448
dapr run --app-id nodeapp --app-port 3000 node app.js
445
449
```
446
450
447
-
Note: To choose a non-default components folder, use the --resources-path(--components-path is deprecated) option.
451
+
Note: To choose a non-default resources folder, use the --resources-path(--components-path is deprecated) option.
0 commit comments