Giter Site home page Giter Site logo

minek8s's Introduction

minek8s

a minecraft server kubernetes operator.

what

this is a kubernetes operator that allows for easy provisioning of minecraft servers, written in haskell. it lives in a kubernetes cluster and watches for MinecraftInstance crd instances.

upon creation / update of a MinecraftInstance crd instance in a namespace, it will create / update the following in that namespace:

upon deletion of a MinecraftInstance, the operator will clean up the above.

the definition of the crd can be found at ./manifests/crd.yaml. here's an example of one you'd create yourself:

apiVersion: jali-clarke.ca/v1
kind: MinecraftInstance
metadata:
  name: my-minecraft-server
  namespace: some-namespace
spec:
  minecraftVersion: 1.2.5
  nodePortService:
    name: my-minecraft-service
    nodePort: 25565

todo

  • implement everything described in the previous section
  • deployment method for everything described in the previous section, including documentation for deployment
  • minecraft server proxy to allow for spin up / shutdown of minecraft server pods via StatefulSet based on number of players connected
  • be more flexible in Service type. what if we want a LoadBalancer type service?

nice-to-haves

  • allow multiple operators in the same cluster. this can take the any / all / none of the following forms:
    • namespaced operator installation
    • operators manage resources based on label or annotation
    • some third option?

minek8s's People

Contributors

jali-clarke avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.