From 213cfd985b24df5b2442c7aea3392aeb3d984e4a Mon Sep 17 00:00:00 2001 From: Kai Huang Date: Wed, 15 Feb 2023 19:26:25 +0800 Subject: [PATCH] Update k8s tutorial (#7563) --- docs/readthedocs/source/doc/Orca/Tutorial/k8s.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/readthedocs/source/doc/Orca/Tutorial/k8s.md b/docs/readthedocs/source/doc/Orca/Tutorial/k8s.md index f8c9e17a..ac8efa9d 100644 --- a/docs/readthedocs/source/doc/Orca/Tutorial/k8s.md +++ b/docs/readthedocs/source/doc/Orca/Tutorial/k8s.md @@ -50,6 +50,8 @@ For k8s-client, the Spark driver runs in the client process (outside the K8s clu Please see more details in [K8s-Cluster](https://spark.apache.org/docs/latest/running-on-kubernetes.html#cluster-mode) and [K8s-Client](https://spark.apache.org/docs/latest/running-on-kubernetes.html#client-mode). +For **k8s-client** mode, you can directly find the driver logs in the console. + For **k8s-cluster** mode, a `driver-pod-name` (`train-py-fc5bec85fca28cb3-driver` in the following log) will be returned when the application is completed. ``` 23-01-29 08:34:47 INFO LoggingPodStatusWatcherImpl:57 - Application status for spark-9341aa0ec6b249ad974676c696398b4e (phase: Succeeded) @@ -66,7 +68,7 @@ For **k8s-cluster** mode, a `driver-pod-name` (`train-py-fc5bec85fca28cb3-driver 23-01-29 08:34:47 INFO ShutdownHookManager:57 - Deleting directory /tmp/spark-fa8eeb45-bebf-4da9-9c0b-8bb59543842d ``` -You can retrieve the results of the driver pod on the __Develop Node__ following the commands below: +You can access the results of the driver pod on the __Develop Node__ following the commands below: * Retrieve the logs on the driver pod: ```bash