-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
|R| edited this page Sep 17, 2020
·
1 revision
git clone https://github.com/deepbiome/aeropod-project
cd aeropod-project
pip install .
git clone https://github.com/deepbiome/aeropod-project
conda create --name aero-env python=3.7
cd aeropod-project
pip install .
if your kubectl is already configured skip this section. if you want to test this code with a local cluster set up a minikube cluster from here Minikube Installation
from aero.components import GenericJob
from aero.executors import JobExecutor
job = GenericJob(
name = 'hello-job',
image = 'alpine',
cmds = ["/bin/sh"],
args = ["-c","echo helloworld!"]
)
executor = JobExecutor()
executor.execute_job(job,wait=True)