You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deploy nanocl locally using a binary method and then debug it. Could you provide a script similar to the hack/local-up-cluster.sh script in Kubernetes?”
The text was updated successfully, but these errors were encountered:
Hey, i'm not totally sure i understand what you wanna do, what you wanna debug ?
To install nanocl locally for development purpose you can use the nanocl install command.
Then build an image using docker build and use it directly in nanocl.
can the components, including nanocld, ncdns, ndns, ncproxy, nproxy, metrsd, and cockroach, that currently run in containers, be run directly on the operating system?
Where it's technically possible, it's not really designed this way, it's way more easier to have them as container for security and update, you can patch the components without causing downtime.
Using a Statefile or the patch command, you can also manage their life cycle with nanocl commands.
For debugging purpose you should be able to attach GDB using the process ID.
To run outside a container, the components would require (for some of them) root access, it would also require to write systemd scripts to restart them in case of failure.
I want to deploy nanocl locally using a binary method and then debug it. Could you provide a script similar to the hack/local-up-cluster.sh script in Kubernetes?”
The text was updated successfully, but these errors were encountered: