NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 26 forks source link

helm chart to deploy metacatui on kuberntes #2368

Closed mbjones closed 1 week ago

mbjones commented 3 months ago

Describe the feature you'd like

Deploy metacatui to a Kubernetes cluster using helm.

As metacatUI is a simple web app, this mainly needs a mechanism to serve the files from a web server, and provide a config.js file for customization. It might also benefit from the ability to merge in custom themes.

Additional context

@artntek is working on a Kubernetes deployment of Metacat in https://github.com/NCEAS/metacat/issues/1623 that also includes a MetacatUI install, but we likely want to install metacatui both standalone and as part of a subchart for flexible deployments.

mbjones commented 3 months ago

Started a simple example for debugging purposes in https://github.com/NCEAS/metacatui/tree/feature-2368-helm-k8s

This works by simply mounting the metacatui/src directory from a PVC in an nginx container where it expects to serve web files. Some simple improvements to make this a bit more useful would be to:

At this point, this proof-of-concept is just meant to start discussion about the direction we should head, and possibly enable developers to more easily deploy metacatui for testing.

robyngit commented 3 months ago

Nice, thanks @mbjones ! If the intention is for development to continue on the feature-2368-helm-k8s branch, then we should change its base to develop rather than main.

mbjones commented 3 months ago

Agreed on develop. I branched it from develop (at the time it was on sha 0447bfd7a). Still looks that way to me. There is no PR yet as its not close to ready for that.