package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
NewCache returns a new Cache with the specified endpointsPerSlice.
NewEndpointPortCache initializes and returns a new EndpointPortCache.
RegisterMetrics registers EndpointSlice metrics.
# Constants
EndpointSliceMirroringSubsystem is the name of the subsystem used for EndpointSliceMirroring controller.
# Variables
AddressesSkippedPerSync tracks the number of addresses skipped on each Endpoints sync due to being invalid or exceeding MaxEndpointsPerSubset.
DesiredEndpointSlices tracks the number of EndpointSlices that would exist with perfect endpoint allocation.
EndpointsAddedPerSync tracks the number of endpoints added on each Endpoints sync.
EndpointsDesired tracks the total number of desired endpoints.
EndpointSliceChanges tracks the number of changes to Endpoint Slices.
EndpointsRemovedPerSync tracks the number of endpoints removed on each Endpoints sync.
EndpointsSyncDuration tracks how long syncEndpoints() takes in a number of Seconds.
EndpointsUpdatedPerSync tracks the number of endpoints updated on each Endpoints sync.
NumEndpointSlices tracks the number of EndpointSlices in a cluster.
# 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.
EndpointPortCache tracks values for total numbers of desired endpoints as well as the efficiency of EndpointSlice endpoints distribution for each unique Service Port combination.