teamspeak

This commit is contained in:
Philip Haupt
2025-05-15 23:44:41 +02:00
parent 25349044ec
commit c005dc7c03
4 changed files with 266 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: teamspeak
repo: https://k8s-at-home.com/charts/
version: 0.7.2
releaseName: teamspeak
includeCRDs: true
namespace: teamspeak
valuesFile: values.yaml

118
teamspeak/src/values.yaml Normal file
View File

@@ -0,0 +1,118 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
# -- image repository
repository: teamspeak
# -- image tag
tag: 3.13.7
# -- image pull policy
pullPolicy: IfNotPresent
# -- environment variables. See more environment variables in the [teamspeak image documentation](https://hub.docker.com/_/teamspeak).
# @default -- See below
env:
TZ: UTC
TS3SERVER_LICENSE: accept
# TS3SERVER_SERVERADMIN_PASSWORD:
# valueFrom:
# secretKeyRef:
# name: teamspeak
# key: serveradmin_password
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
http:
enabled: false
primary: false
serverquery:
enabled: true
port: 10011
filetransfer:
enabled: true
port: 30033
voice:
enabled: true
primary: true
port: 9987
protocol: UDP
probes:
readiness:
custom: true
spec:
tcpSocket:
port: 10011
liveness:
custom: true
spec:
tcpSocket:
port: 10011
startup:
custom: true
spec:
tcpSocket:
port: 10011
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
data:
enabled: true
mountPath: /var/ts3server
accessMode: ReadWriteOnce
storageClass: openebs-3-replicas
size: 1Gi
metrics:
# -- Enable and configure ts3exporter sidecar and Prometheus serviceMonitor.
# @default -- See values.yaml
enabled: false
serviceMonitor:
interval: 1m
scrapeTimeout: 30s
labels: {}
# -- Enable and configure Prometheus Rules for the chart under this key.
# @default -- See values.yaml
prometheusRule:
enabled: false
labels: {}
# -- Configure additionial rules for the chart under this key.
# @default -- See prometheusrules.yaml
rules: []
# - alert: TeamSpeakDown
# annotations:
# description: Teamspeak service is down.
# summary: Teamspeak is down.
# expr: |
# ts3_serverinfo_online == 0
# for: 5m
# labels:
# severity: critical
exporter:
image:
# -- image repository
repository: quay.io/ricardbejarano/ts3exporter
# -- image tag
tag: 0.0.7
# -- image pull policy
pullPolicy: IfNotPresent
env:
# -- metrics port
port: 9189
# -- TeamSpeak query endpoint
remote: localhost:10011
# -- Set to true to enable gathering of channel metrics
enableChannelMetrics: false
# -- The TeamSpeak server binary is only available for x86_64.
nodeSelector:
kubernetes.io/arch: amd64