Skip to main content

Okteto

safira-cli okteto up

Launch your development environment

USAGE
  $ safira-cli okteto up [-l <value>] [--log-output <value>] [--build] [-c <value>] [-f <value>] [--help] [-n
    <value>] [--pull] [-r <value>] [--reset] [-l <value>]

FLAGS
  -c, --context=<value>    context where the up command is executed
  -f, --file=<value>       path to the manifest file (default 'okteto.yml')
  -l, --log-level=<value>  amount of information outputted (debug, info, warn, error) (default "warn"
  -l, --loglevel=<value>   amount of information outputted (debug, info, warn, error) (default 'warn')
  -n, --namespace=<value>  namespace where the up command is executed
  -r, --remote=<value>     configures remote execution on the specified port
  --build                  build on-the-fly the dev image using the info provided by the 'build' okteto manifest field
  --help                   help for up
  --log-output=<value>     output format for logs (tty, plain, json) (default "tty")
  --pull                   force dev image pull
  --reset                  reset the file synchronization database

DESCRIPTION
  Launch your development environment

safira-cli okteto down

Deactivate your development container

USAGE
  $ safira-cli okteto down [-l <value>] [--log-output <value>] [-c <value>] [-f <value>] [--help] [-n <value>]
    [--volumes]

FLAGS
  -c, --context=<value>    context where the down command is executed
  -f, --file=<value>       path to the manifest file (default 'okteto.yml')
  -l, --log-level=<value>  amount of information outputted (debug, info, warn, error) (default "warn"
  -n, --namespace=<value>  namespace where the up command is executed
  --help                   help for down
  --log-output=<value>     output format for logs (tty, plain, json) (default "tty")
  --volumes                remove persistent volume

DESCRIPTION
  Deactivate your development container

safira-cli okteto destroy

Destroy everything created

USAGE
  $ safira-cli okteto destroy [-c <value>] [-d <value>] [-f <value>] [--force-destroy] [--help] [--name <value>] [-n
    <value>] [--no-bash] [--volumes]

FLAGS
  -c, --context=<value>       context where the down command is executed
  -d, --dependencies=<value>  destroy dependencies
  -f, --file=<value>          path to the manifest file (default 'okteto.yml')
  -n, --namespace=<value>     namespace where the up command is executed
  --force-destroy             forces the development environment to be destroyed even if there is an error executing the
                              custom destroy commands defined in the manifest
  --help                      help for down
  --name=<value>              development environment name
  --no-bash                   execute commands without bash
  --volumes                   remove persistent volume

DESCRIPTION
  Destroy everything created

safira-cli okteto context

Change Okteto context

USAGE
  $ safira-cli okteto context [-l <value>] [--log-output <value>] [--help] [-b <value>] [-n <value>] [-t <value>]

FLAGS
  -b, --builder=<value>    url of the builder service
  -l, --log-level=<value>  amount of information outputted (debug, info, warn, error) (default "warn"
  -n, --namespace=<value>  namespace of your okteto context
  -t, --token=<value>      API token for authentication
  --help                   help for context
  --log-output=<value>     output format for logs (tty, plain, json) (default "tty")

DESCRIPTION
  Change Okteto context

safira-cli okteto context list

List available okteto contexts

USAGE
  $ safira-cli okteto context list [-l <value>] [--log-output <value>] [--help] [-o <value>]

FLAGS
  -l, --log-level=<value>  amount of information outputted (debug, info, warn, error) (default "warn"
  -o, --output=<value>     output format. One of: json|yaml
  --help                   help for list
  --log-output=<value>     output format for logs (tty, plain, json) (default "tty")

DESCRIPTION
  List available okteto contexts

EXAMPLES
  $ safira-cli okteto context list

safira-cli okteto context show

Print the current okteto context

USAGE
  $ safira-cli okteto context show [-l <value>] [--log-output <value>] [--help] [-o json|yaml]

FLAGS
  -l, --log-level=<value>   amount of information outputted (debug, info, warn, error) (default "warn"
  -o, --output=(json|yaml)  output format. One of: ['json', 'yaml'] (default "json")
  --help                    help for show
  --log-output=<value>      output format for logs (tty, plain, json) (default "tty")

DESCRIPTION
  Print the current okteto context

EXAMPLES
  $ safira-cli okteto context show

safira-cli okteto context use

Set the default okteto context

USAGE
  $ safira-cli okteto context use [-l <value>] [--log-output <value>] [--help] [-b <value>] [-n <value>] [-t <value>]

FLAGS
  -b, --builder=<value>    url of the builder service
  -l, --log-level=<value>  amount of information outputted (debug, info, warn, error) (default "warn"
  -n, --namespace=<value>  namespace of your okteto context
  -t, --token=<value>      API token for authentication
  --help                   help for use
  --log-output=<value>     output format for logs (tty, plain, json) (default "tty")

DESCRIPTION
  Set the default okteto context

EXAMPLES
  $ safira-cli okteto context use

safira-cli okteto context delete

Delete a okteto context

USAGE
  $ safira-cli okteto context delete [-l <value>] [--log-output <value>]

FLAGS
  -l, --log-level=<value>  amount of information outputted (debug, info, warn, error) (default "warn"
  --log-output=<value>     output format for logs (tty, plain, json) (default "tty")

DESCRIPTION
  Delete a okteto context

EXAMPLES
  $ safira-cli okteto context delete