Getting Started
Follow the steps below to get started using the OPCT CLI to schedule a conformance workflow.
Prerequisites
- An OpenShift/OKD cluster installed
KUBECONFIG
environment variable set with cluster admin permissions
Install
Install the OPCT CLI using the following command:
# Download the latest release
wget -O ~/bin/opct \
https://github.com/redhat-openshift-ecosystem/opct/releases/latest/download/opct-linux-amd64
# Make it executable
chmod u+x ~/bin/opct
See Also
- Use the latest release
Setup
Select a dedicated compute node to be used to host the test environment:
opct adm setup-node
See Also
opct adm setup-node
- Reference Diagram
- Cluster Validation User Guide
Run
Schedule the default workflow and monitor its execution:
opct run --watch
See Also
opct run
- Reference Diagram
- Cluster Validation User Guide
Results
Once the workflow completes, retrieve the results:
opct retrieve
Generate the consolidated report:
opct report --save-to ./results opct*.tar.gz
Explore the results by navigating to the Web UI to review the checks, recommendations, and e2e logs.
Destroy
Destroy the test environment:
opct destroy
That's it! You have successfully scheduled the conformance test workflow on an OpenShift cluster using the OPCT CLI, collected the results, and gathered performance data from the cluster.