Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExtenderConfigMapPath - the path to ExtenderConfigMap ExtenderConfigMapPath = "/status" // ExtenderConfigMapFile - ExtenderConfigMap data key ExtenderConfigMapFile = "nodes.yaml" // ExtenderConfigMapFullPath - full path to extender-readiness file ExtenderConfigMapFullPath = ExtenderConfigMapPath + "/" + ExtenderConfigMapFile )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadinessStatus ¶
type ReadinessStatus struct { NodeName string `yaml:"node_name"` KubeScheduler string `yaml:"kube_scheduler"` Restarted bool `yaml:"restarted"` }
ReadinessStatus contains info about kube-scheduler restart for the related node
type ReadinessStatusList ¶
type ReadinessStatusList struct {
Items []ReadinessStatus `yaml:"nodes"`
}
ReadinessStatusList contains info about all kube-schedulers
Click to show internal directories.
Click to hide internal directories.