package config

import "k8s.io/kubernetes/pkg/controller/endpointslice/config"

Index

Types

type EndpointSliceControllerConfiguration

type EndpointSliceControllerConfiguration struct {
	// concurrentServiceEndpointSyncs is the number of service endpoint syncing
	// operations that will be done concurrently. Larger number = faster
	// endpoint slice updating, but more CPU (and network) load.
	ConcurrentServiceEndpointSyncs int32

	// maxEndpointsPerSlice is the maximum number of endpoints that will be
	// added to an EndpointSlice. More endpoints per slice will result in fewer
	// and larger endpoint slices, but larger resources.
	MaxEndpointsPerSlice int32

	// EndpointUpdatesBatchPeriod can be used to batch endpoint updates.
	// All updates of endpoint triggered by pod change will be delayed by up to
	// 'EndpointUpdatesBatchPeriod'. If other pods in the same endpoint change
	// in that period, they will be batched to a single endpoint update.
	// Default 0 value means that each pod update triggers an endpoint update.
	EndpointUpdatesBatchPeriod metav1.Duration
}

EndpointSliceControllerConfiguration contains elements describing EndpointSliceController.

func (*EndpointSliceControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSliceControllerConfiguration.

func (*EndpointSliceControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Source Files

doc.go types.go zz_generated.deepcopy.go

Directories

PathSynopsis
pkg/controller/endpointslice/config/v1alpha1
Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.