yfei1 82a011ea52 Rename Mmlogic to Queryservice (#1055)
Resolved #996.

Manually rename the file name under internal/app/mmlogic and cmd/mmlogic from mmlogic.go to query.go to keep the image name consistent with our backend and frontend naming.

TODO: Rename backend and frontend API to BackendService and FrontendService instead.
2020-01-27 15:27:17 -08:00
..
2020-01-27 15:27:17 -08:00

This folder provides a sample Match Function for Open Match Matchmaker 101 Tutorial.

Run the below steps in this folder to set up the Match Function.

Step1: Specify your Registry URL.

REGISTRY=[YOUR_REGISTRY_URL]

Step2: Build the Match Function image.

docker build -t $REGISTRY/default-eval-tutorial-matchfunction .

Step3: Push the Match Function image to the configured Registry.

docker push $REGISTRY/default-eval-tutorial-matchfunction

Step4: Update the install yaml for your setup.

  • For GKE users, run:
    sed "s|REGISTRY_PLACEHOLDER|$REGISTRY|g" matchfunction.yaml | kubectl apply -f -
    
  • For Minikube users, use local image by running the following command:
    eval $(minikube docker-env)
    sed "s|REGISTRY_PLACEHOLDER|$REGISTRY|g" matchfunction.yaml | sed "s|Always|Never|g" | kubectl apply -f -