Skip to main content

Start

Start the controller.

The controller serves the REST API, writes its heartbeat, and watches conditions to send notifications.

osapi controller start [flags]

Examples​

osapi controller start
osapi controller start --controller-api-port 9000

Flags​

FlagDescriptionDefault
--controller-api-portPort the REST API server listens on (controller.api.port)8080

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.