TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mikronita/mikrom/llms.txt
Use this file to discover all available pages before exploring further.
mikrom app command group is the primary interface for managing containerised workloads on the Mikrom edge platform. From creating an application from a Git repository and triggering builds, to rolling back to a previous deployment and fine-tuning autoscaling thresholds, every stage of an application’s lifecycle is accessible through these subcommands. Mikrom builds your application inside an OCI image, schedules it on a worker node, and boots it inside a Firecracker or Cloud Hypervisor microVM depending on your choice of hypervisor.
mikrom app list
Lists every application registered in the current project.mikrom app create
Creates a new application record linked to a Git repository. Mikrom watches the repository for pushes and can trigger automatic deployments via a GitHub webhook (seemikrom app secret).
Unique name for the application within the current project. This name is used as the identifier in all other
mikrom app subcommands.HTTPS URL of the Git repository that contains the application source code. Mikrom’s builder service clones this URL to produce an OCI image.
mikrom app delete
Permanently removes an application and all of its associated resources. Use--yes to skip the interactive confirmation prompt in automated scripts.
Name of the application to delete.
Skip the interactive confirmation prompt. Useful for CI/CD scripts.
mikrom app deploy
Triggers a new build and deployment for an application. Mikrom clones the repository, builds an OCI image via the builder service, schedules the workload, and boots it in a microVM with the requested resources.Name of the application to deploy.
Number of vCPU cores to allocate to the microVM. Accepted values:
1, 2, 3, 4.Amount of memory to allocate. Accepted values:
512M, 1G, 2G, 4G. The value is parsed by the CLI’s parse_memory_choice function and converted to MiB internally.Hypervisor backend for the microVM. Accepted values:
| Value | Description |
|---|---|
firecracker | Use the Firecracker VMM (optimised for fast cold-start) |
cloud-hypervisor | Use Cloud Hypervisor (richer device model) |
unspecified | Let the scheduler choose the best available backend |
The default resource preset is
1 vCPU and 512M RAM, matching the presets available in the Mikrom dashboard.mikrom app activate
Activates a previously built deployment, effectively performing a rollback or promotion. The specified deployment must already exist in the application’s deployment history.Name of the application.
The ID of the deployment to activate. Retrieve available deployment IDs with
mikrom app deployments --name <name>.mikrom app deployments
Lists the full deployment history for an application, including deployment IDs, statuses, and timestamps. Use the IDs shown here withmikrom app activate to roll back.
Name of the application whose deployment history you want to view.
mikrom app secret
Displays the GitHub webhook secret for the application. Configure this value in your GitHub repository’s webhook settings to enable automated deployments on every push.Name of the application whose webhook secret you want to retrieve.
Treat this secret like a password. Anyone who holds it can trigger deployments for your application. Rotate it by deleting and recreating the application if it is ever exposed.
mikrom app scale
Configures the scaling behaviour for an application. Mikrom supports both fixed replica counts and policy-driven autoscaling based on CPU and memory thresholds.Name of the application to configure.
Desired fixed replica count (
0–3). Setting this flag disables autoscaling for the application and pins the instance count to the specified value.Enable (
true) or disable (false) autoscaling. When enabled, the scheduler adjusts the replica count automatically based on --cpu and --mem thresholds.Minimum number of replicas for the autoscaler (
0–3). The scheduler will not scale below this value.Maximum number of replicas for the autoscaler (
1–3). The scheduler will not scale above this value.CPU utilisation threshold (as a percentage) that triggers a scale-out event when exceeded.
Memory utilisation threshold (as a percentage) that triggers a scale-out event when exceeded.
All Mikrom applications automatically scale to zero after a period of inactivity, regardless of the configured minimum replica count. The first request after a scale-to-zero event cold-starts a new microVM.