Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm Chart #33

Open
amorabito opened this issue Oct 9, 2023 · 2 comments
Open

Helm Chart #33

amorabito opened this issue Oct 9, 2023 · 2 comments

Comments

@amorabito
Copy link

I started converting docker compose to a Helm Chart, if anyone is interested I could try to create repo for it.
Currently able to get it up and running, but also being my first time messing around with acore in general I have not got the account creation or public IP address in the mysql worked out in the deployment just yet. Those are still manual.

When I exec into the worldserver or authserver the account create does not work. Is there some command to run inside the worldserver outside of the acore.sh?
Currently I have to stop the pod and manually run the acore.sh run-worldserver and wait for input to be able to create accounts.
Then I can re-run the pod to start worldserver detached.

I'm sure someone here with more knowledge would be able to figure it out

@livepo
Copy link

livepo commented Oct 26, 2023

I think the worldserver shound give a argument such as ./worldserver -t which will not init and start the realm. Only connect the database and show TC>, So that when we start worldserver, We can exec to the pod and create account...

@johnford2002
Copy link

johnford2002 commented Jul 6, 2024

I've been working on a k8s / helm approach to hosting this for a few weeks. I think I've at least solved the issue that you're running into regarding sending commands to the worldserver.

For your k8s spec for a worldserver deploy, you need to add the following two lines to spec.template.spec.containers.<worldserver-container-name>:

tty: true
stdin: true

Once you've done that, you can attach to the running worldserver at its command prompt with the following:

kubectl attach <world-server-pod-name> -i -t

Note: Recent versions of kubectl have removed the ability to properly detach from a running container. Using Ctrl-C in this setup will kill the running worldserver! Instead, when finished, close the open terminal session to safely detach from the running k8s container.

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

No branches or pull requests

3 participants