Skip to content

m-nt/open-match

Repository files navigation

Prerequisites

  1. Kubernetes cluster: Install Kubernetes or Minikube for development environments.

  2. Required tools: Install Helm and kubectl.

Installation Steps

1. Install Agones

#!/usr/bin/bash
helm install my-release agones/agones \
--set "agones.controller.generateTLS=true" \
--set "agones.allocator.generateTLS=true" \
--set "agones.allocator.generateClientTLS=true" \
--set "agones.crds.cleanupOnDelete=false" \
--namespace agones-system

3) install open-match from this command:

#!/bin/bash
helm install open-match --create-namespace --namespace open-match open-match/open-match --version=1.8.1 \
  --set open-match-customize.enabled=true \
  --set open-match-customize.evaluator.enabled=true \
  --set open-match-override.enabled=true \
  --set open-match-telemetry.enabled=false \
  --set redis.image.registry=docker.io \
  --set redis.image.repository=bitnamilegacy/redis \
  --set redis.image.tag=7.2.0-debian-11-r0 \
  --set redis.metrics.image.registry=docker.io \
  --set redis.metrics.image.repository=bitnamilegacy/redis-exporter \
  --set redis.metrics.image.tag=1.52.0-debian-11-r17

note: make sure to use tls and proper registry for redis instead of bitnamilegacy. the reson for installing redis from separate registry is the problem issued here.

4) Run Game Server

you need a fleet or game servers like gameserver directory. it can be any executables as game server like unity mirror ds or golang etc..

5) Run open match services

for open-match, like directory frontend you need a frontend and director service that can be one server like i did. and a separate matchfunction service.

6) (Optionaly) Custom evaluator

if there is a need for custom evaluator here you can do one

About

A complete, production-ready example showcasing Agones + Open Match integration on Kubernetes. Includes matchmaking flows, allocator usage, game server scaling, local dev with Minikube, and clear patterns for building scalable multiplayer backends end to end.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors