Documentation ¶
Index ¶
- func GetNodeName() string
- func GetOpenstackFlavor(pod v1.Pod) string
- func IsNeededPendingStatus(status v1.PodCondition) bool
- func ModifyEventAnalyzer(EventList datastructures.Event)
- func NewNodeReady(id string) (bool, error)
- func NewNodeStatus(id string)
- func PanicRecovery()
- func PendingPodListCheck(podName string) bool
- func PodStatus(pod v1.Pod)
- func TriggerAddNode(flavorName string)
- func TriggerStatusCheck(pod v1.Pod)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeName ¶
func GetNodeName() string
GetNodeName Generate a random name for the Kubernetes worker node
func GetOpenstackFlavor ¶
GetOpenstackFlavor Select a flavor from the list of user definded flavors
func IsNeededPendingStatus ¶
func IsNeededPendingStatus(status v1.PodCondition) bool
IsNeededPendingStatus Check whether the pod in in pending state
func ModifyEventAnalyzer ¶
func ModifyEventAnalyzer(EventList datastructures.Event)
ModifyEventAnalyzer Analyze the Kubernetes events to capture pending nodes
func NewNodeReady ¶
NewNodeReady Check the status of the new node loop
func PendingPodListCheck ¶
PendingPodListCheck Check for multiple node add triggers from the same pending pod
func PodStatus ¶
PodStatus Check the status of the pending pod which trigger new node adding process
func TriggerAddNode ¶
func TriggerAddNode(flavorName string)
TriggerAddNode Create new OpenStack virtual machine
func TriggerStatusCheck ¶
TriggerStatusCheck Trigger adding a new Kubernetes worker node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.