Help us shape the future of Go! Take the 2026 Go Developer Survey

endpointcleanup

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"stale-endpoint-cleanup",
	"Cleanup stale cilium endpoints from unmanaged pods at startup",

	cell.Invoke(registerCleanup),
	cell.ProvidePrivate(func(epMgr endpointmanager.EndpointManager) localEndpointCache {
		return epMgr
	}),
	cell.Config(defaultConfig),
)

Functions

This section is empty.

Types

type Config

type Config struct {
	// EnableStaleCiliumEndpointCleanup enables cleanup routine during Cilium init.
	// This will attempt to remove local CiliumEndpoints that are not managed by Cilium
	// following Endpoint restoration.
	EnableStaleCiliumEndpointCleanup bool
}

func (Config) Flags

func (def Config) Flags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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