handlenodeadd

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func GetOpenstackFlavor(pod v1.Pod) string

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

func NewNodeReady(id string) (bool, error)

NewNodeReady Check the status of the new node loop

func NewNodeStatus

func NewNodeStatus(id string)

NewNodeStatus Check the status of the new node

func PanicRecovery

func PanicRecovery()

PanicRecovery handle panic

func PendingPodListCheck

func PendingPodListCheck(podName string) bool

PendingPodListCheck Check for multiple node add triggers from the same pending pod

func PodStatus

func PodStatus(pod v1.Pod)

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

func TriggerStatusCheck(pod v1.Pod)

TriggerStatusCheck Trigger adding a new Kubernetes worker node

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL