liyinan926 commented on a change in pull request #23928: [SPARK-27023][K8S]configurable k8s client timeouts URL: https://github.com/apache/spark/pull/23928#discussion_r262299015
########## File path: docs/running-on-kubernetes.md ########## @@ -990,6 +990,52 @@ See the [configuration page](configuration.html) for information on Spark config Specify whether executor pods should be deleted in case of failure or normal termination. </td> </tr> +<tr> + <td><code>spark.kubernetes.kubernetesClient.submission.connectionTimeout</code></td> + <td>10000</td> + <td> + Connection timeout in milliseconds for the kubernetes client to use for starting the driver. In client mode, use + <code>spark.kubernetes.kubernetesClient.connectionTimeout</code> instead. + </td> +</tr> +<tr> + <td><code>spark.kubernetes.kubernetesClient.submission.requestTimeout</code></td> + <td>10000</td> + <td> + Request timeout in milliseconds for the kubernetes client to use for starting the driver. In client mode, use + <code>spark.kubernetes.kubernetesClient.submission.requestTimeout</code> instead. + </td> +</tr> +<tr> + <td><code>spark.kubernetes.kubernetesClient.driver.connectionTimeout</code></td> + <td>10000</td> + <td> + Connection timeout in milliseconds for the kubernetes client in driver to use when requesting executors. + In client mode, use <code>spark.kubernetes.kubernetesClient.connectionTimeout</code> instead. + </td> +</tr> +<tr> + <td><code>spark.kubernetes.kubernetesClient.driver.requestTimeout</code></td> + <td>10000</td> + <td> + Request timeout in milliseconds for the kubernetes client in driver to use when requesting executors. + In client mode, use <code>spark.kubernetes.kubernetesClient.connectionTimeout</code> instead. + </td> +</tr> +<tr> + <td><code>spark.kubernetes.kubernetesClient.connectionTimeout</code></td> Review comment: Why you need separate options for client mode? IMO, they are only necessary when they can be used in conjunction with the two new options for cluster mode, which won't be the case. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
