Skip to content

Commit

Permalink
Changes k8s job api path to extensions/v1beta1 as pykube doesn't supp…
Browse files Browse the repository at this point in the history
…ort the other one yet.
  • Loading branch information
pcm32 committed Apr 22, 2016
1 parent 43ff13d commit e3d239a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def queue_job(self, job_wrapper):
# Construction of the Kubernetes Job object follows: http://kubernetes.io/docs/user-guide/persistent-volumes/
k8s_job_name = self.__produce_unique_k8s_job_name(job_wrapper)
k8s_job_obj = {
"apiVersion": "batch/v1",
"apiVersion": "extensions/v1beta1",
"kind": "Job",
"metadata":
# metadata.name is the name of the pod resource created, and must be unique
Expand Down

0 comments on commit e3d239a

Please sign in to comment.