keylimetoolbox / resque-kubernetes

Run Resque (and ActiveJob) workers as Kubernetes Jobs and autoscale from 0!
MIT License
54 stars 15 forks source link

Update to Kubeclient 3.0 #11

Closed jeremywadsack closed 6 years ago

jeremywadsack commented 6 years ago

This PR changes the dependency on kubeclient to 3.0. We were already using the new Kubeclient::Resource.new(manifest) syntax (the breaking change between 2.2 and 3.0) so this doesn't require code changes to the gem.

To verify this I added an end-to-end tests that ensures we can launch a job in the cluster. This is not run in the default test suite because it requires the machine that this runs on to be configured for access to a cluster.