engine restart
The CLI interacts with the Kurtosis engine, which is a very lightweight container. The CLI will start the engine container automatically for you and you should never need to start it manually, but you might need to restart the engine after a CLI upgrade. To do so, run:
kurtosis engine restart
You may optionally pass in the following flags with this command:
--log-level
: The level that the started engine should log at. Options include:panic
,fatal
,error
,warning
,info
,debug
, ortrace
. The engine logs at theinfo
level by default.--version
: The version (Docker tag) of the Kurtosis engine that should be started. If not set, the engine will start up with the default version.--enclave-pool-size
: The size of the Kurtosis engine enclave pool. The enclave pool is a component of the Kurtosis engine that allows us to create and maintain 'n' number of idle enclaves for future use. This functionality allows to improve the performance for each new creation enclave request.--github-auth-token
: The auth token to use for authorizing GitHub operations. If set, this will override the currently logged in GitHub user fromkurtosis github login
, if one exists. Note, this token does not persist when restarting the engine.--log-retention-period
: The duration in which Kurtosis engine will keep logs for. The engine will remove any logs beyond this period. You can specify hours usingh
. The default is set to 1 week (168h). NOTE: Currently, Kurtosis only supports setting retention on weekly intervals. Ongoing work is occurring to make this interval more granular - see https://github.com/kurtosis-tech/kurtosis/pull/2534
CAUTION: The --enclave-pool-size
flag is only available for Kubernetes.