nodegroup

package
v0.38.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 25 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowDevicePluginMessageForNodeGroup

func ShowDevicePluginMessageForNodeGroup(nodeGroup *api.NodeGroup, installNeuronPlugin, installNvidiaPlugin bool)

Types

type CreateOpts

type CreateOpts struct {
	UpdateAuthConfigMap       bool
	InstallNeuronDevicePlugin bool
	InstallNvidiaDevicePlugin bool
}

Options controls specific steps of node group creation

type DeleteUnownedNodegroupTask

type DeleteUnownedNodegroupTask struct {
	// contains filtered or unexported fields
}

func (*DeleteUnownedNodegroupTask) Describe

func (d *DeleteUnownedNodegroupTask) Describe() string

func (*DeleteUnownedNodegroupTask) Do

func (d *DeleteUnownedNodegroupTask) Do(errorchan chan error) error

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *api.ClusterConfig, ctl *eks.ClusterProvider, clientSet *kubernetes.Clientset) *Manager

func (*Manager) Create

func (m *Manager) Create(options CreateOpts, nodegroupFilter filter.NodeGroupFilter) error

func (*Manager) Delete

func (m *Manager) Delete(nodeGroups []*api.NodeGroup, managedNodeGroups []*api.ManagedNodeGroup, wait, plan bool) error

func (*Manager) Drain

func (m *Manager) Drain(nodeGroups []eks.KubeNodeGroup, plan bool, maxGracePeriod time.Duration) error

func (*Manager) Get

func (m *Manager) Get(name string) (*manager.NodeGroupSummary, error)

func (*Manager) GetAll

func (m *Manager) GetAll() ([]*manager.NodeGroupSummary, error)

func (*Manager) Scale

func (m *Manager) Scale(ng *api.NodeGroup) error

func (*Manager) Upgrade

func (m *Manager) Upgrade(nodeGroupName, version, launchTemplateVersion string, forceUpgrade bool) error

type WaitFunc

type WaitFunc func(name, msg string, acceptors []request.WaiterAcceptor, newRequest func() *request.Request, waitTimeout time.Duration, troubleshoot func(string) error) error

Jump to

Keyboard shortcuts

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