Custom Kubes
The custom kube builder contains three presets: basic, stateless, and stateful.
Preset Types
The basic preset is intended for simple stateless applications where it does not matter which replica serves a particular service user.
The stateless preset extends the basic preset. It allows you to run not only the main container with the user's application, but also the init and sidecar containers described below. It also adds a number of optional settings that the service may need.
The main container is intended to run the user's application from the SHIPOPS registry (see Building Applications).
The init container is intended to run once before the main container starts. It is used to prepare the environment before the main application starts for the first time. By default, it uses the OCI image of the built application, but you can specify another image from a public repository, for example docker.io.
The Sidecar container is intended to run in parallel with the main container. By default, it also uses the OCI image of the built application, but another image can be specified.
Stateful Workloads and Common Options
The stateful preset is intended for applications where each replica must keep the same host name or allocated storage. For example, this is needed to bind a specific user or session to a specific replica. This preset also provides expanded configuration options for init and sidecar containers.
For all types, you can configure physical disk storage, startup parameters, configuration files, and environment variables.