Documentation ¶
Index ¶
- type HealthIssue
- type Service
- func (m *Service) GetHealth(nodeGroupName string) ([]HealthIssue, error)
- func (m *Service) GetLabels(nodeGroupName string) (map[string]string, error)
- func (m *Service) UpdateLabels(nodeGroupName string, labelsToAdd map[string]string, labelsToRemove []string) error
- func (m *Service) UpgradeNodeGroup(options UpgradeOptions) error
- type UpgradeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthIssue ¶
HealthIssue represents a health issue with a managed nodegroup
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
A Service provides methods for managing managed nodegroups
func NewService ¶
func (*Service) GetHealth ¶
func (m *Service) GetHealth(nodeGroupName string) ([]HealthIssue, error)
GetHealth fetches the health status for a nodegroup
func (*Service) UpdateLabels ¶
func (m *Service) UpdateLabels(nodeGroupName string, labelsToAdd map[string]string, labelsToRemove []string) error
UpdateLabels adds or removes labels for a nodegroup
func (*Service) UpgradeNodeGroup ¶
func (m *Service) UpgradeNodeGroup(options UpgradeOptions) error
UpgradeNodeGroup upgrades nodegroup to the latest AMI release for the specified Kubernetes version, or the current Kubernetes version if the version isn't specified If options.LaunchTemplateVersion is set, it also upgrades the nodegroup to the specified launch template version
type UpgradeOptions ¶
type UpgradeOptions struct { // NodeGroupName nodegroup name NodegroupName string // KubernetesVersion EKS version KubernetesVersion string // LaunchTemplateVersion launch template version // valid only if a nodegroup was created with a launch template LaunchTemplateVersion string //ForceUpgrade enables force upgrade ForceUpgrade bool // ReleaseVersion AMI version of the EKS optimized AMI to use ReleaseVersion string }
UpgradeOptions contains options to configure nodegroup upgrades
Click to show internal directories.
Click to hide internal directories.