kubernetesk8s.io/kubernetes/test Directories

test/ directory

Directories

PathSynopsis
test/compatibility_lifecycle
test/compatibility_lifecycle/cmd
test/conformanceThis stand-alone package is utilized for dynamically generating/maintaining a list of conformance tests.
test/conformance/image
test/conformance/image/go-runner
test/e2e
test/e2e/apimachineryPackage apimachinery contains e2e tests owned by SIG-API-Machinery.
test/e2e/apps
test/e2e/architecture
test/e2e/auth
test/e2e/autoscaling
test/e2e/chaosmonkey
test/e2e/cloud
test/e2e/cloud/gcp
test/e2e/cloud/gcp/apps
test/e2e/cloud/gcp/auth
test/e2e/cloud/gcp/common
test/e2e/cloud/gcp/network
test/e2e/cloud/gcp/node
test/e2e/common
test/e2e/common/network
test/e2e/common/node
test/e2e/common/storage
test/e2e/dra
test/e2e/dra/test-driver
test/e2e/dra/test-driver/appPackage app does all of the work necessary to configure and run a Kubernetes app process.
test/e2e/environmentPackage environment contains pre-defined environments used by test/e2e and/or test/e2e_node.
test/e2e/featurePackage feature contains pre-defined features used by test/e2e and/or test/e2e_node.
test/e2e/frameworkPackage framework contains provider-independent helper code for building and running E2E tests with Ginkgo.
test/e2e/framework/auth
test/e2e/framework/autoscaling
test/e2e/framework/configPackage config simplifies the declaration of configuration options.
test/e2e/framework/daemonset
test/e2e/framework/debug
test/e2e/framework/debug/initPackage init sets debug.DumpAllNamespaceInfo as implementation in the framework and enables log size verification and resource gathering.
test/e2e/framework/deployment
test/e2e/framework/endpointslice
test/e2e/framework/events
test/e2e/framework/gpu
test/e2e/framework/ingress
test/e2e/framework/internal
test/e2e/framework/job
test/e2e/framework/kubectl
test/e2e/framework/kubelet
test/e2e/framework/kubesystem
test/e2e/framework/manifest
test/e2e/framework/metrics
test/e2e/framework/metrics/initPackage init installs GrabBeforeEach and GrabAfterEach as callbacks for gathering data before and after a test.
test/e2e/framework/network
test/e2e/framework/node
test/e2e/framework/node/initPackage init registers node.AllNodesReady.
test/e2e/framework/node/runtimeclass
test/e2e/framework/perf
test/e2e/framework/pod
test/e2e/framework/pod/output
test/e2e/framework/providers
test/e2e/framework/providers/aws
test/e2e/framework/providers/azure
test/e2e/framework/providers/gce
test/e2e/framework/providers/kubemark
test/e2e/framework/providers/openstack
test/e2e/framework/providers/vsphere
test/e2e/framework/pv
test/e2e/framework/rc
test/e2e/framework/replicaset
test/e2e/framework/resource
test/e2e/framework/security
test/e2e/framework/service
test/e2e/framework/skipper
test/e2e/framework/ssh
test/e2e/framework/statefulset
test/e2e/framework/testfilesPackage testfiles provides a wrapper around various optional ways of retrieving additional files needed during a test run: - builtin bindata - filesystem access
test/e2e/framework/timer
test/e2e/framework/volume
test/e2e/framework/websocket
test/e2e/instrumentation
test/e2e/instrumentation/common
test/e2e/instrumentation/logging
test/e2e/instrumentation/monitoring
test/e2e_kubeadm
test/e2e/kubectl
test/e2e/lifecycle
test/e2e/lifecycle/bootstrap
test/e2e/networkPackage network are the end-to-end tests for Kubernetes networking.
test/e2e/network/common
test/e2e/network/netpol
test/e2e/node
test/e2e_nodePackage e2enode contains e2e tests specific to the node
test/e2e_node/builder
test/e2e_node/criproxy
test/e2e_node/environmentBuild the binary with `go build conformance.go`, then run the conformance binary on a node candidate.
test/e2e_node/kubeletconfig
test/e2e_node/perf
test/e2e_node/perftype
test/e2e_node/perf/workloads
test/e2e_node/plugins
test/e2e_node/plugins/gcp-credential-providerOriginally copied from pkg/credentialproviders/gcp
test/e2e_node/remotePackage remote contains implementations of the TestSuite interface, which specify how to run various node test suites remotely.
test/e2e_node/remote/gce
test/e2e_node/runner
test/e2e_node/runner/local
test/e2e_node/runner/remoteTo run the node e2e tests remotely against one or more hosts on gce: $ go run run_remote.go --v 2 --ssh-env gce --hosts <comma separated hosts> To run the node e2e tests remotely against one or more images on gce and provision them: $ go run run_remote.go --v 2 --project <project> --zone <zone> --ssh-env gce --images <comma separated images>
test/e2e_node/services
test/e2e_node/system
test/e2e_node/testdeviceplugin
test/e2e_node/testing-manifests
test/e2e/perftype
test/e2e/reporters
test/e2e/scheduling
test/e2e/storage
test/e2e/storage/csimock
test/e2e/storage/drivers
test/e2e/storage/drivers/csi-test
test/e2e/storage/drivers/csi-test/driver
test/e2e/storage/drivers/csi-test/mock
test/e2e/storage/drivers/csi-test/mock/cache
test/e2e/storage/drivers/csi-test/mock/service
test/e2e/storage/drivers/proxy
test/e2e/storage/external
test/e2e/storage/framework
test/e2e/storage/podlogsPackage podlogs enables live capturing of all events and log messages for some or all pods in a namespace as they get generated.
test/e2e/storage/testsuites
test/e2e/storage/utils
test/e2e/testing-manifests
test/e2e/upgradesPackage upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
test/e2e/upgrades/apps
test/e2e/upgrades/auth
test/e2e/upgrades/autoscaling
test/e2e/upgrades/network
test/e2e/upgrades/node
test/e2e/upgrades/storage
test/e2e/windows
test/fixtures
test/fuzz
test/fuzz/cbor
test/fuzz/jsonPackage json implements fuzzers for json deserialization routines in Kubernetes.
test/fuzz/yamlPackage yaml implements fuzzers for yaml deserialization routines in Kubernetes.
test/images
test/images/agnhost
test/images/agnhost/audit-proxy
test/images/agnhost/connect
test/images/agnhost/crd-conversion-webhook
test/images/agnhost/crd-conversion-webhook/converter
test/images/agnhost/dns
test/images/agnhost/entrypoint-tester
test/images/agnhost/fakegitserver
test/images/agnhost/grpc-health-checkingPackage grpchealthchecking offers a tiny grpc health checking endpoint.
test/images/agnhost/guestbook
test/images/agnhost/inclusterclient
test/images/agnhost/liveness
test/images/agnhost/logs-generator
test/images/agnhost/mounttest
test/images/agnhost/net
test/images/agnhost/net/common
test/images/agnhost/netexec
test/images/agnhost/net/nat
test/images/agnhost/nettest
test/images/agnhost/no-snat-test
test/images/agnhost/no-snat-test-proxy
test/images/agnhost/openidmetadataPackage openidmetadata tests the OIDC discovery endpoints which are part of the ServiceAccountIssuerDiscovery feature.
test/images/agnhost/pause
test/images/agnhost/porter
test/images/agnhost/port-forward-tester
test/images/agnhost/resource-consumer-controller
test/images/agnhost/serve-hostname
test/images/agnhost/tcp-reset
test/images/agnhost/test-webserverPackage testwebserver offers a tiny web server that serves a static file.
test/images/agnhost/webhook
test/images/apparmor-loader
test/images/busybox
test/images/nonewprivs
test/images/pets
test/images/pets/peer-finderA small utility program to lookup hostnames of endpoints in a service.
test/images/regression-issue-74839
test/images/resource-consumer
test/images/resource-consumer/common
test/images/resource-consumer/consume-cpu
test/images/sample-device-plugin
test/instrumentationThis stand-alone package is utilized for dynamically generating/maintaining a list of metrics; this list is determined by the stability class of the metric.
test/instrumentation/documentationThis stand-alone package is utilized for dynamically generating/maintaining documentation on all parseable metrics in the Kubernetes code base.
test/instrumentation/sort
test/integrationPackage integration provides integration tests for Kubernetes.Some tests require a running etcd or Docker installation on the system.
test/integration/apimachinery
test/integration/apiserver
test/integration/apiserver/admissionwebhook
test/integration/apiserver/anonymous
test/integration/apiserver/apply
test/integration/apiserver/cel
test/integration/apiserver/cel/authorizerselector
test/integration/apiserver/cel/authorizerselector/selectordisabled
test/integration/apiserver/cel/authorizerselector/selectorenabled
test/integration/apiserver/certreload
test/integration/apiserver/coordinatedleaderelection
test/integration/apiserver/discovery
test/integration/apiserver/flowcontrol
test/integration/apiserver/oidc
test/integration/apiserver/openapi
test/integration/apiserver/peerproxy
test/integration/apiserver/podlogs
test/integration/apiserver/portforward
test/integration/apiserver/tracing
test/integration/auth
test/integration/authutil
test/integration/benchmark
test/integration/benchmark/extractlog
test/integration/benchmark/jsonify
test/integration/certificates
test/integration/client
test/integration/client/metrics
test/integration/cloudprovider
test/integration/clustertrustbundles
test/integration/configmap
test/integration/controlplane
test/integration/controlplane/audit
test/integration/controlplane/transformation
test/integration/cronjob
test/integration/daemonset
test/integration/defaulttolerationseconds
test/integration/deployment
test/integration/disruption
test/integration/dra
test/integration/dryrun
test/integration/dualstack
test/integration/endpoints
test/integration/endpointslice
test/integration/etcd
test/integration/events
test/integration/evictions
test/integration/examples
test/integration/framework
test/integration/garbagecollector
test/integration/ipamperf
test/integration/job
test/integration/kubelet
test/integration/logs
test/integration/logs/benchmark
test/integration/logs/benchmark/contextual-logging
test/integration/logs/functional
test/integration/logs/functional/json
test/integration/metrics
test/integration/namespace
test/integration/network
test/integration/node
test/integration/objectmeta
test/integration/openshift
test/integration/podgc
test/integration/pods
test/integration/pvc
test/integration/quota
test/integration/replicaset
test/integration/replicationcontroller
test/integration/resourceclaim
test/integration/scale
test/integration/scheduler
test/integration/scheduler/bind
test/integration/scheduler/eventhandler
test/integration/scheduler/extender
test/integration/scheduler/filters
test/integration/scheduler_perf
test/integration/scheduler_perf/affinity
test/integration/scheduler_perf/dra
test/integration/scheduler_perf/event_handling
test/integration/scheduler_perf/misc
test/integration/scheduler_perf/topology_spreading
test/integration/scheduler_perf/volumes
test/integration/scheduler/plugins
test/integration/scheduler/preemption
test/integration/scheduler/queueing
test/integration/scheduler/queueing/former
test/integration/scheduler/queueing/queueinghint
test/integration/scheduler/scoring
test/integration/scheduler/serving
test/integration/scheduler/taint
test/integration/secrets
test/integration/service
test/integration/serviceaccount
test/integration/servicecidr
test/integration/serving
test/integration/statefulset
test/integration/storageclasses
test/integration/storageversion
test/integration/storageversionmigrator
test/integration/tls
test/integration/ttlcontroller
test/integration/util
test/integration/volume
test/integration/volumescheduling
test/listlist all unit and ginkgo test names that will be run
test/soak
test/soak/serve_hostnames
test/typecheckdo a fast type check of kubernetes code, for all platforms.
test/utils
test/utils/apiserver
test/utils/crd
test/utils/formatPackage format is an extension of Gomega's format package which improves printing of objects that can be serialized well as YAML, like the structs in the Kubernetes API.
test/utils/harness
test/utils/image
test/utils/junitPackage junit provides data structures to allow easy XML encoding and decoding of JUnit test results.
test/utils/ktestingPackage ktesting is a wrapper around k8s.io/klog/v2/ktesting.
test/utils/ktesting/examples
test/utils/ktesting/examples/gomegaThe tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
test/utils/ktesting/examples/loggingThe tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
test/utils/ktesting/examples/with_ktestingThe tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
test/utils/ktesting/examples/without_ktestingThe tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
test/utils/ktesting/initoption
test/utils/ktesting/internal
test/utils/kubeconfig
test/utils/oidc
test/utils/oidc/handlers
Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Last checked
1 hour ago

Tools for package owners.