package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Packages
Package init sets debug.DumpAllNamespaceInfo as implementation in the framework and enables log size verification and resource gathering.
# Functions
DumpAllNamespaceInfo dumps events, pods and nodes information in the given namespace.
DumpNodeDebugInfo dumps debug information of the given nodes.
NewLogsVerifier creates a new LogsSizeVerifier which will stop when stopChannel is closed.
NewResourceUsageGatherer returns a new ContainerResourceGatherer.
# Constants
AllNodes means all containers on all nodes.
MasterAndDNSNodes means all containers on Master nodes and DNS containers on other nodes.
MasterNodes means all containers on Master nodes only.
# Structs
ContainerResourceGatherer is a struct for gathering container resource.
ContainerResourceUsage is a structure for gathering container resource usage.
LogSizeGatherer is a worker which grabs a WorkItem from the channel and does assigned work.
LogsSizeData is a structure for handling timeseries of log size data and lock.
LogsSizeVerifier gathers data about log files sizes from master and node machines.
ResourceConstraint is a struct to hold constraints.
ResourceGathererOptions is a struct to hold options for resource.
SingleContainerSummary is a struct to hold single container summary.
SingleLogSummary is a structure for handling average generation rate and number of probes.
TimestampedSize contains a size together with a time of measurement.
WorkItem is a command for a worker that contains an IP of machine from which we want to gather data and paths to all files we're interested in.
# Type aliases
EventsLister is a func that lists events.
LogSizeDataTimeseries is map of timestamped size.
LogsSizeDataSummary is map of log summary.
NodesSet is a value of nodes set.
ResourceUsagePerContainer is map of ContainerResourceUsage.
ResourceUsageSummary is a struct to hold resource usage summary.