in composer_migration/src/composer_migration/lib/strategies/migrate_kubernetes_pod_operator_ast.py [0:0]
def table_title_text() -> dict:
return {
"title": "KubernetesPodOperator Affinity Check",
"text": "Node pools are not supported with the KubernetesPodOperator in Composer 2. Refactor the following DAGs to use the GKE Operators to launch your pod in a new cluster, or remove the 'affinity' field from your operator. See https://cloud.google.com/composer/docs/composer-2/use-gke-operator for more information on using the GKE operators in Cloud Composer.",
}