app
delete_app(namespace, app_id, force=False)
async
This endpoint deletes a spark application by its app_id.
It deletes the driver pod, then the Kubernetes garbage collector will delete the executor pods and the other resources.
Source code in spark_on_k8s/api/app.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|
kill_app(namespace, app_id)
async
This endpoint kills a spark application by its app_id.
It sends a SIGTERM to the init process of the driver pod (PID 1).
Source code in spark_on_k8s/api/app.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|