Skip to content

nkapp run

Deploy services only, without touching infrastructure. Useful when infrastructure is already provisioned and you only need to update application containers. Now supports targeting specific services.

bash
nkapp run [service] [options]

Options

FlagTypeDefaultDescription
-e, --env <env>stringlocalTarget environment
-b, --branch <name>stringExplicitly work with a database branch (isolate data)

The positional [service] accepts a service name or a database name — running nkapp run my_db reconciles just that database instance.


When to Use

ScenarioCommand
First setup (infra + services)nkapp up
Infrastructure already running, services need updatenkapp run
Only want to see what would changenkapp plan

nkapp run is essentially the service-only half of nkapp up. It skips the infrastructure planning and provisioning phases entirely.


Examples

bash
# Reconcile all services locally
nkapp run -e local

# Reconcile only the "docs" service
nkapp run docs -e local

# Update services on staging
nkapp run -e stage

# Update only the "api" service on staging
nkapp run api -e stage