1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-18 03:30:19 +01:00

remove kubernetes dependency (#117)

This commit is contained in:
Gal Leibovich
2018-11-18 18:10:22 +02:00
committed by Gal Novik
parent 430e286c56
commit d4d06aaea6
8 changed files with 28 additions and 17 deletions

View File

@@ -5,6 +5,8 @@ import time
from enum import Enum
from typing import List
from configparser import ConfigParser, Error
from rl_coach.base_parameters import RunType
from rl_coach.orchestrators.deploy import Deploy, DeployParameters
from kubernetes import client as k8sclient, config as k8sconfig
from rl_coach.memories.backend.memory import MemoryBackendParameters
@@ -13,15 +15,6 @@ from rl_coach.data_stores.data_store import DataStoreParameters
from rl_coach.data_stores.data_store_impl import get_data_store
class RunType(Enum):
ORCHESTRATOR = "orchestrator"
TRAINER = "trainer"
ROLLOUT_WORKER = "rollout-worker"
def __str__(self):
return self.value
class RunTypeParameters():
def __init__(self, image: str, command: list(), arguments: list() = None,