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

Get scripts/configs and instructions set up for having local app-server run "on host" (ie. outside of k8s), and with vscode debugging enabled #324

Open
Venryx opened this issue May 29, 2024 · 0 comments

Comments

@Venryx
Copy link
Collaborator

Venryx commented May 29, 2024

Core things to solve:

  • Adjust the app-server's code so that it can detect when it is running outside of docker/k8s, and connect through a k8s proxy to the database pod, rather than using the k8s-internal DNS resolution system like is usually used. (as seen in the DB_ADDR environment-variable value)

Extra tasks: (good if you can get these done, but not needed immediately, so can be skipped if too troublesome)

  • Ensure that VSCode's config files are set up properly to be able to do breakpoint-based debugging of the app-server program (when run outside of k8s). This may require installation of a debugger extension for vscode of one type or another, either for cpp and rust, or for rust specifically. (if a separate extension isn't required, that's even better ofc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Short-term (Alvinosh)
Development

No branches or pull requests

1 participant