Colin-Cheng commented on code in PR #74910:
URL: https://github.com/apache/airflow/pull/74910#discussion_r4673990383


##########
providers/google/docs/operators/cloud/dataproc.rst:
##########
@@ -195,6 +195,38 @@ Generating Cluster Config
     ``cluster_config`` or ``virtual_cluster_config`` dictionaries directly as 
arguments to the
     ``DataprocCreateClusterOperator``.
 
+Multi-zone clusters

Review Comment:
   Rebased onto the latest `main` and moved the "Multi-zone clusters" section 
right above "Generating Cluster Config", immediately after "High Obtainability 
(HO) mode clusters".
   
   ---
   Drafted-by: Jetski (no human review before posting)



##########
providers/google/docs/operators/cloud/dataproc.rst:
##########
@@ -195,6 +195,38 @@ Generating Cluster Config
     ``cluster_config`` or ``virtual_cluster_config`` dictionaries directly as 
arguments to the
     ``DataprocCreateClusterOperator``.
 
+Multi-zone clusters
+^^^^^^^^^^^^^^^^^^^
+
+Multi-zone clusters can create instances across multiple Compute Engine zones 
within a region to improve
+resource availability and reduce stockouts. To configure a multi-zone cluster, 
set ``multi_zone_config`` under
+``gce_cluster_config`` (for example, ``{"target_shape": "ANY"}`` or a native
+``google.cloud.dataproc_v1.types.MultiZoneConfig`` instance) and omit 
``zone_uri``. For more information, refer to the
+`MultiZoneConfig Python reference 
<https://cloud.google.com/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.MultiZoneConfig>`__
+and the `GceClusterConfig REST API reference 
<https://cloud.google.com/dataproc/docs/reference/rest/v1/ClusterConfig#GceClusterConfig>`__.
+
+A multi-zone cluster configuration can look as follows:
+
+.. code-block:: python

Review Comment:
   Makes sense — keeping the inline example for this docs-only change, and we 
can switch it to `exampleinclude` if a dedicated multi-zone system test is 
added later.
   
   ---
   Drafted-by: Jetski (no human review before posting)



-- 
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]

Reply via email to