Giter Club home page Giter Club logo

gameserver-orchestration-with-k8s's Introduction

Gameserver-Orchestration-with-K8S

General Idea

A K8S control plane constantly running from some low TPU device together with one or more old gaming computers working as worker nodes. Since running a gaming computer on idle is relatively expensive in terms of power (and are annoying to listen to), the system should be robust to adding and removing nodes on the fly. The control plane itself (in case it's tainted) or another low TPU device should host a webpage from which users can see available worker nodes and delegate containerized game servers to them. Some persistent storage should be set up in the system to save game progress. Setting up the system should be handled by running ansible-playbooks.

End Goal

  • A worker node is started up in some location, it runs a startup script that connects it to the cluster.
    • Ansible playbook to setup the node initially
    • A startup script that connects to node to the cluster
  • The webpage shows that a new node is available to service game servers.
    • A webpage that hooks into the control plane API server
  • Clicking on the newly added node reveals a list of possible game servers that can be picked from.
    • The visual elements needed for the webpage to function
  • Choosing a game changes the node to visually indicate that a game is running on it.
  • Upon successfully starting the game server the node should show an IP which can be used to connect.
  • (optional) The CPU & RAM usage is logged, and are used to denote how many unique game servers can run on a single node.
    • Setting up system logging

gameserver-orchestration-with-k8s's People

Contributors

sifyuu avatar

Stargazers

Casper Sambleben avatar

Watchers

 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.