-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvalues.yaml
179 lines (169 loc) · 3.72 KB
/
values.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
createPasswords: false # XXX only ever set to true one time (first time)!!!
cache:
max_age_days: 30
max_size_gb: 500
overrides:
# Add any per-node cache size (in GB) overrides here, e.g.:
# chutes-miner-gpu-0: 1000
# chutes-miner-gpu-1: 1500
validators:
defaultRegistry: registry.chutes.ai
defaultApi: https://api.chutes.ai
supported:
- hotkey: 5Dt7HZ7Zpw4DppPxFM7Ke3Cm7sDAWhsZXmM5ZAmE7dSVJbcQ
registry: registry.chutes.ai
api: https://api.chutes.ai
socket: wss://ws.chutes.ai
minerApi:
image: parachutes/miner:latest
imagePullPolicy: Always
resources:
requests:
cpu: "1"
memory: "4Gi"
limits:
cpu: "1"
memory: "4Gi"
service:
type: NodePort
nodePort: 32000
port: 8000
targetPort: 8000
nodeSelector: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: nvidia.com/gpu.present
operator: NotIn
values: ["true"]
tolerations: []
squid:
image: ubuntu/squid:5.2-22.04_beta
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: "1"
memory: "1Gi"
limits:
cpu: "1"
memory: "1Gi"
service:
port: 3128
nodeSelector:
nvidia.com/gpu.present: "true"
gepetto:
image: parachutes/miner:latest
imagePullPolicy: Always
resources:
requests:
cpu: "1"
memory: "4Gi"
limits:
cpu: "1"
memory: "4Gi"
nodeSelector: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: nvidia.com/gpu.present
operator: NotIn
values: ["true"]
tolerations: []
postgres:
image: postgres:16
imagePullPolicy: IfNotPresent
persistence:
enabled: true
resources:
requests:
cpu: "1"
memory: "4Gi"
limits:
cpu: "1"
memory: "4Gi"
database:
name: chutes
user: chutes
passwordKey: "postgres-password"
service:
type: ClusterIP
port: 5432
targetPort: 5432
nodeSelector: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- chutes-miner-cpu-0
tolerations: []
redis:
image: redis:7
imagePullPolicy: IfNotPresent
replicaCount: 1
nodeSelector: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: nvidia.com/gpu.present
operator: NotIn
values: ["true"]
tolerations: []
resources:
requests:
cpu: 1
memory: 1Gi
limits:
cpu: 1
memory: 1Gi
service:
type: ClusterIP
port: 6379
password:
passwordKey: "redis-password"
config:
customArgs: []
registry:
image: nginx:1.27
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 500m
memory: 512Mi
service:
type: ClusterIP
port: 5000
targetPort: 5000
# BE SURE THIS MATCHES registry_port IN ANSIBLE!
nodePort: 30500
nodeSelector:
nvidia.com/gpu.present: "true"
config:
workerProcesses: 1
workerConnections: 1024
keepaliveTimeout: 65
clientMaxBodySize: "0"
validators:
allowedHosts:
- "registry.chutes.ai"
defaultUpstream: "registry.chutes.ai"
auditExporter:
image: parachutes/miner:latest
nodeSelector:
kubernetes.io/hostname: chutes-miner-cpu-0
failedChuteCleanup:
image: bitnami/kubectl:latest
nodeSelector:
kubernetes.io/hostname: chutes-miner-cpu-0