kubelet

package
v0.77.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(
	logger *slog.Logger,
	kclient kubernetes.Interface,
	r prometheus.Registerer,
	kubeletServiceName string,
	kubeletServiceNamespace string,
	kubeletSelector operator.LabelSelector,
	commonAnnotations operator.Map,
	commonLabels operator.Map,
	opts ...ControllerOption,
) (*Controller, error)

func (*Controller) Run

func (c *Controller) Run(ctx context.Context) error

type ControllerOption added in v0.77.0

type ControllerOption func(*Controller)

func WithEndpointSlice added in v0.77.0

func WithEndpointSlice() ControllerOption

func WithEndpoints added in v0.77.0

func WithEndpoints() ControllerOption

func WithMaxEndpointsPerSlice added in v0.77.0

func WithMaxEndpointsPerSlice(v int) ControllerOption

func WithNodeAddressPriority added in v0.77.0

func WithNodeAddressPriority(s string) ControllerOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL