Skip to content

Getting Started

|R| edited this page Sep 17, 2020 · 1 revision

Install with pip

git clone https://github.com/deepbiome/aeropod-project

cd aeropod-project

pip install .

Install with conda

git clone https://github.com/deepbiome/aeropod-project

conda create --name aero-env python=3.7

cd aeropod-project

pip install .

Configure kubectl

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

Running your first Job

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)
Clone this wiki locally