-
Notifications
You must be signed in to change notification settings - Fork 0
/
zarf.yaml
51 lines (47 loc) · 1.39 KB
/
zarf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
kind: ZarfPackageConfig
metadata:
name: leapfrogai-model
version: 0.4.2
description: >
An awesome model to add to LeapfrogAI
constants:
- name: IMAGE_VERSION
value: "###ZARF_PKG_TMPL_IMAGE_VERSION###"
- name: NAME
value: "###ZARF_PKG_TMPL_NAME###"
- name: IMAGE_REPOSITORY
value: "###ZARF_PKG_TMPL_IMAGE_REPOSITORY###"
variables:
- name: GPU_ENABLED
description: Optionally turn on GPU inferencing (true/false)
default: "false"
pattern: "^(true|false)$"
- name: REQUESTS_CPU
description: Number of CPU(s) to reserve for the pod
default: "0"
- name: REQUESTS_MEMORY
description: Amount of memory to reserve for the pod
default: "0"
- name: REQUESTS_GPU
description: Must be greater or equal to 1 if GPU_ENABLED is true
default: "0"
- name: LIMITS_CPU
description: Must be greater than or equal to REQUESTS_CPU
default: "0"
- name: LIMITS_MEMORY
description: Must be greater than or equal to REQUESTS_MEMORY
default: "0"
- name: LIMITS_GPU
description: Must be greater than or equal to REQUESTS_GPU
default: "0"
components:
- name: model
required: true
charts:
- name: leapfrogai-model
namespace: leapfrogai
localPath: chart
releaseName: "###ZARF_PKG_TMPL_NAME###-model"
version: 0.4.0
images:
- "###ZARF_PKG_TMPL_IMAGE_REPOSITORY###:###ZARF_PKG_TMPL_IMAGE_VERSION###"