...

Directory /src/k8s.io/kubernetes

Name Synopsis
..
build This package imports things required by build scripts and test packages of submodules, to force `go mod` to see them as dependencies
pause
windows
wincat package main connects to the given host and port and redirects its stdin to the connection and the connection's output to stdout.
cluster
gce
gci
mounter
images
etcd
migrate
etcd-version-monitor
cmd
clicheck
cloud-controller-manager
dependencycheck Checks for restricted dependencies in go packages.
dependencyverifier
fieldnamedocscheck
gendocs
genkubedocs
genman
genswaggertypedocs
genutils
genyaml
gotemplate
import-boss import-boss enforces import restrictions in a given repository.
importverifier
kube-apiserver APIServer is the main API server and master for the cluster.
app Package app does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure.
options Package options contains flags and options for initializing an apiserver
testing
kube-controller-manager The controller manager is responsible for monitoring replication controllers, and creating corresponding pods to achieve the desired state.
app Package app implements a server that runs a set of active components.
config
options Package options provides the flags used for the controller manager.
testing
names
kube-proxy
app Package app does all of the work necessary to configure and run a Kubernetes app process.
kube-scheduler
app Package app implements a Server object for running the scheduler.
config
options
testing
kubeadm
app
apis
bootstraptoken Package bootstraptoken contains an API and utilities wrapping the "bootstrap.kubernetes.io/token" Secret type to ease its usage in kubeadm.
v1
kubeadm Package kubeadm is the package that contains the libraries that drive the kubeadm binary.
fuzzer
scheme
v1beta3 Package v1beta3 defines the v1beta3 version of the kubeadm configuration file format.
v1beta4 Package v1beta4 defines the v1beta4 version of the kubeadm configuration file format.
validation
output Package output implements the kubeadm structured output The purpose of the kubeadm structured output is to have a well defined versioned output format that other software that uses kubeadm for cluster deployments can use and rely on.
fuzzer
scheme
v1alpha2 Package v1alpha2 defines the v1alpha2 version of the kubeadm data structures related to structured output The purpose of the kubeadm structured output is to have a well defined versioned output format that other software that uses kubeadm for cluster deployments can use and rely on.
v1alpha3 Package v1alpha3 defines the v1alpha3 version of the kubeadm data structures related to structured output The purpose of the kubeadm structured output is to have a well defined versioned output format that other software that uses kubeadm for cluster deployments can use and rely on.
cmd
alpha
options Package options provide a central point for defining flags for kubeadm cobra commands, no matter if hard coded commands or autogenerated command for phases.
phases
init
join Package phases includes command line phases for kubeadm join
reset
upgrade
node
workflow Package workflow implements a workflow manager to be used for implementing composable kubeadm workflows.
upgrade
util
componentconfigs
constants
discovery
file
https
token
features
images
phases
addons
dns
proxy
bootstraptoken
clusterinfo
node
certs
renewal
controlplane
copycerts
etcd
kubeconfig
kubelet
markcontrolplane
patchnode
upgrade
uploadconfig
preflight
util
apiclient
certs
config Package config contains utilities for managing the kubeadm configuration API.
strict
crypto
dryrun
etcd
image
initsystem
kubeconfig
output
patches
pkiutil
testing
pubkeypin Package pubkeypin provides primitives for x509 public key pinning in the style of RFC7469.
runtime
staticpod
users
test
cmd
kubeconfig
resources
kubectl
kubectl-convert
kubelet The kubelet binary is responsible for maintaining a set of containers on a particular host VM.
app Package app makes it easy to create a kubelet server for various contexts.
options Package options contains all of the primary arguments for a kubelet.
kubemark
app
preferredimports verify that all the imports have our preferred alias(es).
prune-junit-xml
yamlfmt
hack
boilerplate
test
conformance This tool is for checking conformance e2e tests follow the requirements which is https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md#conformance-test-requirements
pkg
api
endpoints
testing
job
legacyscheme
node
persistentvolume
persistentvolumeclaim
pod
service
testing
storage
testing Package testing contains - all generic API tests which depend on Kubernetes API types - all cross-Kubernetes-API tests.
compat
v1
endpoints
persistentvolume
pod
resource
service
apis
abac
fuzzer
latest
v0
v1beta1
admission
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
admissionregistration Package admissionregistration is the internal version of the API.
fuzzer
install
v1 Package v1 is the v1 version of the API.
v1alpha1 Package v1alpha1 is the v1alpha1 version of the API.
v1beta1 Package v1beta1 is the v1beta1 version of the API.
validation
apidiscovery Package apidiscovery provides api definitions for the "apidiscovery.k8s.io" api group.
v2
v2beta1
apiserverinternal Package apiserverinternal contains the "internal" version of the API used by the apiservers themselves.
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1alpha1 Package v1alpha1 contains the v1alpha1 version of the API used by the apiservers themselves.
validation
apps
fuzzer
install Package install installs the apps API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
v1beta2
validation
authentication
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1alpha1
v1beta1
validation Package validation contains methods to validate kinds in the authentication.k8s.io API group.
authorization
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
validation
autoscaling
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v2
v2beta1
v2beta2
validation
batch
fuzzer
install Package install installs the batch API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
validation
certificates
fuzzer
install Package install installs the certificates API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1alpha1
v1beta1
validation
coordination
install Package install installs the coordination API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
validation
core Package core contains the latest (or "internal") version of the Kubernetes API objects.
fuzzer
helper
qos NOTE: DO NOT use those helper functions through client-go, the package path will be changed in the future.
install Package install installs the v1 monolithic api, making it available as an option to all of the API encoding/decoding machinery.
pods
v1 Package v1 is the v1 version of the API.
helper
qos
validation
validation Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
discovery
fuzzer
install Package install installs the discovery API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
validation
events
install Package install installs the events API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1beta1
extensions
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1beta1
flowcontrol Package flowcontrol provides api definitions for the "flowcontrol.apiserver.k8s.io" api group.
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
internalbootstrap
util
v1
v1beta1
v1beta2
v1beta3
validation
imagepolicy
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1alpha1
networking
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1alpha1
v1beta1
validation
node
install Package install adds the node API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1alpha1
v1beta1
validation
policy
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1 Package policy is for any kind of policy object.
v1beta1 Package policy is for any kind of policy object.
validation
rbac
fuzzer
install Package install installs the batch API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1alpha1
v1beta1
validation
resource Package resource contains the latest (or "internal") version of the Kubernetes resource API objects.
fuzzer
install Package install installs the resource API, making it available as an option to all of the API encoding/decoding machinery.
structured
namedresources
validation
v1alpha2 Package v1alpha2 is the v1alpha2 version of the resource API.
validation
scheduling
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1
v1alpha1
v1beta1
validation
storage
fuzzer
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
util
v1
v1alpha1
v1beta1
validation
storagemigration
install
v1alpha1
validation
auth
authorizer
abac Package abac authorizes Kubernetes API actions using an Attribute-based access control scheme.
nodeidentifier
capabilities Package capabilities manages system level capabilities
client
conditions
tests Package tests runs tests against the client which require an internal client
cloudprovider Package cloudprovider supplies interfaces and implementations for cloud service providers.
providers
cluster
ports Package ports defines ports used by various pieces of the kubernetes infrastructure.
controller Package controller contains code for controllers (like the replication controller).
apis
config
fuzzer
scheme
v1alpha1
bootstrap Package bootstrap provides automatic processes necessary for bootstraping.
certificates Package certificates implements an abstract controller that is useful for building controllers that manage CSRs
approver Package approver implements an automated approver for kubelet certificates.
authority
cleaner Package cleaner implements an automated cleaner that does garbage collection on CSRs that meet specific criteria.
rootcacertpublisher
signer Package signer implements a CA signer that uses keys stored on local disk.
config
v1alpha1
clusterroleaggregation
cronjob Package cronjob contains the controller for CronJob objects.
config
v1alpha1
metrics
daemon Package daemon contains logic for watching and synchronizing daemons.
config
v1alpha1
util
deployment Package deployment contains all the logic for handling Kubernetes Deployments.
config
v1alpha1
util
disruption
endpoint Package endpoint provides EndpointController implementation to manage and sync service endpoints.
config
v1alpha1
endpointslice
config
v1alpha1
endpointslicemirroring
config
v1alpha1
metrics
garbagecollector
config
v1alpha1
metaonly
metrics
history
job Package job contains logic for watching and synchronizing jobs.
config
v1alpha1
metrics
namespace Package namespace contains a controller that handles namespace lifecycle
config
v1alpha1
deletion
nodeipam Package nodeipam contains code for syncing cloud instances with node registry
config
v1alpha1
ipam Package ipam provides different allocators for assigning IP ranges to nodes.
cidrset
sync
test
nodelifecycle
config
v1alpha1
scheduler
podautoscaler Package podautoscaler contains logic for autoscaling number of pods based on metrics observed.
config
v1alpha1
metrics
monitor metrics packages contains metrics which are exposed from the HPA controller.
podgc Package podgc contains a very simple pod "garbage collector" implementation, PodGCController, that runs in the controller manager.
config
v1alpha1
metrics
replicaset Package replicaset contains logic for watching and synchronizing ReplicaSets.
config
v1alpha1
metrics
replication Package replication contains logic for watching and synchronizing replication controllers.
config
v1alpha1
resourceclaim Package resourceclaim implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation
metrics
resourcequota Package resourcequota contains a controller that makes resource quota usage observations
config
v1alpha1
serviceaccount Package serviceaccount provides implementations to manage service accounts and service account tokens
config
v1alpha1
servicecidrs
statefulset
config
v1alpha1
storageversiongc
storageversionmigrator
tainteviction Package tainteviction contains the logic implementing taint-based eviction for Pods running on Nodes with NoExecute taints.
metrics
testutil
ttl
ttlafterfinished
config
v1alpha1
metrics
util
endpointslice
node
selectors
validatingadmissionpolicystatus
config
v1alpha1
volume
attachdetach Package attachdetach implements a controller to manage volume attach and detach operations.
cache Package cache implements data structures used by the attach/detach controller to keep track of volumes, the nodes they are attached to, and the pods that reference them.
config
v1alpha1
metrics
populator Package populator implements interfaces that monitor and keep the states of the desired_state_of_word in sync with the "ground truth" from informer.
reconciler Package reconciler implements interfaces that attempt to reconcile the desired state of the with the actual state of the world by triggering actions.
statusupdater Package statusupdater implements interfaces that enable updating the status of API objects.
testing
util
common
ephemeral Package ephemeral implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes
config
v1alpha1
metrics
events
expand
persistentvolume
config
v1alpha1
metrics
options
testing
protectionutil
pvcprotection
pvprotection
controlplane Package controlplane contains code for setting up and running a Kubernetes cluster control plane API server.
apiserver
options Package options contains flags and options for initializing an apiserver
controller
apiserverleasegc
clusterauthenticationtrust
crdregistration
defaultservicecidr
kubernetesservice
legacytokentracking
systemnamespaces
reconcilers Package reconcilers provides objects for managing the list of active masters.
storageversionhashdata Package storageversionhashdata is for test only.
credentialprovider Package credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
gcp Package gcp contains implementations of DockerConfigProvider for Google Cloud Platform.
plugin
secrets
features
fieldpath Package fieldpath supplies methods for extracting fields from objects given a path to a field.
generated Package generated is the destination for all generated files.
openapi openapi generated definitions.
cmd
models-schema
kubeapiserver Package kubeapiserver holds code that is common to both the kube-apiserver and the federation-apiserver, but isn't part of a generic API server.
admission
exclusion
authenticator
authorizer
modes
options Package options contains flags and options for initializing kube-apiserver
kubectl Package kubectl provides the functions used by the kubectl command line tool under k8s.io/kubernetes/cmd.
cmd
convert
kubelet Package kubelet is the package that contains the libraries that drive the Kubelet binary.
apis
config
fuzzer
scheme
v1
v1alpha1
v1beta1
validation
grpc
podresources
testing Package testing is a generated GoMock package.
cadvisor Package cadvisor provides an interface for Kubelet interactions with cAdvisor.
testing Package testing is a generated GoMock package.
certificate
bootstrap
checkpointmanager
checksum
errors
testing
example_checkpoint_formats
v1
client
cloudresource
clustertrustbundle Package clustertrustbundle abstracts access to ClusterTrustBundles so that projected volumes can use them.
cm Package cm (abbreviation of "container manager") and its subpackages contain all the kubelet code to manage containers.
admission
containermap
cpumanager
state
testing
topology Package topology contains helpers for the CPU manager.
devicemanager
checkpoint
plugin
v1beta1
dra
plugin
state
memorymanager
state
topologymanager
bitmask
util
cdi
config Package config implements the pod configuration readers.
configmap
container
testing Package testing is a generated GoMock package.
cri
remote Package remote contains gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.
fake Package fake containers a fake gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.
envvars Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
events
eviction Package eviction is responsible for enforcing eviction thresholds to maintain node stability.
api
images Package images is responsible for managing lifecycle of container images.
kubeletconfig
configfiles
util
codec
files
test
kuberuntime Package kuberuntime contains an implementation of kubecontainer.Runtime using the interface in pkg/kubelet/v1.
logs
util
lifecycle Package lifecycle contains handlers for pod lifecycle events and interfaces to integrate with kubelet admission, synchronization, and eviction of pods.
logs
metrics
collectors
network
dns
nodeshutdown Package nodeshutdown can watch for node level shutdown events and trigger graceful termination of pods running on the node prior to a system shutdown.
systemd Package systemd provides utility functions for kubelet to perform systemd related operations.
nodestatus
oom
pleg Package pleg contains types and a generic implementation of the pod lifecycle event generator.
pluginmanager
cache Package cache implements data structures used by the kubelet plugin manager to keep track of registered plugins.
metrics
operationexecutor Package operationexecutor implements interfaces that enable execution of register and unregister operations with a goroutinemap so that more than one operation is never triggered on the same plugin.
pluginwatcher
example_plugin_apis
v1beta1
v1beta2
reconciler Package reconciler implements interfaces that attempt to reconcile the desired state of the world with the actual state of the world by triggering relevant actions (register/deregister plugins).
pod
testing Package testing is a generated GoMock package.
preemption
prober
results
testing
qos Package qos contains helper functions for quality of service.
runtimeclass
testing
secret
server Package server contains functions related to serving Kubelet's external interface.
metrics
stats Package stats handles exporting Kubelet and container stats.
testing Package testing is a generated GoMock package.
stats
pidlimit
status
state
testing Package testing is a generated GoMock package.
sysctl
token Package token implements a manager of serviceaccount tokens for pods running on the node.
types Package types contains common types in the Kubelet.
userns
inuserns
util Package util holds utility functions.
cache
format
ioutils
manager
queue
sliceutils
store Package store hosts a Store interface and its implementations.
volumemanager
cache Package cache implements data structures used by the kubelet volume manager to keep track of attached volumes and the pods that mounted them.
metrics
populator Package populator implements interfaces that monitor and keep the states of the caches in sync with the "ground truth".
reconciler
winstats Package winstats provides a client to get node and pod level stats on windows
kubemark
printers
internalversion
storage
probe Package probe contains utilities for health probing, as well as health status information.
exec
grpc
http
tcp
proxy Package proxy implements the layer-3 network proxy.
apis
config
fuzzer
scheme
v1alpha1
validation
config Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
conntrack
healthcheck Package healthcheck provides tools for serving kube-proxy healthchecks.
iptables
ipvs
ipset
testing
testing
util
testing
kubemark
metaproxier
metrics
nftables
util
iptables
testing
winkernel
testing
quota
v1
evaluator
core Package core contains modules that interface with the core api group
install
registry Package registry implements the storage and system logic for the core of the api server.
admissionregistration
mutatingwebhookconfiguration
storage
resolver
rest
validatingadmissionpolicy
storage
validatingadmissionpolicybinding
storage
validatingwebhookconfiguration
storage
apiserverinternal
rest
storageversion Package storageversion provides Registry interface and it's RESTStorage implementation for storing StorageVersion api objects.
storage
apps
controllerrevision
storage
daemonset Package daemonset provides Registry interface and its RESTStorage implementation for storing DaemonSet api objects.
storage
deployment
storage
replicaset Package replicaset provides Registry interface and it's RESTStorage implementation for storing ReplicaSet api objects.
storage
rest
statefulset
storage
authentication
rest
selfsubjectreview
tokenreview
authorization
localsubjectaccessreview
rest
selfsubjectaccessreview
selfsubjectrulesreview
subjectaccessreview
util
autoscaling
horizontalpodautoscaler
storage
rest
batch
cronjob Package cronjob provides Registry interface and it's RESTStorage implementation for storing CronJob api objects.
storage
job Package job provides Registry interface and it's RESTStorage implementation for storing Job api objects.
storage
rest
certificates
certificates Package certificates provides Registry interface and its RESTStorage implementation for storing CertificateSigningRequest objects.
storage
clustertrustbundle Package clustertrustbundle provides Registry interface and its RESTStorage implementation for storing ClusterTrustBundle objects.
storage
rest
coordination
lease
storage
rest
core
componentstatus Package componentstatus provides interfaces and implementation for retrieving cluster component status.
configmap Package configmap provides Registry interface and its REST implementation for storing ConfigMap API objects.
storage
endpoint Package endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
storage
event Package event provides Registry interface and it's REST implementation for storing Event api objects.
storage
limitrange Package limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects.
storage
namespace Package namespace provides Registry interface and it's REST implementation for storing Namespace api objects.
storage
node Package node provides Registry interface and implementation for storing Nodes.
rest
storage
persistentvolume
storage
persistentvolumeclaim
storage
pod Package pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
rest
storage
podtemplate Package podtemplate provides RESTStorage implementations for storing PodTemplate API objects.
storage
rangeallocation Package rangeallocation provides the Registry interface for storing RangeAllocation api objects.
replicationcontroller Package replicationcontroller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
storage
resourcequota Package resourcequota provides Registry interface and it's REST implementation for storing ResourceQuota api objects.
storage
rest
secret Package secrets provides Registry interface and its REST implementation for storing Secret api objects.
storage
service Package service provides the Registry interface and its RESTStorage implementation for storing Service api objects.
allocator
storage
ipallocator
controller
storage
portallocator
controller
storage
storage
serviceaccount Package serviceaccount provides a Registry interface and a strategy implementation for storing ServiceAccount API objects.
storage
discovery
endpointslice
storage
rest
events
rest
flowcontrol
ensurer
flowschema Package flowschema provides model implementation of flow-schema api
storage
prioritylevelconfiguration Package prioritylevelconfiguration provides model implementation of priority-level-configuration api
storage
rest
networking
ingress
storage
ingressclass
storage
ipaddress
storage
networkpolicy
storage
rest
servicecidr
storage
node
rest
runtimeclass
storage
policy
poddisruptionbudget
storage
rest
rbac
clusterrole Package clusterrole provides Registry interface and its RESTStorage implementation for storing ClusterRole objects.
policybased Package policybased implements a standard storage for ClusterRole that prevents privilege escalation.
storage
clusterrolebinding Package certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects.
policybased Package policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.
storage
rest
role Package role provides Registry interface and its RESTStorage implementation for storing Role objects.
policybased Package policybased implements a standard storage for Role that prevents privilege escalation.
storage
rolebinding Package certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects.
policybased Package policybased implements a standard storage for RoleBinding that prevents privilege escalation.
storage
validation
registrytest Package registrytest provides tests for Registry implementations for storing Nodes, Pods, Schedulers and Services.
resource
podschedulingcontext
storage
resourceclaim
storage
resourceclaimparameters
storage
resourceclaimtemplate
storage
resourceclass
storage
resourceclassparameters
storage
resourceslice
storage
rest
scheduling
priorityclass
storage
rest
storage
csidriver Package csidriver provides Registry interface and its REST implementation for storing csidriver api objects.
storage
csinode Package csinode provides Registry interface and its REST implementation for storing csinode api objects.
storage
csistoragecapacity Package csistoragecapacity provides Registry interface and its REST implementation for storing csistoragecapacity api objects.
storage
rest
storageclass Package storageClass provides Registry interface and its REST implementation for storing storageclass api objects.
storage
volumeattachment Package volumeattachment provides Registry interface and its REST implementation for storing volumeattachment api objects.
storage
volumeattributesclass Package volumeattributesclass provides Registry interface and its REST implementation for storing volumeattributesclass api objects.
storage
storagemigration
rest
storagemigration Package storagemigration provides Registry interface and its RESTStorage implementation for storing StorageVersionMigration objects.
storage
routes Package routes holds a collection of optional master http handlers.
scheduler
apis
config
latest
scheme
testing
defaults
v1
validation
framework
parallelize
plugins
defaultbinder
defaultpreemption
dynamicresources
structured
namedresources
examples
multipoint
prebind
stateful
feature
helper
imagelocality
interpodaffinity
names
nodeaffinity
nodename
nodeports
noderesources
nodeunschedulable
nodevolumelimits
podtopologyspread
queuesort
schedulinggates
tainttoleration
testing
volumebinding
metrics
volumerestrictions
volumezone
preemption
runtime
metrics
resources Package resources provides a metrics collector that reports the resource consumption (requests and limits) of the pods in the cluster as the scheduler and kubelet would interpret it.
profile Package profile holds the definition of a scheduling Profile.
testing
framework
util
security Package security contains security apis and implementations.
apparmor
securitycontext Package securitycontext contains security context api implementations
serviceaccount
util
async
bandwidth Package bandwidth provides utilities for bandwidth shaping
coverage Package coverage provides tools for coverage-instrumented binaries to collect and flush coverage information.
env
filesystem
flag
flock
goroutinemap Package goroutinemap implements a data structure for managing go routines by name.
exponentialbackoff Package exponentialbackoff contains logic for implementing exponential backoff for GoRoutineMap and NestedPendingOperations.
hash
interrupt
iptables Package iptables provides an interface and implementations for running iptables commands.
testing
iptree
kernel
labels Package labels provides utilities to work with Kubernetes labels.
node
oom Package oom implements utility functions relating to out of memory management.
parsers
pod
procfs Package procfs implements utility functions relating to the /proc mount.
removeall
rlimit
slice Package slice provides utility methods for common operations on slices.
tail
taints package taints implements utilities for working with taints
tolerations Package tolerations provides utilities to work with pod spec tolerations.
volume Package volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
cephfs Package cephfs contains the internal representation of Ceph file system (CephFS) volumes.
configmap Package configmap contains the internal representation of configMap volumes.
csi
fake
nodeinfomanager Package nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers
testing
csimigration
downwardapi
emptydir Package emptydir contains the internal representation of emptyDir volumes.
fc Package fc contains the internal representation of Fibre Channel (fc) volumes.
flexvolume
git_repo Package git_repo contains the internal representation of git repo volumes.
hostpath Package hostpath contains the internal representation of hostPath volumes.
iscsi Package iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
local Package local contains the internal representation of local volumes
nfs Package nfs contains the internal representation of network file system (NFS) volumes.
portworx Package portworx contains the internal representation of Portworx Block Device volumes.
projected
rbd Package rbd contains the internal representation of Rados Block Store (Ceph) volumes.
secret Package secret contains the internal representation of secret volumes.
testing
util Package util contains utility code for use by volume plugins.
fs
fsquota
common
hostutil
nestedpendingoperations Package nestedpendingoperations is a modified implementation of pkg/util/goroutinemap.
operationexecutor Package operationexecutor implements interfaces that enable execution of attach, detach, mount, and unmount operations with a nestedpendingoperations so that more than one operation is never triggered on the same volume for the same pod.
recyclerclient
subpath
types Package types defines types used only by volume components
volumepathhandler
validation
windows
service
plugin
pkg
admission
admit
alwayspullimages Package alwayspullimages contains an admission controller that modifies every new Pod to force the image pull policy to Always.
antiaffinity Package antiaffinity provides the LimitPodHardAntiAffinityTopology admission controller.
certificates
approval
ctbattest
signing
subjectrestriction
defaulttolerationseconds
deny
eventratelimit Package eventratelimit contains an admission controller that enforces a rate limit on events
apis
eventratelimit
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1alpha1 Package v1alpha1 is the v1alpha1 version of the API.
validation
extendedresourcetoleration
gc
imagepolicy Package imagepolicy contains an admission controller that configures a webhook to which policy decisions are delegated.
limitranger
namespace
autoprovision
exists
network
defaultingressclass
denyserviceexternalips
noderestriction
nodetaint
podnodeselector
podtolerationrestriction Package podtolerationrestriction is a plugin that first verifies any conflict between a pod's tolerations and its namespace's tolerations, and rejects the pod if there's a conflict.
apis
podtolerationrestriction
install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1alpha1 Package v1alpha1 is the v1alpha1 version of the API.
validation
priority
runtimeclass Package runtimeclass contains an admission controller for modifying and validating new Pods to take RuntimeClass into account.
security Package security contains admission plugins specific to cluster security.
podsecurity
serviceaccount Package serviceaccount enforces all pods having an associated serviceaccount, and all containers mounting the API token for that serviceaccount at a known location
storage
persistentvolume
label Package label created persistent volumes with zone information as provided by the cloud provider
resize
storageclass
setdefault
storageobjectinuseprotection
auth Package auth contains implementations for interfaces in the pkg/auth package
authenticator
token
bootstrap Package bootstrap provides a token authenticator for TLS bootstrap secrets.
authorizer Package authorizer contains implementations for pkg/auth/authorizer interfaces
node
rbac Package rbac implements the authorizer.Authorizer interface using roles base access control.
bootstrappolicy
test
conformance This stand-alone package is utilized for dynamically generating/maintaining a list of conformance tests.
image
go-runner
e2e
apimachinery Package apimachinery contains e2e tests owned by SIG-API-Machinery.
apps
architecture
auth
autoscaling
chaosmonkey
cloud
gcp
apps
auth
common
network
node
common
network
node
storage
dra
test-driver
app Package app does all of the work necessary to configure and run a Kubernetes app process.
environment Package environment contains pre-defined environments used by test/e2e and/or test/e2e_node.
feature Package feature contains pre-defined features used by test/e2e and/or test/e2e_node.
framework Package framework contains provider-independent helper code for building and running E2E tests with Ginkgo.
auth
autoscaling
config Package config simplifies the declaration of configuration options.
daemonset
debug
init Package init sets debug.DumpAllNamespaceInfo as implementation in the framework and enables log size verification and resource gathering.
deployment
endpoints
endpointslice
events
gpu
ingress
job
kubectl
kubelet
kubesystem
manifest
metrics
init Package init installs GrabBeforeEach and GrabAfterEach as callbacks for gathering data before and after a test.
network
node
init Package init registers node.AllNodesReady.
runtimeclass
perf
pod
output
providers
aws
azure
gce
kubemark
openstack
vsphere
pv
rc
replicaset
resource
security
service
skipper
ssh
statefulset
testfiles Package testfiles provides a wrapper around various optional ways of retrieving additional files needed during a test run: - builtin bindata - filesystem access
timer
volume
websocket
instrumentation
common
logging
monitoring
kubectl
lifecycle
bootstrap
network Package network are the end-to-end tests for Kubernetes networking.
common
netpol
scale
localrun
node
nodefeature Package feature contains pre-defined node features used by test/e2e and/or test/e2e_node.
perftype
reporters
scheduling
storage
csi_mock
drivers
csi-test
driver Package driver is a generated GoMock package.
mock
cache
service
proxy
external
framework
podlogs Package podlogs enables live capturing of all events and log messages for some or all pods in a namespace as they get generated.
testsuites
utils
testing-manifests
upgrades Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
apps
auth
autoscaling
network
node
storage
windows
e2e_kubeadm
e2e_node Package e2enode contains e2e tests specific to the node
builder
environment Build the binary with `go build conformance.go`, then run the conformance binary on a node candidate.
kubeletconfig
perf
workloads
perftype
plugins
gcp-credential-provider Originally copied from pkg/credentialproviders/gcp
remote Package remote contains implementations of the TestSuite interface, which specify how to run various node test suites remotely.
gce
runner
local
remote To 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>
services
system
testing-manifests
fixtures
fuzz
cbor
json Package json implements fuzzers for json deserialization routines in Kubernetes.
yaml Package yaml implements fuzzers for yaml deserialization routines in Kubernetes.
images
agnhost
audit-proxy
connect
crd-conversion-webhook
converter
dns
entrypoint-tester
fakegitserver
grpc-health-checking Package grpchealthchecking offers a tiny grpc health checking endpoint.
guestbook
inclusterclient
liveness
logs-generator
mounttest
net
common
nat
netexec
nettest
no-snat-test
no-snat-test-proxy
openidmetadata Package openidmetadata tests the OIDC discovery endpoints which are part of the ServiceAccountIssuerDiscovery feature.
pause
port-forward-tester
porter
resource-consumer-controller
serve-hostname
tcp-reset
test-webserver Package testwebserver offers a tiny web server that serves a static file.
webhook
apparmor-loader
busybox
nonewprivs
pets
peer-finder A small utility program to lookup hostnames of endpoints in a service.
regression-issue-74839
resource-consumer
common
consume-cpu
sample-device-plugin
instrumentation This stand-alone package is utilized for dynamically generating/maintaining a list of metrics; this list is determined by the stability class of the metric.
documentation This stand-alone package is utilized for dynamically generating/maintaining documentation on all parseable metrics in the Kubernetes code base.
sort
integration Package integration provides integration tests for Kubernetes.Some tests require a running etcd or Docker installation on the system.
apiserver
cel
discovery
authutil
benchmark
extractlog
jsonify
daemonset
deployment
etcd
framework
ipamperf
logs
benchmark
metrics
scheduler
scheduler_perf
statefulset
storageversionmigrator
util
volumescheduling
list list all unit and ginkgo test names that will be run
soak
serve_hostnames
typecheck do a fast type check of kubernetes code, for all platforms.
utils
apiserver
crd
format Package 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.
harness
image
junit Package junit provides data structures to allow easy XML encoding and decoding of JUnit test results.
ktesting Package ktesting is a wrapper around k8s.io/klog/v2/ktesting.
examples
gomega The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
logging The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
with_ktesting The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
without_ktesting The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
initoption
kubeconfig
oidc Package oidc is a generated GoMock package.
third_party
forked
golang
expansion
net
gonum
graph
simple Package simple provides a suite of simple graph implementations satisfying the gonum/graph interfaces.
traverse Package traverse provides basic graph traversal primitives.
gotestsum
junitxml Package junitxml creates a JUnit XML report from a testjson.Execution.
vishhstress Package vishhstress was forked from <https://github.com/vishh/stress/tree/eab4e3384bcad9899b8b801b4a1917a758e97d96> so that it can be consumed from agnhost.