Docker and Kubernetes

Discussion in 'Systems Administration' started by Nerd2201, Oct 10, 2019.

?

Are you interested in an awesome list for spigotmc and containerization

  1. Sounds interesting, let's get it done!

    12 vote(s)
    100.0%
  2. Nah, only a lazy sysadmin is a good sysadmin

    0 vote(s)
    0.0%
  1. Hey all,
    it seems like docker and kubernetes getting more and more attention / gaining importance
    So I would be interested in creating a collection of usefull tools and software to deal with containerization and management. Similar to the awesome lists on github but specialized for spigotmc If this allready exists please send me a link otherwise I would be really interested in what you think about this topic.
     
  2. I've been getting into Docker and Kubernetes more and more lately. I have yet to see any public images for running spigot servers and whatnot. Almost makes me want to write up a dockerfile to write an image to spin up a Spigot server.
     
  3. I'm currently working on moving my entire infrastructure to Kubernetes. Should've done that way sooner, it's so fantastic. The only thing not on Kubernetes now (which will be done in a few months) is Minecraft due to the limited hardware available for OVH managed Kubernetes service. Other than that, I run absolutely everything on it. I'm doing some security improvements now so I can actually move over things like my forums and MC control panel, but things like Grafana, Kibana, Elastic Search, InfluxDB, MongoDB, MySQL, etc etc etc all runs on it already (just not anything that has production or personal data).

    You should make your Docker images use memory allocations (in your java command) based on an environment variable. Right now they're hard coded to 6GB. Should be over writable with an environment variable.
     
    • Agree Agree x 1
  4. thanks for your feedback, I will take a look into env vars in docker, Im normally using docker just for small projects and not quite often but I think for gameserver management and also minigames in minecraft it would be nice, so lobby servers for example getting just started as needed and going down if nobody is online so bigger networks can save money
     
  5. I just had to think about this project that I found recently;

    https://agones.dev/site/

    Looks very interesting. I will probably investigate that project further to see how well it can be used in something like Minecraft. Perhaps it's something you can add to your list to keep an eye on.
     
    • Informative Informative x 1
  6. Looks interesting of course, since its used by ubisoft it should work quite well
     
  7. I use this minecraft setup - https://hub.docker.com/r/itzg/minecraft-server/ , this for bungee https://hub.docker.com/r/itzg/bungeecord , and I use https://hub.docker.com/r/portainer/portainer/ to access/restart my containers. I mean, for really large servers Kubernetes would probably be the way to go, but since I only have a small group portainer is more than sufficient.

    Honestly, the itzg images are pretty great. You can customize them all you want and as far as I've seen everything can be configured. I'm yet to run into something I don't have access to with those containers. All the configuration files and plugins live on my data drive so I can easily modify and back them up.
     
  8. Running directly or in Pterodactyl? Me and @MiniDigger had massive issues trying to get that to work in Pterodactyl, though I forgot why we needed it.
     
  9. MiniDigger

    Supporter

    I am not sure if the paper patches for paperd are merged into master or the 1.14 branch yet, you might need to merge them yourself.

    yeah, see https://github.com/PaperMC/Paper/pull/2319
    you can just copy paste that patch into your patches folder and it should apply cleanly to 1.14, 1.13 needs a bit of manual rebasing.
     
  10. I'l try to use it with the aws corretto 8 docker image after building paperd with rust:1.38.0 container
     
  11. MiniDigger

    Supporter

    Your rust version or docker image don't change stuff here, you need a modified version of paper.