bc-agent – services
Whilst BeyondCron has been architected to be standalone, it can also connects to external services, in order to provide close integration to a sites existing services.
Configuration service
In order to support server registration, discovery and startup configuration, BeyondCron can be configured to use an external configuration service.
The configuration service will automatically populate BEYONDCRON_SERVER_NAMES, allowing allowing bc-agent, bc-cli, bc-web and bc-server procesess to automatically connect to a BeyondCron cluster.
BeyondCron will also use the configuration service for looking up BEYONDCRON_… environment variables.
Container service
As well as executing command jobs on servers, and sql jobs on databases, bc-agent can be configured to execute container jobs.
Job resource properties
When defining a container job, the following resource properties can be defined to ensure that the job is executed within a container with sufficient resources:
cpus | count | number of CPUs required by the container. |
memory | size[MB|MiB|GB|GiB] | size of memory required by the container in megabytes, mebibytes, gigabytes or gibibytes. |
if insufficient CPUs or memory are available when a job is started, the job will fail.
See also
- container job