Bowrna commented on PR #39713:
URL: https://github.com/apache/airflow/pull/39713#issuecomment-2126807824
yes @VladaZakharova I got a deprecation message in this file saying.
`airflow.exceptions.AirflowProviderDeprecationWarning:The body field
'initial_node_count' is deprecated. Use 'node_pool.initial_node_count' instead.`
But when I added the cluster config with value like this
`{
"name": GKE_CLUSTER_NAME,
"workload_identity_config": {
"workload_pool": WORKLOAD_POOL,
},
"initial_node_count": 1,
"node_pool":
{
"initial_node_count": 1,
}
,
}`
I got an error message saying `Field body['node_pools'] is required if none
of fields `
Then I fixed the node_pool in the above json to node_pools
{
"name": GKE_CLUSTER_NAME,
"workload_identity_config": {
"workload_pool": WORKLOAD_POOL,
},
"initial_node_count": 1,
"node_pools":
{
"initial_node_count": 1,
}
,
}`
The final error is the one you shared when running this example dag in your
gcp project.
Hope this helps
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]