12. Data Scientists
Pod
Data science image
• Batteries included
• Bare minimum knowledge of linux OS
Kubespawner
https://zero-to-jupyterhub.readthedocs.io/en/latest/
https://github.com/jupyterhub/zero-to-jupyterhub-k8s
CPU
GPU
13. Step 2: Login
Step 1: Port Forward
Step 4: Rock and RollStep 3:
• Choose Image
• GPU / CPU / Memory
22. apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: steps-
spec:
entrypoint: hello-hello-hello
# This spec contains two templates: hello-hello-hello and whalesay
templates:
- name: hello-hello-hello
# Instead of just running a container
# This template has a sequence of steps
steps:
- - name: hello1 #hello1 is run before the following steps
template: whalesay
arguments:
parameters:
- name: message
value: "hello1"
- - name: hello2a #double dash => run after previous step
template: whalesay
arguments:
parameters:
- name: message
value: "hello2a"
- name: hello2b #single dash => run in parallel with previous step
template: whalesay
arguments:
parameters:
- name: message
value: "hello2b"
# This is the same template as from the previous example
- name: whalesay
inputs:
parameters:
- name: message
container:
image: docker/whalesay
command: [cowsay]
args: ["{{inputs.parameters.message}}"]
Parallel
Sequential
<Name of workflow>-<id>