Skip to content

Commit bf5a672

Browse files
Fix cluster examples
Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
1 parent 7cf377a commit bf5a672

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

app/_includes/plugins/redis-cloud-auth.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ config:
5353
storage: redis
5454
storage_config:
5555
redis:
56-
cluster_nodes: $CLUSTER_ADDRESS
56+
cluster_nodes:
57+
- ip: $CLUSTER_ADDRESS
58+
port: 6379
5759
username: $CLUSTER_USERNAME
5860
port: 6379
5961
cloud_authentication:
@@ -108,7 +110,9 @@ config:
108110
storage: redis
109111
storage_config:
110112
redis:
111-
cluster_nodes: $CLUSTER_ADDRESS
113+
cluster_nodes:
114+
- ip: $CLUSTER_ADDRESS
115+
port: 6379
112116
username: $CLUSTER_USERNAME
113117
port: 6379
114118
cloud_authentication:
@@ -153,7 +157,9 @@ config:
153157
storage: redis
154158
storage_config:
155159
redis:
156-
cluster_nodes: $CLUSTER_ADDRESS
160+
cluster_nodes:
161+
- ip: $CLUSTER_ADDRESS
162+
port: 6379
157163
port: 6379
158164
cloud_authentication:
159165
auth_provider: gcp

app/_kong_plugins/ai-rate-limiting-advanced/examples/request-prompt-count-aws-cluster.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ weight: 900
1818
config:
1919
strategy: redis
2020
redis:
21-
cluster_nodes: ${cluster_address}
21+
cluster_nodes:
22+
- ip: ${cluster_address}
23+
port: 6379
2224
username: ${cluster_username}
2325
port: 6379
2426
cloud_authentication:

app/_kong_plugins/ai-rate-limiting-advanced/examples/request-prompt-count-azure-cluster.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ weight: 900
1818
config:
1919
strategy: redis
2020
redis:
21-
cluster_nodes: ${cluster_address}
21+
cluster_nodes:
22+
- ip: ${cluster_address}
23+
port: 6379
2224
username: ${cluster_username}
2325
port: 6379
2426
cloud_authentication:

app/_kong_plugins/ai-rate-limiting-advanced/examples/request-prompt-count-gcp-cluster.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ weight: 900
1818
config:
1919
strategy: redis
2020
redis:
21-
cluster_nodes: ${cluster_address}
21+
cluster_nodes:
22+
- ip: ${cluster_address}
23+
port: 6379
2224
port: 6379
2325
cloud_authentication:
2426
auth_provider: gcp

0 commit comments

Comments
 (0)