Update k8s tutorial (#7563)
This commit is contained in:
		
							parent
							
								
									2e1d977e08
								
							
						
					
					
						commit
						213cfd985b
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -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).
 | 
					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.
 | 
					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)
 | 
					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
 | 
					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:
 | 
					* Retrieve the logs on the driver pod:
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue