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

Yan 893 - Multinode deployments of helm charts (in-progress) #116

Merged
merged 40 commits into from
May 4, 2022

Conversation

pritchardn
Copy link
Collaborator

An in-progress pull that permits single-node helm deployments from the translator interface (assuming the machine running the lg-web has access to kubectl).

@coveralls
Copy link

coveralls commented Feb 23, 2022

Coverage Status

Coverage increased (+0.2%) to 66.905% when pulling 9e7d82c on yan-893 into 03cabaf on master.

@pritchardn
Copy link
Collaborator Author

pritchardn commented Mar 14, 2022

This feature is now relatively stable, supports multiple node (pod) deployments and is integrated with the latest master.
However, it is not perfect, below are some limitations:

  • Log files will collide when running multiple k8s pods on the same physical node
  • Multi-pod (node) deployments on a single physical machine will take up to 3 minutes to start. This is due to a namespacing conflict with zeroconf - it does work but takes longer than one would like
  • All pods get their own service endpoints - while useful for external control, this could be removed to save resources
  • There is no user-side indication that a helm deployment has been successful or even begun.
  • Launching multiple helm charts with the same name simultaneously is obviously problematic, but there is no workaround or detection of such issues yet.

I argue that the implementation of the base feature is 'complete', however, there is still more that could be done.

@pritchardn
Copy link
Collaborator Author

To replicate the entire stack locally:

Setup K8s:
Add multiple nodes if interested with minikube node add
minikube start
minikube tunnel --cleanup
minikube mount ~/dlg:/dlg -v 3

Setup dlg-ood (3bff037)
python passenger_wsgi.py helm

Setup lgweb (9e7d82c)
dlg lgweb -d ~/dlg -t ~/dlg_temp/

One should be able to launch jobs through the helm deploy button in the translator view.

@pritchardn pritchardn merged commit 09cb668 into master May 4, 2022
@pritchardn pritchardn deleted the yan-893 branch May 4, 2022 03:16
awicenec pushed a commit that referenced this pull request May 19, 2022
Yan 893 - Multinode deployments of helm charts
pritchardn added a commit that referenced this pull request May 20, 2022
Yan 893 - Multinode deployments of helm charts
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.

2 participants