[games-on-whales] Split service in TCP and UDP ports (#1134)

* initial release

* [games-on-whales] split tcp and udp services

Co-authored-by: angelnu <git@angelnucom>
This commit is contained in:
Angel Nunez Mencias 2021-08-24 03:16:53 +02:00 committed by GitHub
parent 55ac1bf834
commit f2982489f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 56 additions and 10 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ charts/**/charts
.env
.envrc
Gemfile.lock
angel.yaml

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes
name: games-on-whales
version: 1.0.0
version: 1.1.0
kubeVersion: ">=1.19.0-0"
keywords:
- games-on-whales

View File

@ -1,6 +1,6 @@
# games-on-whales
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes
@ -84,7 +84,7 @@ the host does not load any modules for the graphic card. See the
| firefox.image.repository | string | `"andrewmackrodt/firefox-x11"` | image repository |
| firefox.image.tag | string | `"latest"` | image tag |
| firefox.logLevel | string | `"info"` | firefox log level |
| firefox.volumeMounts | object | `{}` | firefox extra volume mounts |
| firefox.volumeMounts | list | `[]` | firefox extra volume mounts |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| mkhomeretrodirs.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| mkhomeretrodirs.image.repository | string | `"busybox"` | image repository |
@ -99,14 +99,15 @@ the host does not load any modules for the graphic card. See the
| retroarch.image.repository | string | `"gameonwhales/retroarch"` | retroarch image repository |
| retroarch.image.tag | string | `"latest"` | retroarch image tag |
| retroarch.logLevel | string | `"info"` | retroarch log level |
| retroarch.volumeMounts | object | `{}` | retroarch extra volume mounts |
| service.main | object | See values.yaml | Enable and configure service settings for the chart under this key. |
| retroarch.volumeMounts | list | `[]` | retroarch extra volume mounts |
| service.main | object | See values.yaml | Enable and configure TCP service settings for the chart under this key. |
| service.udp | object | See values.yaml | Enable and configure UDP service settings for the chart under this key. |
| steam.enabled | bool | `true` | enable/disable steam container |
| steam.image.pullPolicy | string | `"IfNotPresent"` | steam image pull policy |
| steam.image.repository | string | `"gameonwhales/steam"` | steam image repository |
| steam.image.tag | string | `"latest"` | steam image tag |
| steam.protonLog | int | `1` | enable proton log |
| steam.volumeMounts | object | `{}` | steam extra volume mounts |
| steam.volumeMounts | list | `[]` | steam extra volume mounts |
| sunshine.env | object | `{}` | sunshine additional env settings |
| sunshine.image.pullPolicy | string | `"IfNotPresent"` | sunshine image pull policy |
| sunshine.image.repository | string | `"gameonwhales/sunshine"` | sunshine image repository |
@ -127,6 +128,23 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.1.0]
#### Added
- N/A
#### Changed
- Split tcp and udp services (problems with flux/helm)
- Fix mount volumes - from map to list
#### Removed
- N/A
[1.0.0]: #100
### [1.0.0]
#### Added

View File

@ -9,6 +9,23 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.1.0]
#### Added
- N/A
#### Changed
- Split tcp and udp services (problems with flux/helm)
- Fix mount volumes - from map to list
#### Removed
- N/A
[1.0.0]: #100
### [1.0.0]
#### Added

View File

@ -203,6 +203,10 @@ service:
primary: true
port: 47990
protocol: HTTPS
externalTrafficPolicy: Local
udp:
enabled: true
ports:
sunshine-udp1:
enabled: true
port: 47998

View File

@ -12,12 +12,18 @@ ingress:
enabled: false
service:
# -- Enable and configure service settings for the chart under this key.
# -- Enable and configure TCP service settings for the chart under this key.
# @default -- See values.yaml
main: {}
# type: LoadBalancer
# loadBalancerIP: 192.168.1.129
# -- Enable and configure UDP service settings for the chart under this key.
# @default -- See values.yaml
udp: {}
# type: LoadBalancer
# loadBalancerIP: 192.168.1.129
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
@ -77,7 +83,7 @@ retroarch:
# -- retroarch log level
logLevel: info
# -- retroarch extra volume mounts
volumeMounts: {}
volumeMounts: []
steam:
# -- enable/disable steam container
enabled: true
@ -91,7 +97,7 @@ steam:
# -- enable proton log
protonLog: 1
# -- steam extra volume mounts
volumeMounts: {}
volumeMounts: []
firefox:
# -- enable/disable firefox container
enabled: true
@ -105,7 +111,7 @@ firefox:
# -- firefox log level
logLevel: info
# -- firefox extra volume mounts
volumeMounts: {}
volumeMounts: []
mkhomeretrodirs:
image:
# -- image repository