games-on-whales

by funkypenguin

Helm chartv1.8.2App 1.0.0Verified publisher

Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes

About this chart

games-on-whales

Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.19.0-0

Dependencies

RepositoryNameVersion
https://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install games-on-whales k8s-at-home/games-on-whales

Installing the Chart

To install the chart with the release name games-on-whales

helm install games-on-whales k8s-at-home/games-on-whales

Uninstalling the Chart

To uninstall the games-on-whales deployment

helm uninstall games-on-whales

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install games-on-whales \
  --set env.TZ="America/New York" \
    k8s-at-home/games-on-whales

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install games-on-whales k8s-at-home/games-on-whales -f values.yaml

Custom configuration

GPU

You need a real graphic card in your Kubernetes node to run Games on Whales:

Intel

It does not require any custom settings but if you use intel-gpu-plugin then you might use the graphic_resources value to specify the resource limits such as:

graphic_resources:
  gpu.intel.com/i915: 1 # requesting 1 i915 GPU

Nvidia

If you use the Nvidia propietary device driver then you will need the Nvidia device plugin.

Proxmox

If you use Proxmox you might use PCI pass-through but you also need to ensure the host does not load any modules for the graphic card. See the instructions.

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
firefox.enabledbooltrueenable/disable firefox container
firefox.image.pullPolicystring"IfNotPresent"image pull policy
firefox.image.repositorystring"andrewmackrodt/firefox-x11"image repository
firefox.image.tagstring"91.0.2-r1"image tag
firefox.logLevelstring"info"firefox log level
firefox.volumeMountslist[]firefox extra volume mounts
graphic_resourcesobjectnilPass GPU resources to Xorg, steam and retroarch containers See Custom configuration section in the Readme
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
mkhomeretrodirs.image.pullPolicystring"IfNotPresent"image pull policy
mkhomeretrodirs.image.repositorystring"busybox"image repository
mkhomeretrodirs.image.tagstring"1.34.0"image tag
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
pulseobjectSee values.yamlConfigure pulse audio settings
pulseaudio.image.pullPolicystring"IfNotPresent"pulseaudio image pull policy
pulseaudio.image.repositorystring"ghcr.io/games-on-whales/pulseaudio"pulseaudio image repository
pulseaudio.image.tagstring"1.0.0"pulseaudio image tag
retroarch.enabledbooltrueenable/disable retroarch container
retroarch.image.pullPolicystring"IfNotPresent"retroarch image pull policy
retroarch.image.repositorystring"ghcr.io/games-on-whales/retroarch"retroarch image repository
retroarch.image.tagstring"1.0.0"retroarch image tag
retroarch.logLevelstring"info"retroarch log level
retroarch.volumeMountslist[]retroarch extra volume mounts
service.mainobjectSee values.yamlEnable and configure TCP service settings for the chart under this key.
service.udpobjectSee values.yamlEnable and configure UDP service settings for the chart under this key.
steam.enabledbooltrueenable/disable steam container
steam.image.pullPolicystring"IfNotPresent"steam image pull policy
steam.image.repositorystring"ghcr.io/games-on-whales/steam"steam image repository
steam.image.tagstring"1.0.0"steam image tag
steam.protonLogint1enable proton log
steam.volumeMountslist[]steam extra volume mounts
sunshine.envobject{}sunshine additional env settings
sunshine.image.pullPolicystring"IfNotPresent"sunshine image pull policy
sunshine.image.repositorystring"ghcr.io/games-on-whales/sunshine"sunshine image repository
sunshine.image.tagstring"1.0.0"sunshine image tag
sunshine.logLevelstring"info"sunshine log level
sunshine.passwordstring"admin"sunshine web interface pasword
sunshine.userstring"admin"sunshine web interface user
xorg.displaystring":99"xorg display ID
xorg.image.pullPolicystring"IfNotPresent"xorg image pull policy
xorg.image.repositorystring"ghcr.io/games-on-whales/xorg"xorg image repository
xorg.image.tagstring"1.0.0"xorg image tag
xorg.refreshrateint60xorg refresh rate
xorg.resolutionstring"1920x1080"xorg resolution

Changelog

Version 1.8.2

Added

N/A

Changed

  • Upgraded common chart dependency to version 4.5.2

Fixed

N/A

Older versions

A historical overview of changes can be found on ArtifactHUB

Support


Autogenerated from chart metadata using helm-docs v0.1.1

Deploy games-on-whales with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has games-on-whales on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgames-on-whales is pinned at v1.8.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply