Git Product home page Git Product logo

az-aks-unreal-pixel-streaming's Introduction

The Unreal Pixel Streaming On Azure Kubernetes Service!

Referenece Repo to deploy Unreal Pixel Streaming on AKS

Build and Push Matchmaker,Signalling,TURN and Game Images

./docker-build.sh

Provision AKS Service on Azure

az group create --name pixel_group --location eastus
az aks create -g pixel_group -n uepixelstrm --enable-managed-identity --node-count 1 --enable-addons monitoring --enable-msi-auth-for-monitoring  --generate-ssh-keys

Add a GPU nodepool

    az aks nodepool add \
    --resource-group pixel_group \
    --cluster-name uepixelstrm \
    --name gpunp \
    --node-count 1 \
    --node-vm-size Standard_NC12_Promo \
    --node-taints sku=gpu:NoSchedule \
    --aks-custom-headers UseGPUDedicatedVHD=true \
    --node-osdisk-size 250 \
    --mode User
    

Add a nodepool for TURN

    az aks nodepool add \
    --resource-group pixel_group \
    --cluster-name uepixelstrm \
    --name turnp \
    --node-count 1 \
    --node-vm-size Standard_F8s_v2 \
    --node-taints sku=turn:NoSchedule \
    --node-osdisk-size 250 \
    --mode User \
    --enable-node-public-ip

Deploy Pixel Streaming Services on AKS

    kubectl apply -f aks-deploy.yaml

Autoscale Deployment of the Unreal Pixel Streaming On Azure Kubernetes Service!

This is reference implementation for autoscaling of signalling servers based on number of connected players.

Deploy Redis server to store realtime count of current connected palyers

kubectl run --image=bitnami/redis:latest --env="ALLOW_EMPTY_PASSWORD=yes" redis
kubectl expose pod redis --port=6379 --target-port=6379

Deploy Autoscaled Pixel Streaming Services on AKS

 kubectl apply -f aks-deploy-autoscale.yaml

Legal

© 2004-2022, Epic Games, Inc. Unreal and its logo are Epic’s trademarks or registered trademarks in the US and elsewhere.

az-aks-unreal-pixel-streaming's People

Contributors

krishnaji avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.