endpointcleanup

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 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(Config{}),
)

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