Singularity key points are as follows:
- Acts as an API and a web application
- Conceived at HubSpot and later open sourced under Apache license
- Used to launch and schedule long-running Mesos processes, scheduled jobs, and tasks
- All its components can be considered as a PaaS to end users
- Non-experimented users can use it to deploy tasks on Mesos without so much knowledge
- Shares Mesos features such as fault tolerance, scalability, and resource allocation
- Can run a task scheduler for other Mesos frameworks
To install Singularity we need to have Docker installed, to do it follow the steps at:
Once installed, clone the singularity repository with this command:
$ git clone https://github.com/HubSpot/Singularity
Change the singularity
directory:
$ cd Singularity
Now, use Docker Compose pull
and up
commands to test Singularity.
These commands set up the following in the container:
- Mesos master and slave
- Zookeeper
- Singularity
- Baragon service and Baragon...