Merge branch 'v1.12' into issue_3775

Signed-off-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
Mark Fussell 2023-10-30 09:34:58 -07:00 committed by GitHub
commit f492af580f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,6 @@ aliases:
To setup Redis binding create a component of type `bindings.redis`. See [this guide]({{< ref "howto-bindings.md#1-create-a-binding" >}}) on how to create and apply a binding configuration.
```yaml
apiVersion: dapr.io/v1alpha1
kind: Component

View File

@ -10,6 +10,7 @@ aliases:
## Component format
To setup Redis configuration store create a component of type `configuration.redis`. See [this guide]({{< ref "howto-manage-configuration.md#configure-a-dapr-configuration-store" >}}) on how to create and apply a configuration store configuration.
```yaml
apiVersion: dapr.io/v1alpha1
kind: Component

View File

@ -25,7 +25,7 @@ spec:
- name: maxIdleConnections
value: <REPLACE-WITH-MAX-IDLE-CONNECTIONS> # Optional. default: "2"
- name: timeout
value: <REPLACE-WITH-TIMEOUT> # Optional. default: "1000ms"
value: <REPLACE-WITH-TIMEOUT> # Optional. default: "1000"
```
{{% alert title="Warning" color="warning" %}}
@ -38,7 +38,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
|--------------------|:--------:|---------|---------|
| hosts | Y | Comma delimited endpoints | `"memcached.default.svc.cluster.local:11211"`
| maxIdleConnections | N | The max number of idle connections. Defaults to `"2"` | `"3"`
| timeout | N | The timeout for the calls. Defaults to `"1000ms"` | `"1000ms"`
| timeout | N | The timeout for the calls in milliseconds. Defaults to `"1000"` | `"1000"`
## Setup Memcached

View File

@ -11,6 +11,10 @@ aliases:
To setup Redis state store create a component of type `state.redis`. See [this guide]({{< ref "howto-get-save-state.md#step-1-setup-a-state-store" >}}) on how to create and apply a state store configuration.
{{% alert title="Limitations" color="warning" %}}
Before using Redis and the Transactions API, make sure you're familiar with [Redis limitations regarding transactions](https://redis.io/docs/interact/transactions/#what-about-rollbacks).
{{% /alert %}}
```yaml
apiVersion: dapr.io/v1alpha1
kind: Component