Skip to content

Commit 664f8ca

Browse files
authored
Best practice byo redis (#227)
* update versioning across files on master * add BYO Redis to best practices Co-authored-by: jonfoust <[email protected]>
1 parent f88a60a commit 664f8ca

File tree

1 file changed

+17
-1
lines changed
  • site/content/en/docs/Guides/Production

1 file changed

+17
-1
lines changed

site/content/en/docs/Guides/Production/_index.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,20 @@ helm install my-release -n open-match open-match/open-match -f values-production
9191
```
9292

9393
## Use Envoy or other load balancing solution if you plan to connect to Open Match via an out-of-cluster client
94-
The above load balancing solution is sufficient if you have both the client and the server deployment within the same cluster. However, some game architectures may require connecting to Open Match services from an out-of-cluster client. We recommend [Envoy](https://www.envoyproxy.io/) as a solution. Alternatives like Kubernetes Ingress or platform specific L7 Load Balancer can also work.
94+
The above load balancing solution is sufficient if you have both the client and the server deployment within the same cluster. However, some game architectures may require connecting to Open Match services from an out-of-cluster client. We recommend [Envoy](https://www.envoyproxy.io/) as a solution. Alternatives like Kubernetes Ingress or platform specific L7 Load Balancer can also work.
95+
96+
## Use alternative to included Redis (Bitnami) image
97+
Open Match comes included with a Redis image with a high-availability option. If your needs require a Redis offering with features unavailable with the included image, Open Match provides configs to bring your own Redis. First, you must disable the use of the included image by setting the `open-match-core.redis.enabled` param to `false`. To connect to your alternative Redis setup, provide the instance's hostname/IP address to the `open-match-core.redis.hostname`.
98+
99+
{{% alert title="Note: If Using Memorystore" color="info" %}}
100+
To connect to [Memorystore](https://cloud.google.com/memorystore) from a GKE cluster it requires a VPC-native cluster. If you've created a cluster, you will have to re-create it as [VPC-native cluster using Alias-IPs](https://cloud.google.com/kubernetes-engine/docs/how-to/alias-ips).
101+
{{% /alert %}}
102+
103+
```bash
104+
helm install open-match --create-namespace --namespace open-match open-match/open-match \
105+
--set open-match-customize.enabled=true \
106+
--set open-match-customize.evaluator.enabled=true \
107+
--set open-match-override.enabled=true \
108+
--set open-match-core.redis.enabled=false \
109+
--set open-match-core.redis.hostname= # Your redis server address
110+
```

0 commit comments

Comments
 (0)