package driver
import "gvisor.dev/gvisor/test/kubernetes/tests"
Package cudatest is a test that runs a CUDA workload on k8s clusters.
Package driver implements tests for driver version compatibility.
Index ¶
- func RunCudaTest122(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
- func RunCudaTest128(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
- func RunDriverVersion(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
- func RunHello(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
Functions ¶
func RunCudaTest122 ¶
func RunCudaTest122(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
RunCudaTest122 runs a CUDA workload on a GKE node.
func RunCudaTest128 ¶
func RunCudaTest128(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
RunCudaTest128 runs a CUDA workload on a GKE node.
func RunDriverVersion ¶
func RunDriverVersion(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
RunDriverVersion tests that all driver versions the cluster version are compatible with the runsc version.
func RunHello ¶
func RunHello(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)
RunHello tests that a trivial alpine container runs correctly.
Source Files ¶
cuda_test_lib.go driver_version.go hello.go
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 4 hours ago –
Tools for package owners.