-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚚 Convert Kube2IAM-based Airflow pod to using IRSA, and capture process #4319
Comments
Progress as of Sign-off:
Next Steps:
|
airflow-monitoring DAG successfully migrated from Kube2IAM to IRSA in airflow dev. Next step is to make changes to migrate the rest of the DAGs in dev. |
APC OIDC added to APDP |
IRSA has been successfully tested in multiple DAGs in Airflow Development, including a DAG owned by the CJS dashboard team. A test will be performed by COP 28/06 on a data engineering DAG in Airflow Development. Update to Beginning to write up instructions, which will be added to the Airflow user guidance once it has been reviewed by Airflow users. |
Todo: Update validation script to ensure that |
Describe the bug.
The current Kube2IAM deployment does not have support for IMDSv2, which means any new nodes created cause Kube2IAM to fail, due to the new default being IMDSv2 mandated. Instead, we should be converting our pods to use IRSA, so they can successfully run under the new standard.
To Reproduce
Expected Behaviour
User pods should recieve roles correctly with IMDSv2 enabled.
Additional context
AWS's guide on setting up IRSA for an EKS Cluster can be found here. We already have an OIDC provider for each cluster, so instead we should be looking to create a service account that is assumable by one of our pods, and prove that a DAG can be written that successfully picks it up.
Acceptance Criteria
examples.use_high_memory
andexamples.daily_test
should be able to get roles using IRSA alone.Out of Scope
airflow
repo required to change how the roles are created.The text was updated successfully, but these errors were encountered: