Documentation
¶
Index ¶
Constants ¶
View Source
const (
// UnmanagedPodWatcherInterval is the interval to check for unmanaged kube-dns pods (0 to disable)
UnmanagedPodWatcherInterval = "unmanaged-pod-watcher-interval"
)
Variables ¶
View Source
var Cell = cell.Module( "unmanaged-pods-gc", "Garbage collector for pods without CiliumEndpoints", cell.Config(defaultConfig), cell.Invoke(registerController), metrics.Metric(NewMetrics), )
Cell is a cell that implements a controller for restarting pods without CiliumEndpoint CRDs. This is primarily used to restart kube-dns pods that may have started before Cilium was ready.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Metrics ¶
type Metrics struct {
// UnmanagedPods records the pods that are unmanaged by Cilium.
// This includes Running pods not using hostNetwork, which do not have a corresponding CiliumEndpoint object.
UnmanagedPods metric.Gauge
}
Metrics holds the metrics for the unmanaged pods controller.
type SharedConfig ¶
SharedConfig contains the configuration that is shared between this module and others.
Click to show internal directories.
Click to hide internal directories.