henry3260 commented on code in PR #69876:
URL: https://github.com/apache/airflow/pull/69876#discussion_r3582013875
##########
providers/google/tests/system/google/cloud/kubernetes_engine/example_kubernetes_engine.py:
##########
@@ -51,7 +51,11 @@
CLUSTER_NAME = CLUSTER_NAME_BASE if len(CLUSTER_NAME_FULL) >= 33 else
CLUSTER_NAME_FULL
# [START howto_operator_gcp_gke_create_cluster_definition]
-CLUSTER = {"name": CLUSTER_NAME, "initial_node_count": 1, "autopilot":
{"enabled": True}}
+CLUSTER = {
+ "name": CLUSTER_NAME,
+ "node_pools": [{"name": "default-pool", "initial_node_count": 1}],
+ "autopilot": {"enabled": True},
Review Comment:
IIUC, Autopilot clusters do not support custom node pools, so these system
Dags will fail when creating their clusters.
##########
providers/google/tests/system/google/cloud/kubernetes_engine/example_kubernetes_engine_kueue.py:
##########
@@ -47,7 +47,11 @@
GCP_LOCATION = "europe-west3"
CLUSTER_NAME = f"gke-kueue-{ENV_ID}".replace("_", "-")
-CLUSTER = {"name": CLUSTER_NAME, "initial_node_count": 1, "autopilot":
{"enabled": True}}
+CLUSTER = {
+ "name": CLUSTER_NAME,
+ "node_pools": [{"name": "default-pool", "initial_node_count": 1}],
Review Comment:
same here
--
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]