mirror of https://github.com/dapr/docs.git
Simplifying kubernetes YAML config (#2908)
* Simplifying Kubernetes YAML Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Update pluggable-components-registration.md Signed-off-by: Marcos Candeia <marrcooos@gmail.com> Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
This commit is contained in:
parent
b4eb9da822
commit
1fdcfbd7de
|
@ -174,11 +174,8 @@ spec:
|
|||
- name: component
|
||||
volumeMounts: # required, the sockets volume mount
|
||||
- name: dapr-unix-domain-socket
|
||||
mountPath: /dapr-unix-domain-sockets
|
||||
mountPath: /tmp/dapr-components-sockets
|
||||
image: YOUR_IMAGE_GOES_HERE:YOUR_IMAGE_VERSION
|
||||
env:
|
||||
- name: DAPR_COMPONENTS_SOCKETS_FOLDER # Tells the component where the sockets should be created.
|
||||
value: /dapr-unix-domain-sockets
|
||||
```
|
||||
|
||||
Before applying the deployment, let's add one more configuration: the component spec.
|
||||
|
|
Loading…
Reference in New Issue