Is there any Python API to list the Kubernetes job status

Basically i am looking for script to identify the run time duration of the kubernetes job as i need the time duration for my sub-sequent operations.
Do let me know if anyone has idea on the Python API client for listing the details of Kubernetes Jobs.

Have you taken a look at the python client https://github.com/kubernetes-client/python ?

1 Like

yep just looking at it. There’s so much of parsing required after getting the output.
Do you have any examples of interacting kubernetes resources via python request module (REST Api)?

Unfortunately not. If I come across any I will let update you though.

Thanks :slight_smile: