Skip to main content
Testkube 2.14.0 is out! AI test creation, detailed error analysis, and much more! Read More

Testkube Custom Resources

info

As of Testkube v2.7, Testkube Resources are stored in the Control Plane - Read More. CRDs are still used by the runner with the GitOps capability to sync resources from Kubernetes into the Control Plane and by the Standalone Runner for local resource management.

Testkube defines several Custom Resource types for use with Standalone Runner and runner with the GitOps capability deployments.

The following Resource Group/Versions are available (click for documentation)

The current CRD definitions can be found in the kubeshop/testkube repository.

Checking installed CRDs​

You can always check the list of all CRDs using kubectl configured to point to your Kubernetes cluster with Testkube installed:

kubectl get crds -n testkube
Expected output:
NAME CREATED AT
executors.executor.testkube.io 2024-05-31T09:53:09Z
scripts.tests.testkube.io 2024-05-31T09:53:09Z
templates.tests.testkube.io 2024-05-31T09:53:09Z
testexecutions.tests.testkube.io 2024-05-31T09:53:09Z
tests.tests.testkube.io 2024-05-31T09:53:09Z
testsources.tests.testkube.io 2024-05-31T09:53:09Z
testsuiteexecutions.tests.testkube.io 2024-05-31T09:53:09Z
testsuites.tests.testkube.io 2024-05-31T09:53:09Z
testtriggers.tests.testkube.io 2024-05-31T09:53:09Z
testworkflowexecutions.testworkflows.testkube.io 2024-05-31T09:53:09Z
testworkflows.testworkflows.testkube.io 2024-05-31T09:53:09Z
testworkflowtemplates.testworkflows.testkube.io 2024-05-31T09:53:09Z
webhooks.executor.testkube.io 2024-05-31T09:53:09Z
note

Depending on your Testkube version you might still have legacy Testkube CRDs in your installation, as in the list above.

To check details on one of the CRDs, use describe:

kubectl describe crd testworkflows.testworkflows.testkube.io
Expected output:
Name: testworkflows.testworkflows.testkube.io
Namespace:
Labels: app.kubernetes.io/managed-by=Helm
Annotations: controller-gen.kubebuilder.io/version: v0.15.0
meta.helm.sh/release-name: testkube
meta.helm.sh/release-namespace: testkube
API Version: apiextensions.k8s.io/v1
Kind: CustomResourceDefinition
...