Okteto CLI
The Okteto Command Line Interface is a unified tool to manage your development environments.
Synopsis
$ okteto [options] <command> <subcommand> [parameters]
Use okteto command --help
for information on a specific command. The synopsis for each command shows its parameters and their usage. Optional parameters are shown in square brackets.
Options | Values |
---|---|
--loglevel | debug, info, warn, error |
The amount of information outputted (defaults to warn).
Advanced configuration
It is possible to handle timeouts from the client side when communicating with the buildkit daemon through the Okteto CLI. To do so, the following environment variables can be modified:
OKTETO_KEEPALIVE_CLIENT_TIME_MS
: After this duration of time, if the client doesn't see any activity it will ping the server to see if the transport is still alive. If set below 10s, a minimum value of 10s will be used (default value is infinity.)OKTETO_KEEPALIVE_CLIENT_TIMEOUT_MS
: After sending a keepalive ping, the client waits for this duration of time and if no activity is seen even after that the connection is closed. (default value is 20 seconds.)OKTETO_KEEPALIVE_CLIENT_PERMIT_WITHOUT_STREAM
: Iftrue
, the client sends keepalive pings even with no active RPCs. Iffalse
, when there are no active RPCs, Time and Timeout will be ignored and no keepalive pings will be sent (defaults tofalse
.)