Skip to main content

cli cic

cli cic

CLI-in-CLI

Synopsis

Several workloads provide their own format of command line interface (CLI). Running them on Kubernetes, makes these CLIs out of reach. This command provides a way to access these CLIs through a single interface.

  • It conventionally looks into the $LOGS_DIR directory of a running container for a pipe.
  • The pipe is named after the arg[1] parameter with the .pipe suffix.
  • If the container is not running or the pipe is not found, it outputs an error.
  • The results are read from the file named after the arg[1] parameter with the .out suffix.

Special cases:

  • run triggers the execution of a subcommand from the runscript in the container.
  • shell gives you the shell access to the container.
  • ssh runs an ssh client in the container to connect to a remote host.
cli cic [flags]

Examples

cli cic -n <namespace> <element> <application> -- <command> <?parameters>

Options

  -f, --follow   Specify if the logs should be streamed.
-h, --help help for cic

Options inherited from parent commands

  -c, --config string      config file (default "config.json")
-n, --namespace string namespace to perform the operations (default "trirematics")
-v, --verbose debug output

SEE ALSO

  • cli - Trirematics commandline interface
Auto generated by spf13/cobra on 16-Feb-2024