Skip to content

Add Kubernetes support#29

Open
CorentinDy wants to merge 3 commits intoJamesits:masterfrom
CorentinDy:master
Open

Add Kubernetes support#29
CorentinDy wants to merge 3 commits intoJamesits:masterfrom
CorentinDy:master

Conversation

@CorentinDy
Copy link
Copy Markdown

Hi,
here are some yaml files I used to deploy DST Server on my cluster, I used Kompose tool to convert the docker-compose.yaml to Kubernetes, so it can be improve but it's a good start.

@CorentinDy
Copy link
Copy Markdown
Author

For security reason, the default service type is not exposed. You'll need to create an ELB manually or with an edit dst-service.yaml with maybe some options.
Or if you really want to customised it, I can try to make it with Helm.

@Jamesits
Copy link
Copy Markdown
Owner

I'm not expert in k8s so I can't say anything useful, but I personally feel weird to run a game server in k8s behind a load balancer. Maybe a helm chart is a better idea so the user will have an option.

Another question: how do you plan to change the server's config file? This is not easily done in a k8s cluster (other than open a SSH container and log into it). Just for reference, some guy once tried to config the server using env vars. (#15)

@NL-TCH
Copy link
Copy Markdown

NL-TCH commented Sep 16, 2022

I'm not expert in k8s so I can't say anything useful, but I personally feel weird to run a game server in k8s behind a load balancer. Maybe a helm chart is a better idea so the user will have an option.

Another question: how do you plan to change the server's config file? This is not easily done in a k8s cluster (other than open a SSH container and log into it). Just for reference, some guy once tried to config the server using env vars. (#15)

you can make a configmap for the serverconfig, you can change a configmap easypeasy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants