Skip to content

BanBansNet/kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run ddnet servers in kubernetes

ssh into your server and spin up a k3s kubernetes cluster

Setup k3s

curl -sfL https://get.k3s.io | sh -
  • Copy the credentails from /etc/rancher/k3s.yaml to your machine ~/.kube/config
  • Replace localhost in ~/.kube/config with the ip of your server.
  • Install kubectl on your machine
  • Verify the cluster is up and running kubectl get nodes

Run a sample ddnet pod

kubectl apply -f https://raw.githubusercontent.com/BanBansNet/kubernetes/master/pods/ddnet-no-db.yaml

Then connect to your servers ip on port 8304 using a ddnet/teeworlds client.

Run servers with mysql database

kubectl apply -f mariadb.yaml
kubectl apply -f ddnet.yaml

About

Getting a cluster running

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published