A comprehensive Kubernetes conformance testing framework that extends the standard Kubernetes e2e tests with AI-specific conformance tests. This project provides tools and test suites to validate AI workloads and infrastructure on Kubernetes clusters, supporting the CNCF AI Conformance self-certification process.
This project builds upon the Kubernetes e2e testing framework (v1.34.0) and adds AI-specific conformance tests to help organizations validate their Kubernetes clusters for AI workloads. The tests are designed to answer the CNCF AI Conformance self-certification questionnaire template.
- Extended Kubernetes e2e Suite: Based on Kubernetes v1.34.0 e2e tests with AI conformance extensions
- Multiple Test Runners: Support for Ginkgo, Sonobuoy, and Hydrophone test runners
- Self-Certification Support: Generates results compatible with CNCF AI Conformance requirements
- Containerized Testing: Docker-based test execution with pre-built images
- Flexible Configuration: Configurable test focus, skip patterns, and execution parameters
Go test flags
-ai.operator.chart string
chart name where to locate the requested chart
-ai.operator.filename string
filename, directory, or URL to files to use to install the operator
-ai.operator.namespace string
namespace scope for this request. If unspecified, a random namespace will be used
-ai.operator.releaseName string
release name to create with this request. If unspecified, a random release name will be used
-ai.operator.repo string
chart repository url where to locate the requested chart
Run the AI conformance tests using Hydrophone:
hydrophone --conformance-image ghcr.io/carlory/ai-conformance:latest --focus="\[AIConformance\]" --skip="\[Disruptive\]|NoExecuteTaintManager" --output-dir ./resultsRun the AI conformance tests using Sonobuoy:
sonobuoy run --plugin https://raw.githubusercontent.com/carlory/ai-conformance/master/sonobuoy-plugin.yamlCheck the status:
sonobuoy statusRetrieve results:
sonobuoy retrieve ./resultsRun e2e tests with Ginkgo:
make test-e2eRun tests with Sonobuoy:
# Generate the Sonobuoy plugin yaml file
make generate-plugin
# Run tests with Sonobuoy
make test-sonobuoyRun tests with Hydrophone:
make test-hydrophone(base) ➜ /tmp tree results
results
├── 202509260852_sonobuoy_3984fc5c-e24d-42c8-8c05-01545d84e6f8.tar.gz ## generated by sonobuoy, including the following same files in the `plugins/ai-conformance/results/global` directory
├── e2e.log ## generated by hydrophone
└── junit_01.xml ## generated by hydrophone
1 directory, 3 files
- Fork the repository
- Create a feature branch
- Add tests following the existing patterns
- Ensure tests pass with
make test-e2e - Submit a pull request
- Kubernetes - The base e2e testing framework
- Sonobuoy - Kubernetes conformance testing tool
- Hydrophone - Kubernetes e2e test runner
- CNCF AI Conformance - AI conformance specification