spring-cloud / spring-cloud-deployer-kubernetes

The Spring Cloud Deployer implementation for Kubernetes
Apache License 2.0
157 stars 98 forks source link

throw exception if pod or job is not exist #474

Closed umutcann closed 2 years ago

umutcann commented 2 years ago

Hi,

We are running SCDF on multiple kubernetes clusters. When we launch a task on one custer, we cannot be sure that stop task execution function is executed on right cluster. Stop Task execution function returns Http 200 ok Although pod is not exist on cluster which handles stop execution request.. I think it would ne nice client know that pod or job not exist.

I created a pull-request for that.