You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 72d8e9a
Browse filesBrowse the repository at this point in the historyBrowse files
Implement EKSProvider that provisions e2e test nodes by launching
standalone EC2 instances that join an existing EKS cluster. The
provider discovers the Auto Scaling group for an eksctl node group
via tags, extracts its launch template, and uses it to launch new
instances.
EKSProvider implements the NodeProvider interface with:
- AddNode: launches an EC2 instance, waits for the k8s node to
register (polling up to 10 min), and patches labels
- RemoveNode: terminates the EC2 instance and deletes the k8s node
Required env vars: EKS_CLUSTER_NAME, EKS_NODE_GROUP, AWS_REGION
Unit tests cover AddNode and RemoveNode using mock EC2 interfaces
and a fake k8s client.
Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
0 commit comments