{"id":23134002,"url":"https://github.com/idebeijer/gameserver-operator","last_synced_at":"2026-02-17T11:01:16.719Z","repository":{"id":228455932,"uuid":"773999931","full_name":"idebeijer/gameserver-operator","owner":"idebeijer","description":"An operator to deploy game servers on Kubernetes using LinuxGSM","archived":false,"fork":false,"pushed_at":"2026-02-12T13:49:40.000Z","size":337,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T22:31:28.886Z","etag":null,"topics":["gameserver","k8s","kubernetes","kubernetes-operator","linuxgsm","operator"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idebeijer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-03-18T19:10:39.000Z","updated_at":"2026-02-11T22:05:11.000Z","dependencies_parsed_at":"2024-03-31T17:23:53.705Z","dependency_job_id":"e0e4385f-f7fe-4089-be40-fc35139ea79a","html_url":"https://github.com/idebeijer/gameserver-operator","commit_stats":null,"previous_names":["idebeijer/gameserver-operator"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/idebeijer/gameserver-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idebeijer%2Fgameserver-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idebeijer%2Fgameserver-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idebeijer%2Fgameserver-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idebeijer%2Fgameserver-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idebeijer","download_url":"https://codeload.github.com/idebeijer/gameserver-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idebeijer%2Fgameserver-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29541119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gameserver","k8s","kubernetes","kubernetes-operator","linuxgsm","operator"],"created_at":"2024-12-17T12:09:28.242Z","updated_at":"2026-02-17T11:01:16.714Z","avatar_url":"https://github.com/idebeijer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ch1\u003eGameServer Operator\u003c/h1\u003e\n\n**A Kubernetes operator for managing game servers via LinuxGSM with security in mind**\n\n[![License](https://img.shields.io/github/license/idebeijer/gameserver-operator?style=for-the-badge)](https://github.com/idebeijer/gameserver-operator/blob/main/LICENSE)\n[![Release](https://img.shields.io/github/v/release/idebeijer/gameserver-operator?style=for-the-badge)](https://github.com/idebeijer/gameserver-operator/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/idebeijer/gameserver-operator?style=for-the-badge)](https://goreportcard.com/report/github.com/idebeijer/gameserver-operator)\n[![CI](https://img.shields.io/github/actions/workflow/status/idebeijer/gameserver-operator/test.yml?branch=main\u0026style=for-the-badge)](https://github.com/idebeijer/gameserver-operator/actions)\n[![Go Version](https://img.shields.io/github/go-mod/go-version/idebeijer/gameserver-operator?style=for-the-badge)](https://go.dev/)\n[![Kubernetes](https://img.shields.io/badge/Kubernetes-1.22+-326CE5?style=for-the-badge\u0026logo=kubernetes\u0026logoColor=white)](https://kubernetes.io/)\n[![Artifact Hub](https://img.shields.io/endpoint?style=for-the-badge\u0026url=https://artifacthub.io/badge/repository/gameserver-operator)](https://artifacthub.io/packages/helm/gameserver-operator/gameserver-operator)\n\n\u003c/div\u003e\n\n## Overview\n\nGameServer Operator is a Kubernetes CRD controller that provides a declarative way to deploy and manage game servers via [LinuxGSM](https://linuxgsm.com/). With a `GameServer` custom resource, you define the game, storage layout, and networking, while the operator takes care of orchestration.\n\nCouldn't this be done with a Helm chart? Maybe, but the operator pattern provides more flexibility and extensibility. And since it's built with future features in mind (like automated mod installs, backups, updates, CLI/web UI, etc.), an operator seems like a better fit.\n\n## Features\n\n- **Universal game support** – Deploy any LinuxGSM-supported game server using a single CRD.\n- **Security-first defaults** – Non-root user, restricted capabilities, seccomp profile, and no privilege escalation.\n\n## Requirements\n\n- Kubernetes 1.22+ (operator uses [Server-Side Apply](https://kubernetes.io/docs/reference/using-api/server-side-apply/)).\n- Helm 3.8+.\n- `kubectl` configured for the target cluster.\n- Some games require SteamCMD. Check the LinuxGSM SteamCMD guide at https://docs.linuxgsm.com/steamcmd.\n\n## Installation\n\n### Helm (recommended)\n\n```bash\nhelm install gameserver-operator \\\n  oci://ghcr.io/idebeijer/charts/gameserver-operator \\\n  --namespace gameserver-system \\\n  --create-namespace\n```\n\n### From source\n\n```bash\nmake docker-build docker-push IMG=\u003cregistry\u003e/gameserver-operator:\u003ctag\u003e\nmake deploy IMG=\u003cregistry\u003e/gameserver-operator:\u003ctag\u003e\n```\n\nThe first command builds and pushes an image that matches any local changes; the second command deploys that image and installs the CRDs into the target cluster.\n\n## Quick Start\n\n1. Install the operator using the [Helm chart](#helm-recommended) or `make deploy`.\n2. Apply a `GameServer` manifest that describes the game you want to run.\n\n### Example: Minecraft server\n\n```yaml\napiVersion: games.idebeijer.github.io/v1alpha1\nkind: GameServer\nmetadata:\n  name: my-minecraft-server\nspec:\n  gameName: mc\n  service:\n    type: LoadBalancer\n    ports:\n      - name: game\n        port: 25565\n        protocol: TCP\n  storage:\n    size: 20Gi\n```\n\nApply these manifests with `kubectl apply -f \u003cfile\u003e` (or `-` for stdin).\n\n## Development Workflow\n\n```bash\nmake install        # Install or update CRDs in the active kubecontext\nmake run            # Run the controller locally against cluster in kubeconfig\nmake deploy IMG=... # Build manifests and deploy the manager to the cluster\nmake undeploy       # Remove the manager and associated resources\n```\n\nMore details in [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## Documentation\n\nAdditional examples and configuration snippets live in the [`config/samples`](./config/samples) directory. The [`pkg/specs`](./pkg/specs) package contains the programmatic representation of supported options.\n\n## Known Limitations\n\n- Some actions might be unsupported due to security restrictions. To name a few:\n  - Binding to ports below 1024.\n  - Games that require `CAP_NET_ADMIN` or `CAP_SYS_ADMIN` will not work due to dropped capabilities.\n  - LinuxGSM cron-based automations (updates, backups) are disabled under the default security profile. (working on a k8s native solution)\n\nThose limitations are intentional to maintain a secure default. If it appears that a game cannot run under these restrictions, please open an issue.\nOtherwise, in the future the `GameServer` spec may include options for customizing security settings per game.\n\n## Stability and API Changes\n\n⚠️ **Major version zero (v0.x.x).** The CRDs and APIs may change between releases and backwards compatibility is not guaranteed.\n\n## Roadmap\n\n- [ ] Automatic Minecraft modded server setup (CurseForge).\n- [ ] CLI tool for managing game servers.\n- [ ] Web UI for server management.\n- [ ] Command forwarding service (native LinuxGSM commands).\n- [ ] Configurable security contexts per game. (if it turns out some games need it)\n- [ ] Native backup support using CronJobs.\n- [ ] Auto-update scheduling.\n\n## Special Thanks\n\nSpecial thanks to the [LinuxGSM](https://linuxgsm.com/) maintainers for the tooling and huge catalog of supported games that power this operator.\n\n## Contributing\n\nContributions are welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md) for development setup and guidelines.\n\n## License\n\nLicensed under the MIT License. See [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidebeijer%2Fgameserver-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidebeijer%2Fgameserver-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidebeijer%2Fgameserver-operator/lists"}