EksCreateNodegroupOperator

Amazon

Creates an Amazon EKS managed node group for an existing Amazon EKS Cluster.

View on GitHub

Last Updated: Apr. 14, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

cluster_nameThe name of the Amazon EKS Cluster to create the managed nodegroup in. (templated)
nodegroup_nameThe unique name to give your managed nodegroup. (templated)
nodegroup_subnetsThe subnets to use for the Auto Scaling group that is created for the managed nodegroup. (templated)
nodegroup_role_arnThe Amazon Resource Name (ARN) of the IAM role to associate with the managed nodegroup. (templated)
create_nodegroup_kwargsOptional parameters to pass to the Create Nodegroup API (templated)
wait_for_completionIf True, waits for operator to complete. (default: False) (templated)
aws_conn_idThe Airflow connection used for AWS credentials. (templated) If this is None or empty then the default boto3 behaviour is used. If running Airflow in a distributed manner and aws_conn_id is None or empty, then the default boto3 configuration would be used (and must be maintained on each worker node).
regionWhich AWS region the connection should use. (templated) If this is None or empty then the default boto3 behaviour is used.

Documentation

Creates an Amazon EKS managed node group for an existing Amazon EKS Cluster.

See also

For more information on how to use this operator, take a look at the guide: Create an Amazon EKS managed node group

Was this page helpful?