-
Notifications
You must be signed in to change notification settings - Fork 45
/
skaffold.yaml
89 lines (86 loc) · 2.23 KB
/
skaffold.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
apiVersion: skaffold/v2beta21
kind: Config
metadata:
name: kubeai-project
build:
artifacts:
- image: substratusai/kubeai
# NOTE: If you run into this error:
#
# Checking cache...
# - substratusai/kubeai: Error checking cache.
# getting hash for artifact "substratusai/kubeai": getting dependencies for "substratusai/kubeai": parsing ONBUILD instructions: retrieving image "gcr.io/distroless/static:nonroot": GET https://gcr.io/v2/token?scope=repository%3Adistroless%2Fstatic%3Apull&service=gcr.io: UNAUTHORIZED: authentication failed
#
# Then run "docker pull gcr.io/distroless/static:nonroot" and retry.
# Disabling cache for the image that uses distroless/static:nonroot does not appear to work:
#
# docker:
# noCache: true
#
local:
push: false
deploy:
helm:
releases:
- name: kubeai
chartPath: ./charts/kubeai
portForward:
- resourceType: service
resourceName: kubeai
namespace: default
port: 80
localPort: 8000
profiles:
- name: kubeai-only
deploy:
helm:
releases:
- name: kubeai
chartPath: ./charts/kubeai
setValueTemplates:
openwebui.enabled: false
- name: kubeai-only-gke
build:
local:
push: true
deploy:
helm:
releases:
- name: kubeai
chartPath: ./charts/kubeai
setValueTemplates:
openwebui.enabled: false
valuesFiles:
- ./charts/kubeai/values-gke.yaml
- name: e2e-test-default
deploy:
helm:
releases:
- name: kubeai
chartPath: ./charts/kubeai
valuesFiles:
- ./test/e2e/common-values.yaml
setValueTemplates:
openwebui.enabled: false
- name: e2e-test-autoscaler-restart
deploy:
helm:
releases:
- name: kubeai
chartPath: ./charts/kubeai
valuesFiles:
- ./test/e2e/common-values.yaml
setValueTemplates:
openwebui.enabled: false
modelAutoscaling.interval: 1s
modelAutoscaling.timeWindow: 30s
- name: e2e-test-engine
deploy:
helm:
releases:
- name: kubeai
chartPath: ./charts/kubeai
valuesFiles:
- ./test/e2e/common-values.yaml
setValueTemplates:
openwebui.enabled: false