Documentation ¶
Index ¶
- Constants
- Variables
- func Generate(opts *options.Options) ([]sigkarpenter.NodePool, []awskarpenter.EC2NodeClass, error)
- type NodeGroup
- func (n NodeGroup) AMIFamily() *string
- func (n NodeGroup) AMISelectorTerms() []awskarpenter.AMISelectorTerm
- func (n NodeGroup) AmiID() string
- func (n NodeGroup) BlockDeviceMappings() []*awskarpenter.BlockDeviceMapping
- func (n NodeGroup) CapacityTypes() []string
- func (n NodeGroup) FilteredTags() map[string]string
- func (n *NodeGroup) GetEC2NodeClass() (awskarpenter.EC2NodeClass, error)
- func (n *NodeGroup) GetNodePool() (sigkarpenter.NodePool, error)
- func (n NodeGroup) K8sTaints() []corev1.Taint
- func (n NodeGroup) MetadataOptions() *awskarpenter.MetadataOptions
- func (n NodeGroup) Name() string
- func (n NodeGroup) NodeClaimObjectMeta() sigkarpenter.ObjectMeta
- func (n NodeGroup) NodeClaimSpec() sigkarpenter.NodeClaimSpec
- func (n NodeGroup) NodeClaimTemplate() sigkarpenter.NodeClaimTemplate
- func (n NodeGroup) NodeClassObjectMeta() metav1.ObjectMeta
- func (n NodeGroup) NodeClassSpec() awskarpenter.EC2NodeClassSpec
- func (n NodeGroup) NodePoolObjectMeta() metav1.ObjectMeta
- func (n NodeGroup) NodePoolSpec() sigkarpenter.NodePoolSpec
- func (n NodeGroup) NodeSelectorRequirements() []sigkarpenter.NodeSelectorRequirementWithMinValues
- func (n NodeGroup) Role() string
- func (n NodeGroup) SecurityGroupSelectorTerms() []awskarpenter.SecurityGroupSelectorTerm
- func (n NodeGroup) SubnetSelectorTerms() []awskarpenter.SubnetSelectorTerm
- func (n NodeGroup) UserData() *string
Constants ¶
Variables ¶
View Source
var ( NodeClassTypeMeta = metav1.TypeMeta{ Kind: "EC2NodeClass", APIVersion: awskarpenter.SchemeGroupVersion.Identifier(), } ClusterTag map[string]string )
View Source
var ( NodePoolTypeMeta = metav1.TypeMeta{ Kind: "NodePool", APIVersion: sigkarpenter.SchemeGroupVersion.Identifier(), } )
Functions ¶
func Generate ¶
func Generate(opts *options.Options) ([]sigkarpenter.NodePool, []awskarpenter.EC2NodeClass, error)
Types ¶
type NodeGroup ¶
type NodeGroup struct { *ekstypes.Nodegroup LT *ec2types.ResponseLaunchTemplateData // LT Generated by MNG and used by ASG (needed for MetadataOptions) CustomLT *ec2types.ResponseLaunchTemplateData // Custom LT provided to MNG }
func (NodeGroup) AMISelectorTerms ¶
func (n NodeGroup) AMISelectorTerms() []awskarpenter.AMISelectorTerm
func (NodeGroup) BlockDeviceMappings ¶
func (n NodeGroup) BlockDeviceMappings() []*awskarpenter.BlockDeviceMapping
Returns AWS Karpenter BlockDeviceMappings for nodegroup if Custom Launch Template is used with MNG or Custom DiskSize is configured
func (NodeGroup) CapacityTypes ¶
func (NodeGroup) FilteredTags ¶
func (*NodeGroup) GetEC2NodeClass ¶
func (n *NodeGroup) GetEC2NodeClass() (awskarpenter.EC2NodeClass, error)
func (*NodeGroup) GetNodePool ¶
func (n *NodeGroup) GetNodePool() (sigkarpenter.NodePool, error)
func (NodeGroup) MetadataOptions ¶
func (n NodeGroup) MetadataOptions() *awskarpenter.MetadataOptions
func (NodeGroup) NodeClaimObjectMeta ¶
func (n NodeGroup) NodeClaimObjectMeta() sigkarpenter.ObjectMeta
func (NodeGroup) NodeClaimSpec ¶
func (n NodeGroup) NodeClaimSpec() sigkarpenter.NodeClaimSpec
func (NodeGroup) NodeClaimTemplate ¶
func (n NodeGroup) NodeClaimTemplate() sigkarpenter.NodeClaimTemplate
func (NodeGroup) NodeClassObjectMeta ¶
func (n NodeGroup) NodeClassObjectMeta() metav1.ObjectMeta
func (NodeGroup) NodeClassSpec ¶
func (n NodeGroup) NodeClassSpec() awskarpenter.EC2NodeClassSpec
func (NodeGroup) NodePoolObjectMeta ¶
func (n NodeGroup) NodePoolObjectMeta() metav1.ObjectMeta
func (NodeGroup) NodePoolSpec ¶
func (n NodeGroup) NodePoolSpec() sigkarpenter.NodePoolSpec
func (NodeGroup) NodeSelectorRequirements ¶
func (n NodeGroup) NodeSelectorRequirements() []sigkarpenter.NodeSelectorRequirementWithMinValues
func (NodeGroup) SecurityGroupSelectorTerms ¶
func (n NodeGroup) SecurityGroupSelectorTerms() []awskarpenter.SecurityGroupSelectorTerm
func (NodeGroup) SubnetSelectorTerms ¶
func (n NodeGroup) SubnetSelectorTerms() []awskarpenter.SubnetSelectorTerm
Click to show internal directories.
Click to hide internal directories.