Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Space Agon to OM2 (Running OM2 on GKE) #52

Merged
merged 9 commits into from
Dec 6, 2024

Conversation

peterzhongyi
Copy link
Contributor

This is a follow-up PR that migrate Space Agon from using OM1 to OM2. This PR deploys OM2 on GKE instead of on Cloud Run. Due to limited time, I didn't use helm chart, and simply wrote the om_install.yaml and redis-config.yaml files to deploy OM2.

To run the demo, follow the README until you finished installing Agones. Then to install OM2 to the cluster, in the root directory, first deploy the redis service with

kubectl apply -f redis-config.yaml

and then change the OM_CORE_IMAGE field inside of om_install.yaml to be the OM2 image url - it can either be asia-northeast1-docker.pkg.dev/open-match-dev/open-match/om-core if you have access to the open-match-dev project, or the URL of the OM2 image you build and upload to your own Artifact Registry by following the DEVELOPMENT.md. After changing the OM_CORE_IMAGE field, deploy the OM2 service with

kubectl apply -f om_install.yaml

Then proceed to install the Space Agon game with make build && make install.

@kemurayama
Copy link
Collaborator

@peterzhongyi

Thank you for the PR on Space Agon. My apologies for the delay in reviewing. I've just tested it locally and it works perfectly. I'll merge it now.

@kemurayama kemurayama self-requested a review December 6, 2024 08:54
Copy link
Collaborator

@kemurayama kemurayama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Confirmed it worked on GKE Cluster

@kemurayama kemurayama merged commit 03fa826 into googleforgames:main Dec 6, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants