How kubernetes/kubelet works
This staged repository publishes Kubernetes kubelet API types and protocol contracts; it is not the kubelet runtime. Its documented user workflow is for third-party tools to author and vendor versioned ComponentConfig types. Separate API families define contracts for device plugins, DRA, plugin registration, pod resources, pods, and stats. The DRA version bridge and DRA-health adapters preserve compatibility between API versions. Source sampling is limited, so links between unsampled contracts and external callers are omitted rather than inferred.
Main entry points: v1beta1 DRA version bridge · conversion.go Health version adapter · v1/types.go Config v1 · v1alpha1/types.go Config v1alpha1
Components 21
ComponentConfig
- Config v1
config/v1/types.go - Config v1alpha1
config/v1alpha1/types.go - Config v1beta1
config/v1beta1/types.go
Resource APIs
- DRA v1
pkg/apis/dra/v1/types.go - DRA v1beta1
pkg/apis/dra/v1beta1/types.go - DRA version bridge
pkg/apis/dra/v1beta1 - DRA health v1
pkg/apis/dra-health/v1/types.go - DRA health v1alpha1
pkg/apis/dra-health/v1alpha1/types.go - Health version adapter
pkg/apis/dra-health/v1/conversion.go
Plugin Protocols
- Device plugin v1alpha
pkg/apis/deviceplugin/v1alpha/api.proto - Device plugin v1beta1
pkg/apis/deviceplugin/v1beta1/api.proto - Plugin registration v1
pkg/apis/pluginregistration/v1/api.proto - Registration v1alpha1
pkg/apis/pluginregistration/v1alpha1/api.proto - Registration v1beta1
pkg/apis/pluginregistration/v1beta1/api.proto - Pod resources v1
pkg/apis/podresources/v1/api.proto - Pod resources v1alpha1
pkg/apis/podresources/v1alpha1/api.proto - Pods v1alpha1
pkg/apis/pods/v1alpha1/api.proto - Stats v1alpha1
pkg/apis/stats/v1alpha1/types.go
Shared Types
- Pod label helpers
pkg/types/labels.go - Kubelet label rules
pkg/apis/well_known_labels.go
Other components
- Third-party tools
Connections 7
- Third-party tools → Config v1: authors and vendors
README.md - Third-party tools → Config v1alpha1: authors and vendors
README.md - Third-party tools → Config v1beta1: authors and vendors
README.md - DRA version bridge → DRA v1: converts versions
pkg/apis/dra/v1beta1/conversion.go - DRA version bridge → DRA v1beta1: converts versions
pkg/apis/dra/v1beta1/conversion.go - Health version adapter → DRA health v1: adapts service
pkg/apis/dra-health/v1/conversion.go - Health version adapter → DRA health v1alpha1: converts messages
pkg/apis/dra-health/v1/conversion.go