Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

testkube_create_executor

testkube create executor

Create new Executor

Synopsis

Create new Executor Custom Resource

testkube create executor [flags]

Options

      --args stringArray                 args passed to image in executor
--command stringArray command passed to image in executor
--content-type stringArray list of supported content types for executor
--docs-uri string URI to executor docs
--executor-type string executor type, container or job (defaults to job) (default "job")
--feature stringArray feature provided by executor
-h, --help help for executor
--icon-uri string URI to executor icon
--image string image used for executor
--image-pull-secrets stringArray secret name used to pull the image in executor
-j, --job-template string if executor needs to be launched using custom job specification, then a path to template file should be provided
--job-template-reference string reference to job template for using with executor
-l, --label stringToString label key value pair: --label key1=value1 (default [])
-n, --name string unique executor name - mandatory
--tooltip stringToString tooltip key value pair: --tooltip key1=value1 (default [])
-t, --types stringArray test types handled by executor
--update update, if executor already exists
-u, --uri string if resource need to be loaded from URI
--use-data-dir-as-working-dir use data dir as working dir for all tests

Options inherited from parent commands

  -a, --api-uri string          api uri, default value read from config if set (default "http://localhost:8088")
-c, --client string client used for connecting to Testkube API one of proxy|direct|cluster (default "proxy")
--crd-only generate only crd
--header stringToString headers for direct client key value pair: --header name=value (default [])
--insecure insecure connection for direct client
--namespace string Kubernetes namespace, default value read from config if set (default "testkube")
--verbose show additional debug messages

SEE ALSO