Skip to content

Karina exec

karina exec

Execute a shell command inside pods matching selector

karina exec [flags]

Options

      --container string   Container name. If omitted, the first container in the pod will be chosen
  -h, --help               help for exec
  -n, --namespace string   Name name. If omitted, command will be run across all pods matching selector
  -l, --selector string    Pod selector

Options inherited from parent commands

  -c, --config stringArray   Path to config file (default [karina.yml])
      --dry-run              Don't apply any changes, print what would have been done
  -e, --extra stringArray    Extra arguments to apply e.g. -e ldap.domain=example.com
      --in-cluster           Use in cluster kubernetes config
      --kubeconfig string    Specify a kubeconfig to use, if empty a new kubeconfig is generated from master CA's at runtime
  -v, --loglevel count       Increase logging level
      --prune                Delete previously enabled resources (default true)
      --skip-decrypt         Skip any phases requiring decryption
      --trace                Print out generated specs and configs

SEE ALSO

Auto generated by spf13/cobra on 17-May-2022