gpu-jupyter/.staroid/staroid.yaml
2020-11-21 13:57:48 +01:00

40 lines
1.2 KiB
YAML

# See https://docs.staroid.com/references/staroid_yaml.html for more configuration detail
apiVersion: beta/v1
starRank:
rate: 1.16 # set community rate here. https://staroid.com/site/starrank
build:
skaffold:
file: .staroid/skaffold.yaml
ingress:
- serviceName: jupyter
port: 8888
deploy:
paramGroups:
- name: Configurations
params:
- name: "Instance type"
description: "GPU instance is supported only in AWS for now. It is required to support the GPU capability."
type: STRING
defaultValue: gpu-1
options:
- name: standard-2 (2CPU, 8GB Mem)
value: standard-2
- name: standard-4 (4CPU, 16GB Mem)
value: standard-4
- name: standard-8 (8CPU, 32GB Mem)
value: standard-8
- name: gpu-1 (8CPU, 61GB Mem, 1 GPU - Tesla V100 16GB Mem)
value: gpu-1
paths:
- Deployment:jupyter-deployment:spec.template.metadata.labels["pod.staroid.com/instance-type"]
- name: "Spot instance"
type: STRING
defaultValue: "false"
options:
- name: "false"
value: "false"
- name: "true"
value: "true"
paths:
- Deployment:jupyter-deployment:spec.template.metadata.labels["pod.staroid.com/spot"]