mesos-firecracker-executor

command module
v0.0.0-...-4e9adeb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

Mesos Firecracker Executor

This executer will deploy a microvm per task, and run the mesos task command inside of it.

variables

Variable Default Description
FIRECRACKER_AGENT_PORT 8085 The port there the vmm-agent is listening
FIRECRACKER_PAYLOAD_FILE Payload file for the case the microvm have to run a specific job
FIRECRACKER_WORKDIR /mnt/mesos/sandbox The directory where the executor will find rootfs, vmlinux and the payload
FIRECRACKER_VCPU 1 The amount of vCPU for the microvm
FIRECRACKER_MEM_MB 256 The amount of memory for the microvm

Notes

If the custom executer would be running under the mesos containerizer. The default isolation configuration in mesos is to tight. For the first shot, change the isolation to:

MESOS_ISOLATION=filesystem/linux,docker/runtime

My mesos-compose framework will use the docker containerizer. These should work out of the box.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL