Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func FormatRuntimeOperationErrorRate(nodesResult map[string]NodeRuntimeOperationErrorRate) string + func GetKubeletHeapStats(c clientset.Interface, nodeName string) (string, error) + func GetKubeletPods(c clientset.Interface, node string) (*v1.PodList, error) + func GetKubeletRunningPods(c clientset.Interface, node string) (*v1.PodList, error) + func GetStatsSummary(c clientset.Interface, nodeName string) (*kubeletstatsv1alpha1.Summary, error) + func PrintAllKubeletPods(c clientset.Interface, nodeName string) + func ProxyRequest(c clientset.Interface, node, endpoint string, port int) (restclient.Result, error) + func TargetContainers() []string + type ContainerResourceUsage struct + CPUInterval time.Duration + CPUUsageInCores float64 + MemoryRSSInBytes uint64 + MemoryUsageInBytes uint64 + MemoryWorkingSetInBytes uint64 + Name string + Timestamp time.Time + type ContainersCPUSummary map[string]map[float64]float64 + type NodeRuntimeOperationErrorRate map[string]*RuntimeOperationErrorRate + type NodesCPUSummary map[string]ContainersCPUSummary + type ResourceMonitor struct + func NewResourceMonitor(c clientset.Interface, containerNames []string, pollingInterval time.Duration) *ResourceMonitor + func (r *ResourceMonitor) FormatCPUSummary(summary NodesCPUSummary) string + func (r *ResourceMonitor) FormatResourceUsage(s ResourceUsagePerNode) string + func (r *ResourceMonitor) GetCPUSummary() NodesCPUSummary + func (r *ResourceMonitor) GetLatest() (ResourceUsagePerNode, error) + func (r *ResourceMonitor) GetMasterNodeCPUSummary(summaryPerNode NodesCPUSummary) NodesCPUSummary + func (r *ResourceMonitor) GetMasterNodeLatest(usagePerNode ResourceUsagePerNode) ResourceUsagePerNode + func (r *ResourceMonitor) LogCPUSummary() + func (r *ResourceMonitor) LogLatest() + func (r *ResourceMonitor) Reset() + func (r *ResourceMonitor) Start() + func (r *ResourceMonitor) Stop() + type ResourceUsagePerContainer map[string]*ContainerResourceUsage + func GetOneTimeResourceUsageOnNode(c clientset.Interface, nodeName string, cpuInterval time.Duration, ...) (ResourceUsagePerContainer, error) + type ResourceUsagePerNode map[string]ResourceUsagePerContainer + type RuntimeOperationErrorRate struct + ErrorRate float64 + TimeoutRate float64 + TotalNumber float64 + type RuntimeOperationMonitor struct + func NewRuntimeOperationMonitor(c clientset.Interface) *RuntimeOperationMonitor + func (m *RuntimeOperationMonitor) GetLatestRuntimeOperationErrorRate() map[string]NodeRuntimeOperationErrorRate + func (m *RuntimeOperationMonitor) GetRuntimeOperationErrorRate() map[string]NodeRuntimeOperationErrorRate