etcd
You can run etcd locally using Docker:
You can then interact with the server using .
The easiest way to install etcd on Kubernetes is by using the Helm chart:
For example, if installing using the example above, the etcd host address would be:
The next step is to create a Dapr component for etcd.
Warning
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.
To apply the etcd state store to Kubernetes, use the kubectl
CLI:
Running locally
To run locally, create a dir containing the YAML file and provide the path to the dapr run
command with the flag --components-path
.