From 6fd1a73be5e9a9be09a880f2482e2b8682e72f65 Mon Sep 17 00:00:00 2001 From: Golan Shatz Date: Sun, 14 Jul 2019 23:45:20 +0300 Subject: [PATCH] make v1alpha1 great again! (#3) --- v3io_gputils/__init__.py | 2 +- v3io_gputils/mpijob.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/v3io_gputils/__init__.py b/v3io_gputils/__init__.py index 156d6f9..eead319 100644 --- a/v3io_gputils/__init__.py +++ b/v3io_gputils/__init__.py @@ -1 +1 @@ -__version__ = '0.0.4' +__version__ = '0.0.5' diff --git a/v3io_gputils/mpijob.py b/v3io_gputils/mpijob.py index e5f856e..fa076e5 100644 --- a/v3io_gputils/mpijob.py +++ b/v3io_gputils/mpijob.py @@ -6,7 +6,7 @@ from kubernetes.client.rest import ApiException _mpijob_template = { - 'apiVersion': 'kubeflow.org/v1alpha2', + 'apiVersion': 'kubeflow.org/v1alpha1', 'kind': 'MPIJob', 'metadata': { 'name': '', @@ -52,7 +52,7 @@ class MpiJob: """ group = 'kubeflow.org' - version = 'v1alpha2' + version = 'v1alpha1' plural = 'mpijobs' def __init__(self, name, image=None, command=None,