EksCreateFargateProfileOperator

Amazon

Creates an AWS Fargate profile for an 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 apply the AWS Fargate profile to. (templated)
pod_execution_role_arnThe Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the AWS Fargate profile. (templated)
selectorsThe selectors to match for pods to use this AWS Fargate profile. (templated)
fargate_profile_nameThe unique name to give your AWS Fargate profile. (templated)
create_fargate_profile_kwargsOptional parameters to pass to the CreateFargate Profile 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 AWS Fargate profile for an Amazon EKS cluster.

See also

For more information on how to use this operator, take a look at the guide: Create an AWS Fargate Profile

Was this page helpful?