Modules: implementation details

A module is a NS8 application which is usually composed by a backend and a frontend.

Every time a module instance is added to the cluster, the new instance is named as the module itself followed by a progressive number starting from 1. Given a module named myapp, instances will be named myapp1, myapp2, etc.

Modules can be managed using these commands:

  • add-module <module> <node_id>: install a module on the given node with ID node_id; search for module inside enabled repositories and install latest available version. If module is a image registry URL, just install the module straight from it; this method can be used to install customized images.
  • remove-module [--no-preserve] <module>: remove an installed module; if --no-preserve is given, erase also all module data

Table of contents