Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shiipou/pelican-k8s
WIP: The Pelican game panel in a k8s cluster
https://github.com/shiipou/pelican-k8s
docker game-panel homelab k8s pelican pterodactyl wip
Last synced: about 1 month ago
JSON representation
WIP: The Pelican game panel in a k8s cluster
- Host: GitHub
- URL: https://github.com/shiipou/pelican-k8s
- Owner: shiipou
- License: mit
- Created: 2024-06-11T11:22:30.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-17T18:16:02.000Z (5 months ago)
- Last Synced: 2024-09-27T02:28:16.728Z (about 2 months ago)
- Topics: docker, game-panel, homelab, k8s, pelican, pterodactyl, wip
- Homepage:
- Size: 174 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pelican-k8s
The Pelican game panel in a k8s cluster## Installation
### Dependencies
On your k8s cluster, be sure to have thoses dependencies installed and configured :
- Traefik
- Cert-Manager
- Any default volume provider### Configuration
You can adjust your settings in the directory `k8s/overlays/production/config/` and change any `` with your own values.
**! Important !**
In `k8s/overlays/production/resources/wings.yaml`, change the value of `spec.replicas` to the number of nodes you have.
In the file `k8s/overlays/production/resources/ingress.yaml`, change the value of `spec.rules.host` with your own domain name.
### Deployment
To deploy your game panel, run this command :
```bash
kubectl apply -k ./k8s/overlays/production/
```That will deploy the requested ressources to your cluster.
But that will not create the wings into the pelican panel. Until I'll get more time to write an automatic script for that, you'll need to do it manually.
Go to your panel and add a new node like this image :
![Node configuration](.github/resources/image01.png)
When that's done, got to the `Configuration file` tab of that page and copy the content of the `/etc/pelican/config.yml`.
On your terminal you'll need to connect to your wings pod to create the configuration file, do it with this command :
```bash
kubectl exec -itnpelican pods/wings-0 -c waiting-config -- vi /etc/pelican/config.yml
```Press `I` so you go into `Insert mode`, then paste the content of your configuration file and press `ESC` to exit `Insert mode`. Then type `:wq` to save and exit the file.
The pod will exist the `waiting-config` state to start the docker and wings containers.
You'll need to do that for every wings nodes you have.