Run a Kubernetes Job in a GKE cluster.
Arguments
| Arguments | |
|---|---|
| cluster_id | 
 The ID of the cluster. 
 | 
| job | 
 A Kubernetes Job definition. 
 | 
| location | 
 The location that the cluster is hosted in. 
 | 
| namespace | 
 The namespace to run the job in (default:  
 | 
| project | 
 The project that the cluster is hosted in. Default value is this workflow's project. 
 | 
| query | Optional query parameters. If present, must be a map of simple types that will be URL-encoded and appended to the URL. For more information, see Kubernetes API reference. | 
| timeout | 
 The request timeout, in seconds (default:  
 | 
Returns
The created Kubernetes Job.
Raised exceptions
| Exceptions | |
|---|---|
| ConnectionError | In case of a network problem (DNS failure, refused connection, etc.). | 
| TimeoutError | When the specified timeout is reached before the response is received. | 
| HttpError | If the response status is >= 400. | 
| ValueError | If timeout is > 1800, or if the cluster does not have status RUNNING. |