kubernetesk8s.io/kubernetes/pkg Directories

pkg/ directory

Directories

PathSynopsis
pkg/api
pkg/api/endpoints
pkg/api/endpoints/testing
pkg/api/job
pkg/api/legacyscheme
pkg/api/node
pkg/api/persistentvolume
pkg/api/persistentvolumeclaim
pkg/api/pod
pkg/api/pod/testing
pkg/apis
pkg/apis/abac
pkg/apis/abac/fuzzer
pkg/apis/abac/latest
pkg/apis/abac/v0
pkg/apis/abac/v1beta1
pkg/apis/admission
pkg/apis/admission/fuzzer
pkg/apis/admission/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/admissionregistrationPackage admissionregistration is the internal version of the API.
pkg/apis/admissionregistration/fuzzer
pkg/apis/admissionregistration/install
pkg/apis/admissionregistration/v1Package v1 is the v1 version of the API.
pkg/apis/admissionregistration/v1alpha1Package v1alpha1 is the v1alpha1 version of the API.
pkg/apis/admissionregistration/v1beta1Package v1beta1 is the v1beta1 version of the API.
pkg/apis/admissionregistration/validation
pkg/apis/admission/v1
pkg/apis/admission/v1beta1
pkg/apis/apidiscoveryPackage apidiscovery provides api definitions for the "apidiscovery.k8s.io" api group.
pkg/apis/apidiscovery/v2
pkg/apis/apidiscovery/v2beta1
pkg/apis/apiserverinternalPackage apiserverinternal contains the "internal" version of the API used by the apiservers themselves.
pkg/apis/apiserverinternal/fuzzer
pkg/apis/apiserverinternal/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/apiserverinternal/v1alpha1Package v1alpha1 contains the v1alpha1 version of the API used by the apiservers themselves.
pkg/apis/apiserverinternal/validation
pkg/apis/apps
pkg/apis/apps/fuzzer
pkg/apis/apps/installPackage install installs the apps API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/apps/v1
pkg/apis/apps/v1beta1
pkg/apis/apps/v1beta2
pkg/apis/apps/validation
pkg/apis/authentication
pkg/apis/authentication/fuzzer
pkg/apis/authentication/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/authentication/v1
pkg/apis/authentication/v1alpha1
pkg/apis/authentication/v1beta1
pkg/apis/authentication/validationPackage validation contains methods to validate kinds in the authentication.k8s.io API group.
pkg/apis/authorization
pkg/apis/authorization/fuzzer
pkg/apis/authorization/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/authorization/v1
pkg/apis/authorization/v1beta1
pkg/apis/authorization/validation
pkg/apis/autoscaling
pkg/apis/autoscaling/fuzzer
pkg/apis/autoscaling/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/autoscaling/v1
pkg/apis/autoscaling/v2
pkg/apis/autoscaling/v2beta1
pkg/apis/autoscaling/v2beta2
pkg/apis/autoscaling/validation
pkg/apis/batch
pkg/apis/batch/fuzzer
pkg/apis/batch/installPackage install installs the batch API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/batch/v1
pkg/apis/batch/v1beta1
pkg/apis/batch/validation
pkg/apis/certificates
pkg/apis/certificates/fuzzer
pkg/apis/certificates/installPackage install installs the certificates API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/certificates/v1
pkg/apis/certificates/v1alpha1
pkg/apis/certificates/v1beta1
pkg/apis/certificates/validation
pkg/apis/coordination
pkg/apis/coordination/installPackage install installs the coordination API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/coordination/v1
pkg/apis/coordination/v1alpha2
pkg/apis/coordination/v1beta1
pkg/apis/coordination/validation
pkg/apis/corePackage core contains the latest (or "internal") version of the Kubernetes API objects.
pkg/apis/core/fuzzer
pkg/apis/core/helper
pkg/apis/core/helper/qosNOTE: DO NOT use those helper functions through client-go, the package path will be changed in the future.
pkg/apis/core/installPackage install installs the v1 monolithic api, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/core/pods
pkg/apis/core/v1Package v1 is the v1 version of the API.
pkg/apis/core/v1/helper
pkg/apis/core/v1/helper/qos
pkg/apis/core/v1/validation
pkg/apis/core/validationPackage validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
pkg/apis/discovery
pkg/apis/discovery/fuzzer
pkg/apis/discovery/installPackage install installs the discovery API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/discovery/v1
pkg/apis/discovery/v1beta1
pkg/apis/discovery/validation
pkg/api/service
pkg/api/servicecidr
pkg/api/service/testing
pkg/apis/events
pkg/apis/events/installPackage install installs the events API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/events/v1
pkg/apis/events/v1beta1
pkg/apis/extensions
pkg/apis/extensions/fuzzer
pkg/apis/extensions/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/extensions/v1beta1
pkg/apis/flowcontrolPackage flowcontrol provides api definitions for the "flowcontrol.apiserver.k8s.io" api group.
pkg/apis/flowcontrol/fuzzer
pkg/apis/flowcontrol/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/flowcontrol/internalbootstrap
pkg/apis/flowcontrol/util
pkg/apis/flowcontrol/v1
pkg/apis/flowcontrol/v1beta1
pkg/apis/flowcontrol/v1beta2
pkg/apis/flowcontrol/v1beta3
pkg/apis/flowcontrol/validation
pkg/apis/imagepolicy
pkg/apis/imagepolicy/fuzzer
pkg/apis/imagepolicy/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/imagepolicy/v1alpha1
pkg/apis/networking
pkg/apis/networking/fuzzer
pkg/apis/networking/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/networking/v1
pkg/apis/networking/v1alpha1
pkg/apis/networking/v1beta1
pkg/apis/networking/validation
pkg/apis/node
pkg/apis/node/installPackage install adds the node API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/node/v1
pkg/apis/node/v1alpha1
pkg/apis/node/v1beta1
pkg/apis/node/validation
pkg/apis/policy
pkg/apis/policy/fuzzer
pkg/apis/policy/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/policy/v1Package policy is for any kind of policy object.
pkg/apis/policy/v1beta1Package policy is for any kind of policy object.
pkg/apis/policy/validation
pkg/apis/rbac
pkg/apis/rbac/fuzzer
pkg/apis/rbac/installPackage install installs the batch API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/rbac/v1
pkg/apis/rbac/v1alpha1
pkg/apis/rbac/v1beta1
pkg/apis/rbac/validation
pkg/apis/resourcePackage resource contains the latest (or "internal") version of the Kubernetes resource API objects.
pkg/apis/resource/fuzzer
pkg/apis/resource/installPackage install installs the resource API, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/resource/v1alpha3Package v1alpha3 is the v1alpha3 version of the resource API.
pkg/apis/resource/v1beta1Package v1beta1 is the v1beta1 version of the resource API.
pkg/apis/resource/v1beta2Package v1beta2 is the v1beta2 version of the resource API.
pkg/apis/resource/validation
pkg/apis/scheduling
pkg/apis/scheduling/fuzzer
pkg/apis/scheduling/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/scheduling/v1
pkg/apis/scheduling/v1alpha1
pkg/apis/scheduling/v1beta1
pkg/apis/scheduling/validation
pkg/apis/storage
pkg/apis/storage/fuzzer
pkg/apis/storage/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/storagemigration
pkg/apis/storagemigration/install
pkg/apis/storagemigration/v1alpha1
pkg/apis/storagemigration/validation
pkg/apis/storage/util
pkg/apis/storage/v1
pkg/apis/storage/v1alpha1
pkg/apis/storage/v1beta1
pkg/apis/storage/validation
pkg/api/storage
pkg/api/testingPackage testing contains - all generic API tests which depend on Kubernetes API types - all cross-Kubernetes-API tests.
pkg/api/testing/compat
pkg/api/v1
pkg/api/v1/endpoints
pkg/api/v1/persistentvolume
pkg/api/v1/pod
pkg/api/v1/resource
pkg/api/v1/service
pkg/auth
pkg/auth/authorizer
pkg/auth/authorizer/abacPackage abac authorizes Kubernetes API actions using an Attribute-based access control scheme.
pkg/auth/nodeidentifier
pkg/capabilitiesPackage capabilities manages system level capabilities
pkg/client
pkg/client/conditions
pkg/client/testsPackage tests runs tests against the client which require an internal client
pkg/cluster
pkg/cluster/portsPackage ports defines ports used by various pieces of the kubernetes infrastructure.
pkg/controllerPackage controller contains code for controllers (like the replication controller).
pkg/controller/apis
pkg/controller/apis/config
pkg/controller/apis/config/fuzzer
pkg/controller/apis/config/scheme
pkg/controller/apis/config/v1alpha1
pkg/controller/bootstrapPackage bootstrap provides automatic processes necessary for bootstraping.
pkg/controller/certificatesPackage certificates implements an abstract controller that is useful for building controllers that manage CSRs
pkg/controller/certificates/approverPackage approver implements an automated approver for kubelet certificates.
pkg/controller/certificates/authority
pkg/controller/certificates/cleanerPackage cleaner implements an automated cleaner that does garbage collection on CSRs that meet specific criteria.
pkg/controller/certificates/clustertrustbundlepublisher
pkg/controller/certificates/rootcacertpublisher
pkg/controller/certificates/signerPackage signer implements a CA signer that uses keys stored on local disk.
pkg/controller/certificates/signer/config
pkg/controller/certificates/signer/config/v1alpha1
pkg/controller/clusterroleaggregation
pkg/controller/cronjobPackage cronjob contains the controller for CronJob objects.
pkg/controller/cronjob/config
pkg/controller/cronjob/config/v1alpha1
pkg/controller/cronjob/metrics
pkg/controller/daemonPackage daemon contains logic for watching and synchronizing daemons.
pkg/controller/daemon/config
pkg/controller/daemon/config/v1alpha1
pkg/controller/daemon/util
pkg/controller/deploymentPackage deployment contains all the logic for handling Kubernetes Deployments.
pkg/controller/deployment/config
pkg/controller/deployment/config/v1alpha1
pkg/controller/deployment/util
pkg/controller/devicetaintevictionPackage devicetainteviction contains the logic implementing taint-based eviction for Pods using tainted devices (https://github.com/kubernetes/enhancements/issues/5055).
pkg/controller/devicetainteviction/metrics
pkg/controller/disruption
pkg/controller/endpointPackage endpoint provides EndpointController implementation to manage and sync service endpoints.
pkg/controller/endpoint/config
pkg/controller/endpoint/config/v1alpha1
pkg/controller/endpointslice
pkg/controller/endpointslice/config
pkg/controller/endpointslice/config/v1alpha1
pkg/controller/endpointslicemirroring
pkg/controller/endpointslicemirroring/config
pkg/controller/endpointslicemirroring/config/v1alpha1
pkg/controller/endpointslicemirroring/metrics
pkg/controller/garbagecollector
pkg/controller/garbagecollector/config
pkg/controller/garbagecollector/config/v1alpha1
pkg/controller/garbagecollector/metaonly
pkg/controller/garbagecollector/metrics
pkg/controller/history
pkg/controller/jobPackage job contains logic for watching and synchronizing jobs.
pkg/controller/job/config
pkg/controller/job/config/v1alpha1
pkg/controller/job/metrics
pkg/controller/job/util
pkg/controller/namespacePackage namespace contains a controller that handles namespace lifecycle
pkg/controller/namespace/config
pkg/controller/namespace/config/v1alpha1
pkg/controller/namespace/deletion
pkg/controller/nodeipamPackage nodeipam contains code for syncing cloud instances with node registry
pkg/controller/nodeipam/config
pkg/controller/nodeipam/config/v1alpha1
pkg/controller/nodeipam/ipamPackage ipam provides different allocators for assigning IP ranges to nodes.
pkg/controller/nodeipam/ipam/cidrset
pkg/controller/nodeipam/ipam/sync
pkg/controller/nodeipam/ipam/test
pkg/controller/nodelifecycle
pkg/controller/nodelifecycle/config
pkg/controller/nodelifecycle/config/v1alpha1
pkg/controller/nodelifecycle/scheduler
pkg/controller/podautoscalerPackage podautoscaler contains logic for autoscaling number of pods based on metrics observed.
pkg/controller/podautoscaler/config
pkg/controller/podautoscaler/config/v1alpha1
pkg/controller/podautoscaler/metrics
pkg/controller/podautoscaler/monitormetrics packages contains metrics which are exposed from the HPA controller.
pkg/controller/podgcPackage podgc contains a very simple pod "garbage collector" implementation, PodGCController, that runs in the controller manager.
pkg/controller/podgc/config
pkg/controller/podgc/config/v1alpha1
pkg/controller/podgc/metrics
pkg/controller/replicasetPackage replicaset contains logic for watching and synchronizing ReplicaSets.
pkg/controller/replicaset/config
pkg/controller/replicaset/config/v1alpha1
pkg/controller/replicaset/metrics
pkg/controller/replicationPackage replication contains logic for watching and synchronizing replication controllers.
pkg/controller/replication/config
pkg/controller/replication/config/v1alpha1
pkg/controller/resourceclaimPackage resourceclaim implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation
pkg/controller/resourceclaim/metrics
pkg/controller/resourcequotaPackage resourcequota contains a controller that makes resource quota usage observations
pkg/controller/resourcequota/config
pkg/controller/resourcequota/config/v1alpha1
pkg/controller/serviceaccountPackage serviceaccount provides implementations to manage service accounts and service account tokens
pkg/controller/serviceaccount/config
pkg/controller/serviceaccount/config/v1alpha1
pkg/controller/servicecidrs
pkg/controller/statefulset
pkg/controller/statefulset/config
pkg/controller/statefulset/config/v1alpha1
pkg/controller/storageversiongc
pkg/controller/storageversionmigrator
pkg/controller/taintevictionPackage tainteviction contains the logic implementing taint-based eviction for Pods running on Nodes with NoExecute taints.
pkg/controller/tainteviction/metrics
pkg/controller/testutil
pkg/controller/ttl
pkg/controller/ttlafterfinished
pkg/controller/ttlafterfinished/config
pkg/controller/ttlafterfinished/config/v1alpha1
pkg/controller/ttlafterfinished/metrics
pkg/controller/util
pkg/controller/util/endpointslice
pkg/controller/util/node
pkg/controller/util/selectors
pkg/controller/validatingadmissionpolicystatus
pkg/controller/validatingadmissionpolicystatus/config
pkg/controller/validatingadmissionpolicystatus/config/v1alpha1
pkg/controller/volume
pkg/controller/volume/attachdetachPackage attachdetach implements a controller to manage volume attach and detach operations.
pkg/controller/volume/attachdetach/cachePackage 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.
pkg/controller/volume/attachdetach/config
pkg/controller/volume/attachdetach/config/v1alpha1
pkg/controller/volume/attachdetach/metrics
pkg/controller/volume/attachdetach/populatorPackage populator implements interfaces that monitor and keep the states of the desired_state_of_word in sync with the "ground truth" from informer.
pkg/controller/volume/attachdetach/reconcilerPackage reconciler implements interfaces that attempt to reconcile the desired state of the with the actual state of the world by triggering actions.
pkg/controller/volume/attachdetach/statusupdaterPackage statusupdater implements interfaces that enable updating the status of API objects.
pkg/controller/volume/attachdetach/testing
pkg/controller/volume/attachdetach/util
pkg/controller/volume/common
pkg/controller/volume/ephemeralPackage ephemeral implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes
pkg/controller/volume/ephemeral/config
pkg/controller/volume/ephemeral/config/v1alpha1
pkg/controller/volume/ephemeral/metrics
pkg/controller/volume/events
pkg/controller/volume/expand
pkg/controller/volume/persistentvolume
pkg/controller/volume/persistentvolume/config
pkg/controller/volume/persistentvolume/config/v1alpha1
pkg/controller/volume/persistentvolume/metrics
pkg/controller/volume/persistentvolume/options
pkg/controller/volume/persistentvolume/testing
pkg/controller/volume/protectionutil
pkg/controller/volume/pvcprotection
pkg/controller/volume/pvprotection
pkg/controller/volume/selinuxwarning
pkg/controller/volume/selinuxwarning/cache
pkg/controller/volume/selinuxwarning/translator
pkg/controller/volume/vacprotection
pkg/controlplanePackage controlplane contains code for setting up and running a Kubernetes cluster control plane API server.
pkg/controlplane/apiserver
pkg/controlplane/apiserver/admission
pkg/controlplane/apiserver/optionsPackage options contains flags and options for initializing an apiserver
pkg/controlplane/apiserver/samplesPackage samples contains two kube-like generic control plane apiserver, one with CRDs (generic) and one without (minimum).
pkg/controlplane/apiserver/samples/genericsample-generic-controlplane is a kube-like generic control plane - with CRDs - with generic Kube native APIs - with aggregation - without the container domain specific APIs.
pkg/controlplane/apiserver/samples/generic/server
pkg/controlplane/apiserver/samples/generic/server/testing
pkg/controlplane/controller
pkg/controlplane/controller/apiserverleasegc
pkg/controlplane/controller/clusterauthenticationtrust
pkg/controlplane/controller/crdregistration
pkg/controlplane/controller/defaultservicecidr
pkg/controlplane/controller/kubernetesservice
pkg/controlplane/controller/leaderelection
pkg/controlplane/controller/legacytokentracking
pkg/controlplane/controller/systemnamespaces
pkg/controlplane/reconcilersPackage reconcilers provides objects for managing the list of active masters.
pkg/controlplane/storageversionhashdataPackage storageversionhashdata is for test only.
pkg/credentialproviderPackage credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
pkg/credentialprovider/plugin
pkg/credentialprovider/secrets
pkg/features
pkg/fieldpathPackage fieldpath supplies methods for extracting fields from objects given a path to a field.
pkg/generatedPackage generated is the destination for all generated files.
pkg/generated/openapiopenapi generated definitions.
pkg/generated/openapi/cmd
pkg/generated/openapi/cmd/models-schema
pkg/kubeapiserverPackage kubeapiserver holds code that is common to both the kube-apiserver and the federation-apiserver, but isn't part of a generic API server.
pkg/kubeapiserver/admission
pkg/kubeapiserver/admission/exclusion
pkg/kubeapiserver/authenticator
pkg/kubeapiserver/authorizer
pkg/kubeapiserver/authorizer/modes
pkg/kubeapiserver/optionsPackage options contains flags and options for initializing kube-apiserver
pkg/kubectlPackage kubectl provides the functions used by the kubectl command line tool under k8s.io/kubernetes/cmd.
pkg/kubectl/cmd
pkg/kubectl/cmd/convert
pkg/kubeletPackage kubelet is the package that contains the libraries that drive the Kubelet binary.
pkg/kubelet/allocationPackage allocation handles tracking pod resource allocations.
pkg/kubelet/allocation/state
pkg/kubelet/apis
pkg/kubelet/apis/config
pkg/kubelet/apis/config/fuzzer
pkg/kubelet/apis/config/scheme
pkg/kubelet/apis/config/v1
pkg/kubelet/apis/config/v1alpha1
pkg/kubelet/apis/config/v1beta1
pkg/kubelet/apis/config/validation
pkg/kubelet/apis/grpc
pkg/kubelet/apis/podresources
pkg/kubelet/apis/podresources/testing
pkg/kubelet/cadvisorPackage cadvisor provides an interface for Kubelet interactions with cAdvisor.
pkg/kubelet/cadvisor/testing
pkg/kubelet/certificate
pkg/kubelet/certificate/bootstrap
pkg/kubelet/checkpointmanager
pkg/kubelet/checkpointmanager/checksum
pkg/kubelet/checkpointmanager/errors
pkg/kubelet/checkpointmanager/testing
pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats
pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats/v1
pkg/kubelet/client
pkg/kubelet/cloudresource
pkg/kubelet/clustertrustbundlePackage clustertrustbundle abstracts access to ClusterTrustBundles so that projected volumes can use them.
pkg/kubelet/cmPackage cm (abbreviation of "container manager") and its subpackages contain all the kubelet code to manage containers.
pkg/kubelet/cm/admission
pkg/kubelet/cm/containermap
pkg/kubelet/cm/cpumanager
pkg/kubelet/cm/cpumanager/state
pkg/kubelet/cm/cpumanager/state/testing
pkg/kubelet/cm/cpumanager/topologyPackage topology contains helpers for the CPU manager.
pkg/kubelet/cm/devicemanager
pkg/kubelet/cm/devicemanager/checkpoint
pkg/kubelet/cm/devicemanager/plugin
pkg/kubelet/cm/devicemanager/plugin/v1beta1
pkg/kubelet/cm/dra
pkg/kubelet/cm/dra/plugin
pkg/kubelet/cm/dra/state
pkg/kubelet/cm/memorymanager
pkg/kubelet/cm/memorymanager/state
pkg/kubelet/cm/resourceupdates
pkg/kubelet/cm/testing
pkg/kubelet/cm/topologymanager
pkg/kubelet/cm/topologymanager/bitmask
pkg/kubelet/cm/util
pkg/kubelet/configPackage config implements the pod configuration readers.
pkg/kubelet/configmap
pkg/kubelet/container
pkg/kubelet/container/testing
pkg/kubelet/envvarsPackage envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
pkg/kubelet/events
pkg/kubelet/evictionPackage eviction is responsible for enforcing eviction thresholds to maintain node stability.
pkg/kubelet/eviction/api
pkg/kubelet/imagesPackage images is responsible for managing lifecycle of container images.
pkg/kubelet/images/pullmanagerpullmanager package keeps the implementation of the image pull manager and image credential verification policies
pkg/kubelet/kubeletconfig
pkg/kubelet/kubeletconfig/configfiles
pkg/kubelet/kubeletconfig/util
pkg/kubelet/kubeletconfig/util/codec
pkg/kubelet/kubeletconfig/util/files
pkg/kubelet/kubeletconfig/util/test
pkg/kubelet/kuberuntimePackage kuberuntime contains an implementation of kubecontainer.Runtime using the interface in pkg/kubelet/v1.
pkg/kubelet/kuberuntime/util
pkg/kubelet/lifecyclePackage lifecycle contains handlers for pod lifecycle events and interfaces to integrate with kubelet admission, synchronization, and eviction of pods.
pkg/kubelet/logs
pkg/kubelet/metrics
pkg/kubelet/metrics/collectors
pkg/kubelet/network
pkg/kubelet/network/dns
pkg/kubelet/nodeshutdownPackage nodeshutdown can watch for node level shutdown events and trigger graceful termination of pods running on the node prior to a system shutdown.
pkg/kubelet/nodeshutdown/systemdPackage systemd provides utility functions for kubelet to perform systemd related operations.
pkg/kubelet/nodestatus
pkg/kubelet/oom
pkg/kubelet/plegPackage pleg contains types and a generic implementation of the pod lifecycle event generator.
pkg/kubelet/pluginmanager
pkg/kubelet/pluginmanager/cachePackage cache implements data structures used by the kubelet plugin manager to keep track of registered plugins.
pkg/kubelet/pluginmanager/metrics
pkg/kubelet/pluginmanager/operationexecutorPackage 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.
pkg/kubelet/pluginmanager/pluginwatcher
pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis
pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1
pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2
pkg/kubelet/pluginmanager/reconcilerPackage 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).
pkg/kubelet/pod
pkg/kubelet/pod/testing
pkg/kubelet/preemption
pkg/kubelet/prober
pkg/kubelet/prober/results
pkg/kubelet/prober/testing
pkg/kubelet/qosPackage qos contains helper functions for quality of service.
pkg/kubelet/runtimeclass
pkg/kubelet/runtimeclass/testing
pkg/kubelet/secret
pkg/kubelet/serverPackage server contains functions related to serving Kubelet's external interface.
pkg/kubelet/server/metrics
pkg/kubelet/server/statsPackage stats handles exporting Kubelet and container stats.
pkg/kubelet/server/stats/testing
pkg/kubelet/stats
pkg/kubelet/stats/pidlimit
pkg/kubelet/status
pkg/kubelet/status/testing
pkg/kubelet/sysctl
pkg/kubelet/tokenPackage token implements a manager of serviceaccount tokens for pods running on the node.
pkg/kubelet/typesPackage types contains common types in the Kubelet.
pkg/kubelet/userns
pkg/kubelet/utilPackage util holds utility functions.
pkg/kubelet/util/cache
pkg/kubelet/util/format
pkg/kubelet/util/ioutils
pkg/kubelet/util/manager
pkg/kubelet/util/queue
pkg/kubelet/util/sliceutils
pkg/kubelet/util/storePackage store hosts a Store interface and its implementations.
pkg/kubelet/util/swap
pkg/kubelet/volumemanager
pkg/kubelet/volumemanager/cachePackage cache implements data structures used by the kubelet volume manager to keep track of attached volumes and the pods that mounted them.
pkg/kubelet/volumemanager/metrics
pkg/kubelet/volumemanager/populatorPackage populator implements interfaces that monitor and keep the states of the caches in sync with the "ground truth".
pkg/kubelet/volumemanager/reconciler
pkg/kubelet/watchdog
pkg/kubelet/winstatsPackage winstats provides a client to get node and pod level stats on windows
pkg/kubemark
pkg/printers
pkg/printers/internalversion
pkg/printers/storage
pkg/probePackage probe contains utilities for health probing, as well as health status information.
pkg/probe/exec
pkg/probe/grpc
pkg/probe/http
pkg/probe/tcp
pkg/proxyPackage proxy implements the layer-3 network proxy.
pkg/proxy/apis
pkg/proxy/apis/config
pkg/proxy/apis/config/fuzzer
pkg/proxy/apis/config/scheme
pkg/proxy/apis/config/v1alpha1
pkg/proxy/apis/config/validation
pkg/proxy/configPackage config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
pkg/proxy/conntrack
pkg/proxy/healthcheckPackage healthcheck provides tools for serving kube-proxy healthchecks.
pkg/proxy/iptables
pkg/proxy/ipvs
pkg/proxy/ipvs/ipset
pkg/proxy/ipvs/ipset/testing
pkg/proxy/ipvs/testing
pkg/proxy/ipvs/util
pkg/proxy/ipvs/util/testing
pkg/proxy/kubemark
pkg/proxy/metaproxier
pkg/proxy/metrics
pkg/proxy/nftables
pkg/proxy/util
pkg/proxy/util/nfacct
pkg/proxy/util/testing
pkg/proxy/winkernelPackage winkernel implements the Windows-kernel-based proxy
pkg/quota
pkg/quota/v1
pkg/quota/v1/evaluator
pkg/quota/v1/evaluator/corePackage core contains modules that interface with the core api group
pkg/quota/v1/install
pkg/registryPackage registry implements the storage and system logic for the core of the api server.
pkg/registry/admissionregistration
pkg/registry/admissionregistration/mutatingadmissionpolicy
pkg/registry/admissionregistration/mutatingadmissionpolicybinding
pkg/registry/admissionregistration/mutatingadmissionpolicybinding/storage
pkg/registry/admissionregistration/mutatingadmissionpolicy/storage
pkg/registry/admissionregistration/mutatingwebhookconfiguration
pkg/registry/admissionregistration/mutatingwebhookconfiguration/storage
pkg/registry/admissionregistration/resolver
pkg/registry/admissionregistration/rest
pkg/registry/admissionregistration/validatingadmissionpolicy
pkg/registry/admissionregistration/validatingadmissionpolicybinding
pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage
pkg/registry/admissionregistration/validatingadmissionpolicy/storage
pkg/registry/admissionregistration/validatingwebhookconfiguration
pkg/registry/admissionregistration/validatingwebhookconfiguration/storage
pkg/registry/apiserverinternal
pkg/registry/apiserverinternal/rest
pkg/registry/apiserverinternal/storageversionPackage storageversion provides Registry interface and it's RESTStorage implementation for storing StorageVersion api objects.
pkg/registry/apiserverinternal/storageversion/storage
pkg/registry/apps
pkg/registry/apps/controllerrevision
pkg/registry/apps/controllerrevision/storage
pkg/registry/apps/daemonsetPackage daemonset provides Registry interface and its RESTStorage implementation for storing DaemonSet api objects.
pkg/registry/apps/daemonset/storage
pkg/registry/apps/deployment
pkg/registry/apps/deployment/storage
pkg/registry/apps/replicasetPackage replicaset provides Registry interface and it's RESTStorage implementation for storing ReplicaSet api objects.
pkg/registry/apps/replicaset/storage
pkg/registry/apps/rest
pkg/registry/apps/statefulset
pkg/registry/apps/statefulset/storage
pkg/registry/authentication
pkg/registry/authentication/rest
pkg/registry/authentication/selfsubjectreview
pkg/registry/authentication/tokenreview
pkg/registry/authorization
pkg/registry/authorization/localsubjectaccessreview
pkg/registry/authorization/rest
pkg/registry/authorization/selfsubjectaccessreview
pkg/registry/authorization/selfsubjectrulesreview
pkg/registry/authorization/subjectaccessreview
pkg/registry/authorization/util
pkg/registry/autoscaling
pkg/registry/autoscaling/horizontalpodautoscaler
pkg/registry/autoscaling/horizontalpodautoscaler/storage
pkg/registry/autoscaling/rest
pkg/registry/batch
pkg/registry/batch/cronjobPackage cronjob provides Registry interface and it's RESTStorage implementation for storing CronJob api objects.
pkg/registry/batch/cronjob/storage
pkg/registry/batch/jobPackage job provides Registry interface and it's RESTStorage implementation for storing Job api objects.
pkg/registry/batch/job/storage
pkg/registry/batch/rest
pkg/registry/certificates
pkg/registry/certificates/certificatesPackage certificates provides Registry interface and its RESTStorage implementation for storing CertificateSigningRequest objects.
pkg/registry/certificates/certificates/storage
pkg/registry/certificates/clustertrustbundlePackage clustertrustbundle provides Registry interface and its RESTStorage implementation for storing ClusterTrustBundle objects.
pkg/registry/certificates/clustertrustbundle/storage
pkg/registry/certificates/rest
pkg/registry/coordination
pkg/registry/coordination/lease
pkg/registry/coordination/leasecandidate
pkg/registry/coordination/leasecandidate/storage
pkg/registry/coordination/lease/storage
pkg/registry/coordination/rest
pkg/registry/core
pkg/registry/core/componentstatusPackage componentstatus provides interfaces and implementation for retrieving cluster component status.
pkg/registry/core/configmapPackage configmap provides Registry interface and its REST implementation for storing ConfigMap API objects.
pkg/registry/core/configmap/storage
pkg/registry/core/endpointPackage endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
pkg/registry/core/endpoint/storage
pkg/registry/core/eventPackage event provides Registry interface and it's REST implementation for storing Event api objects.
pkg/registry/core/event/storage
pkg/registry/core/limitrangePackage limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects.
pkg/registry/core/limitrange/storage
pkg/registry/core/namespacePackage namespace provides Registry interface and it's REST implementation for storing Namespace api objects.
pkg/registry/core/namespace/storage
pkg/registry/core/nodePackage node provides Registry interface and implementation for storing Nodes.
pkg/registry/core/node/rest
pkg/registry/core/node/storage
pkg/registry/core/persistentvolume
pkg/registry/core/persistentvolumeclaim
pkg/registry/core/persistentvolumeclaim/storage
pkg/registry/core/persistentvolume/storage
pkg/registry/core/podPackage pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
pkg/registry/core/pod/rest
pkg/registry/core/pod/storage
pkg/registry/core/podtemplatePackage podtemplate provides RESTStorage implementations for storing PodTemplate API objects.
pkg/registry/core/podtemplate/storage
pkg/registry/core/rangeallocationPackage rangeallocation provides the Registry interface for storing RangeAllocation api objects.
pkg/registry/core/replicationcontrollerPackage replicationcontroller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
pkg/registry/core/replicationcontroller/storage
pkg/registry/core/resourcequotaPackage resourcequota provides Registry interface and it's REST implementation for storing ResourceQuota api objects.
pkg/registry/core/resourcequota/storage
pkg/registry/core/rest
pkg/registry/core/secretPackage secrets provides Registry interface and its REST implementation for storing Secret api objects.
pkg/registry/core/secret/storage
pkg/registry/core/servicePackage service provides the Registry interface and its RESTStorage implementation for storing Service api objects.
pkg/registry/core/serviceaccountPackage serviceaccount provides a Registry interface and a strategy implementation for storing ServiceAccount API objects.
pkg/registry/core/serviceaccount/storage
pkg/registry/core/service/allocator
pkg/registry/core/service/allocator/storage
pkg/registry/core/service/ipallocator
pkg/registry/core/service/ipallocator/controller
pkg/registry/core/service/ipallocator/storage
pkg/registry/core/service/portallocator
pkg/registry/core/service/portallocator/controller
pkg/registry/core/service/portallocator/storage
pkg/registry/core/service/storage
pkg/registry/discovery
pkg/registry/discovery/endpointslice
pkg/registry/discovery/endpointslice/storage
pkg/registry/discovery/rest
pkg/registry/events
pkg/registry/events/rest
pkg/registry/flowcontrol
pkg/registry/flowcontrol/ensurer
pkg/registry/flowcontrol/flowschemaPackage flowschema provides model implementation of flow-schema api
pkg/registry/flowcontrol/flowschema/storage
pkg/registry/flowcontrol/prioritylevelconfigurationPackage prioritylevelconfiguration provides model implementation of priority-level-configuration api
pkg/registry/flowcontrol/prioritylevelconfiguration/storage
pkg/registry/flowcontrol/rest
pkg/registry/networking
pkg/registry/networking/ingress
pkg/registry/networking/ingressclass
pkg/registry/networking/ingressclass/storage
pkg/registry/networking/ingress/storage
pkg/registry/networking/ipaddress
pkg/registry/networking/ipaddress/storage
pkg/registry/networking/networkpolicy
pkg/registry/networking/networkpolicy/storage
pkg/registry/networking/rest
pkg/registry/networking/servicecidr
pkg/registry/networking/servicecidr/storage
pkg/registry/node
pkg/registry/node/rest
pkg/registry/node/runtimeclass
pkg/registry/node/runtimeclass/storage
pkg/registry/policy
pkg/registry/policy/poddisruptionbudget
pkg/registry/policy/poddisruptionbudget/storage
pkg/registry/policy/rest
pkg/registry/rbac
pkg/registry/rbac/clusterrolePackage clusterrole provides Registry interface and its RESTStorage implementation for storing ClusterRole objects.
pkg/registry/rbac/clusterrolebindingPackage certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects.
pkg/registry/rbac/clusterrolebinding/policybasedPackage policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.
pkg/registry/rbac/clusterrolebinding/storage
pkg/registry/rbac/clusterrole/policybasedPackage policybased implements a standard storage for ClusterRole that prevents privilege escalation.
pkg/registry/rbac/clusterrole/storage
pkg/registry/rbac/rest
pkg/registry/rbac/rolePackage role provides Registry interface and its RESTStorage implementation for storing Role objects.
pkg/registry/rbac/rolebindingPackage certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects.
pkg/registry/rbac/rolebinding/policybasedPackage policybased implements a standard storage for RoleBinding that prevents privilege escalation.
pkg/registry/rbac/rolebinding/storage
pkg/registry/rbac/role/policybasedPackage policybased implements a standard storage for Role that prevents privilege escalation.
pkg/registry/rbac/role/storage
pkg/registry/rbac/validation
pkg/registry/registrytestPackage registrytest provides tests for Registry implementations for storing Nodes, Pods, Schedulers and Services.
pkg/registry/resource
pkg/registry/resource/deviceclass
pkg/registry/resource/deviceclass/storage
pkg/registry/resource/devicetaintrule
pkg/registry/resource/devicetaintrule/storage
pkg/registry/resource/resourceclaim
pkg/registry/resource/resourceclaim/storage
pkg/registry/resource/resourceclaimtemplate
pkg/registry/resource/resourceclaimtemplate/storage
pkg/registry/resource/resourceslice
pkg/registry/resource/resourceslice/storage
pkg/registry/resource/rest
pkg/registry/scheduling
pkg/registry/scheduling/priorityclass
pkg/registry/scheduling/priorityclass/storage
pkg/registry/scheduling/rest
pkg/registry/storage
pkg/registry/storage/csidriverPackage csidriver provides Registry interface and its REST implementation for storing csidriver api objects.
pkg/registry/storage/csidriver/storage
pkg/registry/storage/csinodePackage csinode provides Registry interface and its REST implementation for storing csinode api objects.
pkg/registry/storage/csinode/storage
pkg/registry/storage/csistoragecapacityPackage csistoragecapacity provides Registry interface and its REST implementation for storing csistoragecapacity api objects.
pkg/registry/storage/csistoragecapacity/storage
pkg/registry/storagemigration
pkg/registry/storagemigration/rest
pkg/registry/storagemigration/storagemigrationPackage storagemigration provides Registry interface and its RESTStorage implementation for storing StorageVersionMigration objects.
pkg/registry/storagemigration/storagemigration/storage
pkg/registry/storage/rest
pkg/registry/storage/storageclassPackage storageClass provides Registry interface and its REST implementation for storing storageclass api objects.
pkg/registry/storage/storageclass/storage
pkg/registry/storage/volumeattachmentPackage volumeattachment provides Registry interface and its REST implementation for storing volumeattachment api objects.
pkg/registry/storage/volumeattachment/storage
pkg/registry/storage/volumeattributesclassPackage volumeattributesclass provides Registry interface and its REST implementation for storing volumeattributesclass api objects.
pkg/registry/storage/volumeattributesclass/storage
pkg/routesPackage routes holds a collection of optional master http handlers.
pkg/scheduler
pkg/scheduler/apis
pkg/scheduler/apis/config
pkg/scheduler/apis/config/latest
pkg/scheduler/apis/config/scheme
pkg/scheduler/apis/config/testing
pkg/scheduler/apis/config/testing/defaults
pkg/scheduler/apis/config/v1
pkg/scheduler/apis/config/validation
pkg/scheduler/backend
pkg/scheduler/backend/cache
pkg/scheduler/backend/cache/debugger
pkg/scheduler/backend/cache/fake
pkg/scheduler/backend/heap
pkg/scheduler/backend/queue
pkg/scheduler/framework
pkg/scheduler/framework/autoscaler_contract
pkg/scheduler/framework/parallelize
pkg/scheduler/framework/plugins
pkg/scheduler/framework/plugins/defaultbinder
pkg/scheduler/framework/plugins/defaultpreemption
pkg/scheduler/framework/plugins/dynamicresources
pkg/scheduler/framework/plugins/examples
pkg/scheduler/framework/plugins/examples/multipoint
pkg/scheduler/framework/plugins/examples/prebind
pkg/scheduler/framework/plugins/examples/stateful
pkg/scheduler/framework/plugins/feature
pkg/scheduler/framework/plugins/helper
pkg/scheduler/framework/plugins/imagelocality
pkg/scheduler/framework/plugins/interpodaffinity
pkg/scheduler/framework/plugins/names
pkg/scheduler/framework/plugins/nodeaffinity
pkg/scheduler/framework/plugins/nodename
pkg/scheduler/framework/plugins/nodeports
pkg/scheduler/framework/plugins/noderesources
pkg/scheduler/framework/plugins/nodeunschedulable
pkg/scheduler/framework/plugins/nodevolumelimits
pkg/scheduler/framework/plugins/podtopologyspread
pkg/scheduler/framework/plugins/queuesort
pkg/scheduler/framework/plugins/schedulinggates
pkg/scheduler/framework/plugins/tainttoleration
pkg/scheduler/framework/plugins/testing
pkg/scheduler/framework/plugins/volumebinding
pkg/scheduler/framework/plugins/volumebinding/metrics
pkg/scheduler/framework/plugins/volumerestrictions
pkg/scheduler/framework/plugins/volumezone
pkg/scheduler/framework/preemption
pkg/scheduler/framework/runtime
pkg/scheduler/metrics
pkg/scheduler/metrics/resourcesPackage 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.
pkg/scheduler/profilePackage profile holds the definition of a scheduling Profile.
pkg/scheduler/testing
pkg/scheduler/testing/framework
pkg/scheduler/util
pkg/scheduler/util/assumecache
pkg/scheduler/util/queue
pkg/securityPackage security contains security apis and implementations.
pkg/security/apparmor
pkg/securitycontextPackage securitycontext contains security context api implementations
pkg/serviceaccount
pkg/serviceaccount/externaljwt
pkg/serviceaccount/externaljwt/metrics
pkg/serviceaccount/externaljwt/plugin
pkg/serviceaccount/externaljwt/plugin/testing
pkg/serviceaccount/externaljwt/plugin/testing/v1alpha1
pkg/util
pkg/util/async
pkg/util/bandwidthPackage bandwidth provides utilities for bandwidth shaping
pkg/util/coverage
pkg/util/env
pkg/util/filesystem
pkg/util/flag
pkg/util/flock
pkg/util/goroutinemapPackage goroutinemap implements a data structure for managing go routines by name.
pkg/util/goroutinemap/exponentialbackoffPackage exponentialbackoff contains logic for implementing exponential backoff for GoRoutineMap and NestedPendingOperations.
pkg/util/hash
pkg/util/interrupt
pkg/util/iptablesPackage iptables provides an interface and implementations for running iptables commands.
pkg/util/iptables/testing
pkg/util/kernel
pkg/util/labelsPackage labels provides utilities to work with Kubernetes labels.
pkg/util/node
pkg/util/oomPackage oom implements utility functions relating to out of memory management.
pkg/util/parsers
pkg/util/pod
pkg/util/procfsPackage procfs implements utility functions relating to the /proc mount.
pkg/util/removeall
pkg/util/rlimit
pkg/util/slicePackage slice provides utility methods for common operations on slices.
pkg/util/tail
pkg/util/taintspackage taints implements utilities for working with taints
pkg/util/tolerationsPackage tolerations provides utilities to work with pod spec tolerations.
pkg/volumePackage volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
pkg/volume/configmapPackage configmap contains the internal representation of configMap volumes.
pkg/volume/csi
pkg/volume/csi/fake
pkg/volume/csimigration
pkg/volume/csi/nodeinfomanagerPackage nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers
pkg/volume/csi/testing
pkg/volume/downwardapi
pkg/volume/emptydirPackage emptydir contains the internal representation of emptyDir volumes.
pkg/volume/fcPackage fc contains the internal representation of Fibre Channel (fc) volumes.
pkg/volume/flexvolume
pkg/volume/git_repoPackage git_repo contains the internal representation of git repo volumes.
pkg/volume/hostpathPackage hostpath contains the internal representation of hostPath volumes.
pkg/volume/image
pkg/volume/iscsiPackage iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
pkg/volume/localPackage local contains the internal representation of local volumes
pkg/volume/nfsPackage nfs contains the internal representation of network file system (NFS) volumes.
pkg/volume/portworxPackage portworx contains the internal representation of Portworx Block Device volumes.
pkg/volume/projected
pkg/volume/secretPackage secret contains the internal representation of secret volumes.
pkg/volume/testing
pkg/volume/utilPackage util contains utility code for use by volume plugins.
pkg/volume/util/fs
pkg/volume/util/fsquota
pkg/volume/util/fsquota/common
pkg/volume/util/hostutil
pkg/volume/util/nestedpendingoperationsPackage nestedpendingoperations is a modified implementation of pkg/util/goroutinemap.
pkg/volume/util/operationexecutorPackage 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.
pkg/volume/util/recyclerclient
pkg/volume/util/subpath
pkg/volume/util/typesPackage types defines types used only by volume components
pkg/volume/util/volumepathhandler
pkg/volume/validation
Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Last checked
3 hours ago

Tools for package owners.