Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Alertmanager can handle valid post alerts requests. // // Mode: master // Owner: @huangjiuyuan // Alpha: 0.1.5 Alertmanager featuregate.Feature = "Alertmanager" // Eventer generates diagnoses from kubernetes events. // // Mode: master // Owner: @huangjiuyuan // Alpha: 0.1.5 Eventer featuregate.Feature = "Eventer" // PagerDutyEventer can handle valid pagerduty events. // // Mode: master // Owner: @huangjiuyuan // Alpha: 0.2.3 PagerDutyEventer featuregate.Feature = "PagerDutyEventer" // CommonEventer can handle valid pagerduty events. // // Mode: master // Owner: @huangjiuyuan // Alpha: 0.2.3 CommonEventer featuregate.Feature = "CommonEventer" // CronScheduler generates diagnoses periodically at fixed times. // // Mode: master // Owner: @huangjiuyuan // Alpha: 0.2.1 CronScheduler featuregate.Feature = "CronScheduler" // KafkaConsumer can processs valid kafka messages. // // Mode: master // Owner: @huangjiuyuan // Alpha: 0.2.0 KafkaConsumer featuregate.Feature = "KafkaConsumer" // PodCollector manages information of pods. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.1.5 PodCollector featuregate.Feature = "PodCollector" // ContainerCollector manages information of all containers on the node. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.1.5 ContainerCollector featuregate.Feature = "ContainerCollector" // ProcessCollector manages information of all processes on the node. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.1.5 ProcessCollector featuregate.Feature = "ProcessCollector" // SystemdCollector manages information of systemd on the node. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.1.5 SystemdCollector featuregate.Feature = "SystemdCollector" // SignalRecoverer manages recovery that sending signal to processes. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.1.5 SignalRecoverer featuregate.Feature = "SignalRecoverer" // CoreFileProfiler manages corefiles and supports gdb debugging. // // Mode: agent // Owner: @fzu-huang // Alpha: 0.2.0 CoreFileProfiler featuregate.Feature = "CoreFileProfiler" // DockerInfoCollector fetches system-wide information on docker. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.2.0 DockerInfoCollector featuregate.Feature = "DockerInfoCollector" // DockerdGoroutineCollector retrives dockerd goroutine on the node. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.2.0 DockerdGoroutineCollector featuregate.Feature = "DockerdGoroutineCollector" // ContainerdGoroutineCollector retrives containerd goroutine on the node. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.2.0 ContainerdGoroutineCollector featuregate.Feature = "ContainerdGoroutineCollector" // NodeCordon marks node as unschedulable. // // Mode: agent // Owner: @huangjiuyuan // Alpha: 0.2.0 NodeCordon featuregate.Feature = "NodeCordon" // GoProfiler manages go profiler. // // Mode: agent // Owner: @April-Q // Alpha: 0.2.0 GoProfiler featuregate.Feature = "GoProfiler" // MountInfoCollector manages mount info on node // // Mode: agent // Owner: @fzu-huang // Alpha: 0.2.0 MountInfoCollector featuregate.Feature = "MountInfoCollector" // SubpathRemountDiagnoser diagnosis whether abnormal came from subpath-remount-bug // // BugLink: https://github.com/kubernetes/kubernetes/issues/68211 // Mode: agent // Owner: @fzu-huang // Alpha: 0.2.0 SubpathRemountDiagnoser featuregate.Feature = "SubpathRemountDiagnoser" // ElasticsearchCollector retrieves log info from elasticsearch. // // Mode: agent // Owner: @April-Q // Alpha: 0.2.0 ElasticsearchCollector featuregate.Feature = "ElasticsearchCollector" // SonobuoyResultDiagnoser analyzes failures in the result of a sonobuoy e2e test run. // // Mode: agent // Owner: @Harmol // Alpha: 0.2.3 SonobuoyResultDiagnoser featuregate.Feature = "SonobuoyResultDiagnoser" // StatefulSetDetailCollector retrieves details from statefulset. // // Mode: agent // Owner: @April-Q // Alpha: 0.2.0 StatefulSetDetailCollector featuregate.Feature = "StatefulSetDetailCollector" // StatefulSetStuck recover statefulset stuck. // // Mode: agent // Owner: @April-Q // Alpha: 0.2.0 StatefulSetStuck featuregate.Feature = "StatefulSetStuck" // TcpdumpProfiler manages tcp dump information of container on the node. // // Mode: agent // Owner: yanwenhao // Alpha: 0.2.3 TcpdumpProfiler featuregate.Feature = "TcpdumpProfiler" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeDiagFeatureGate ¶
type KubeDiagFeatureGate interface { // Enabled returns true if the key is enabled. Enabled(featuregate.Feature) bool // KnownFeatures returns a slice of strings describing the known features. KnownFeatures() []string // SetFromMap stores flag gates for known features from a map[string]bool or returns an error. SetFromMap(map[string]bool) error }
KubeDiagFeatureGate indicates whether a given feature is enabled or not and stores flag gates for known features.
func NewFeatureGate ¶
func NewFeatureGate() KubeDiagFeatureGate
NewFeatureGate creates a new KubeDiagFeatureGate.
Click to show internal directories.
Click to hide internal directories.