A NodeGroup is a managed resource that represents an AWS Elastic Kubernetes Service NodeGroup.
Type
CRD
Group
eks.aws.crossplane.io
Version
v1alpha1
apiVersion: eks.aws.crossplane.io/v1alpha1
kind: NodeGroup
A NodeGroupSpec defines the desired state of an EKS NodeGroup.
NodeGroupParameters define the desired state of an AWS Elastic Kubernetes Service NodeGroup.
ClusterNameRef is a reference to a Cluster used to set the ClusterName.
Policies for referencing.
ClusterNameSelector selects references to a Cluster used to set the ClusterName.
Policies for selection.
The instance type to use for your node group. Currently, you can specify a single instance type for a node group. The default value for this parameter is t3.medium. If you choose a GPU instance type, be sure to specify the AL2_x86_64_GPU with the amiType parameter.
An object representing a node group's launch template specification. If specified, then do not specify instanceTypes, diskSize, or remoteAccess and make sure that the launch template meets the requirements in launchTemplateSpecification.
NameRef is a reference to a LaunchTemplate used to set the Name.
Policies for referencing.
NameSelector selects references to a LaunchTemplate used to set the Name.
Policies for selection.
VersionRef is a reference to a LaunchTemplateVersion used to set the Version.
Policies for referencing.
VersionSelector selects references to a LaunchTemplateVersion used to set the Version.
Policies for selection.
NodeRoleRef is a reference to a Cluster used to set the NodeRole.
Policies for referencing.
NodeRoleSelector selects references to a Cluster used to set the NodeRole.
Policies for selection.
The remote access (SSH) configuration to use with your node group.
SourceSecurityGroupRefs are references to SecurityGroups used to set the SourceSecurityGroups.
Policies for referencing.
SourceSecurityGroupSelector selects references to SecurityGroups used to set the SourceSecurityGroups.
Policies for selection.
The security groups that are allowed SSH access (port 22) to the worker nodes. If you specify an Amazon EC2 SSH key but do not specify a source security group when you create a managed node group, then port 22 on the worker nodes is opened to the internet (0.0.0.0/0). For more information, see Security Groups for Your VPC (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) in the Amazon Virtual Private Cloud User Guide.
The scaling configuration details for the Auto Scaling group that is created for your node group.
SubnetRefs are references to Subnets used to set the Subnets.
Policies for referencing.
SubnetSelector selects references to Subnets used to set the Subnets.
Policies for selection.
The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have the tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where CLUSTER_NAME is replaced with the name of your cluster. Subnets is a required field
Specifies details on how the Nodes in this NodeGroup should be updated.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
A NodeGroupStatus represents the observed state of an EKS NodeGroup.
NodeGroupObservation is the observed state of a NodeGroup.
The health status of the node group. If there are issues with your node group's health, they are listed here.
Any issues that are associated with the node group.
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
The Auto Scaling groups associated with the node group.
The scaling configuration details for the Auto Scaling group that is created for your node group.
The current update configuration of the node group
Conditions of the resource.
my-group
apiVersion: eks.aws.crossplane.io/v1alpha1
kind: NodeGroup
metadata:
labels:
example: "true"
name: my-group
spec:
forProvider:
clusterNameRef:
name: sample-cluster
nodeRoleRef:
name: somenoderole
region: us-east-1
scalingConfig:
desiredSize: 1
maxSize: 1
minSize: 1
subnetRefs:
- name: sample-subnet1
updateConfig:
force: true
maxUnavailablePercentage: 50
providerConfigRef:
name: example
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.