I run into a strange issue, as the title suggests.
I am running my Jenkins on a Kubernetes cluster on IBM Cloud. I used the kubernetes plugin to configure a cloud and dynamically create a slave container to run jobs.
When I set up this cloud configuration, I provided the Kubernetes Public Service Endpoint URL (as I found on some other guides) of the cluster that Jenkins is on, as the Kubernetes URL. I can test it and it works successfully.
Strangely, after running a few jobs, it starts to give me errors that It cant start the containers.
If I go back into the cloud configuration, and click "Test Connection", it now throws an error: Error testing connection https://<Public Service Endpoint URL>: null
. If I restart Jenkins, it works again.
Any advise is much appreciated! Thanks!