A Helm chart for Teamspeak 6 server.
This Helm chart runs Teamspeak 6 as StatefulSet with a SQLite database. Using MariaDB/Mysql as database is currently not supported by this Helm chart.
The installation is done as follows:
$ helm repo add teamspeak-server https://max-pfeiffer.github.io/teamspeak-server-helm-chart
$ helm install teamspeak-server teamspeak-server/teamspeak-server --values your_values.yaml --namespace yournamespace You can expose the HTTP Query API with a HTTPRoute or an Ingress using this Helm chart. The API documentation is then available on http://yourdomain.org/swagger
SSH into the server using the non-standard port 10022 and the IP-address or domain you configured for it.
Use the queryAdminPassword for logging in:
$ ssh serveradmin@192.168.10.10 -p 10022After logging in, you need to switch to the first virtual server for issuing commands:
serveradmin> use 1
error id=0 msg=okThen create an admin token which you can use in your Teamspeak client:
serveradmin@9987(1):online> tokenadd tokentype=0 tokenid1=6 tokenid2=0This will print the token on the CLI. Grab that token and use it in your Teamspeak client to identify yourself as admin.
To explore all the command options just type help:
serveradmin@9987(1):online> help
TeamSpeak 6 Server :: ServerQuery
(c) TeamSpeak Systems GmbH
ServerQuery is a command-line interface built into the TeamSpeak 6 Server which
allows powerful scripting and automation tools to be built based on the exact
same instruction set and functionality provided by the TeamSpeak 6 Client. For
example, you can use scripts to automate the management of virtual servers or
nightly backups. In short, you can perform operations more efficiently by using
ServerQuery scripts than you can by using a user interface.
Command Overview:
apikeyadd | create a apikey
apikeydel | delete a apikey
apikeylist | list apikeys
authenticationtoken | create an authentication token
banadd | create a ban rule
banclient | ban a client