EKSNodegroupStateSensor

Amazon

Check the state of an Amazon EKS Nodegroup until the state of the Nodegroup equals the target state.

View on GitHub

Last Updated: Oct. 8, 2021

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_nameRequiredstrThe name of the Cluster which the Nodegroup is attached to. (templated)
nodegroup_nameRequiredstrThe name of the Nodegroup to watch. (templated)
target_stateNodegroupStatesTarget state of the Nodegroup. (templated)
regionstrWhich AWS region the connection should use. (templated) If this is None or empty then the default boto3 behaviour is used.
aws_conn_idstrThe 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).

Documentation

Check the state of an Amazon EKS Nodegroup until the state of the Nodegroup equals the target state.

Was this page helpful?