package
0.32.0-beta.0
Repository: https://github.com/kubernetes/endpointslice.git
Documentation: pkg.go.dev
# Functions
NewCache returns a new Cache with the specified endpointsPerSlice.
NewServicePortCache initializes and returns a new ServicePortCache.
RegisterMetrics registers EndpointSlice metrics.
# Constants
EndpointSliceSubsystem - subsystem name used for Endpoint Slices.
# Variables
DesiredEndpointSlices tracks the number of EndpointSlices that would exist with perfect endpoint allocation.
EndpointsAddedPerSync tracks the number of endpoints added on each Service sync.
EndpointsDesired tracks the total number of desired endpoints.
EndpointSliceChanges tracks the number of changes to Endpoint Slices.
EndpointSlicesChangedPerSync observes the number of EndpointSlices changed per sync.
EndpointSliceSyncs tracks the number of sync operations the controller runs along with their result.
EndpointsRemovedPerSync tracks the number of endpoints removed on each Service sync.
NumEndpointSlices tracks the number of EndpointSlices in a cluster.
ServicesCountByTrafficDistribution tracks the number of Services using some specific trafficDistribution.
# Structs
Cache tracks values for total numbers of desired endpoints as well as the efficiency of EndpointSlice endpoints distribution.
EfficiencyInfo stores the number of Endpoints and Slices for calculating total numbers of desired endpoints and the efficiency of EndpointSlice endpoints distribution.
ServicePortCache tracks values for total numbers of desired endpoints as well as the efficiency of EndpointSlice endpoints distribution for each unique Service Port combination.