mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-12 23:12:23 -06:00
feat(helm): add node scheduling properties (#977)
Signed-off-by: Dennis Witt <dennis@derwitt.de>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: turnstone
|
name: turnstone
|
||||||
description: Multi-node AI orchestration platform with tool use, agent routing, and cluster simulation
|
description: Multi-node AI orchestration platform with tool use, agent routing, and cluster simulation
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.2.0
|
||||||
appVersion: "0.3.0"
|
appVersion: "0.3.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
@@ -29,6 +29,18 @@ spec:
|
|||||||
app.kubernetes.io/component: console
|
app.kubernetes.io/component: console
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ include "turnstone.serviceAccountName" . }}
|
serviceAccountName: {{ include "turnstone.serviceAccountName" . }}
|
||||||
|
{{- with .Values.console.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.console.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.console.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: console
|
- name: console
|
||||||
image: {{ include "turnstone.image" . }}
|
image: {{ include "turnstone.image" . }}
|
||||||
|
|||||||
@@ -18,6 +18,18 @@ spec:
|
|||||||
app.kubernetes.io/component: server
|
app.kubernetes.io/component: server
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ include "turnstone.serviceAccountName" . }}
|
serviceAccountName: {{ include "turnstone.serviceAccountName" . }}
|
||||||
|
{{- with .Values.server.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.server.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.server.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: server
|
- name: server
|
||||||
image: {{ include "turnstone.image" . }}
|
image: {{ include "turnstone.image" . }}
|
||||||
|
|||||||
@@ -31,6 +31,18 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ include "turnstone.serviceAccountName" . }}
|
serviceAccountName: {{ include "turnstone.serviceAccountName" . }}
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
|
{{- with .Values.migrate.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.migrate.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.migrate.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: migrate
|
- name: migrate
|
||||||
image: {{ include "turnstone.image" . }}
|
image: {{ include "turnstone.image" . }}
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ server:
|
|||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8080
|
port: 8080
|
||||||
|
# -- Node scheduling constraints
|
||||||
|
nodeSelector: {}
|
||||||
|
affinity: {}
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
# -- Turnstone console (cluster dashboard)
|
# -- Turnstone console (cluster dashboard)
|
||||||
console:
|
console:
|
||||||
@@ -57,6 +61,17 @@ console:
|
|||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8090
|
port: 8090
|
||||||
|
# -- Node scheduling constraints
|
||||||
|
nodeSelector: {}
|
||||||
|
affinity: {}
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
# -- Database migration Job (post-install/pre-upgrade hook)
|
||||||
|
migrate:
|
||||||
|
# -- Node scheduling constraints
|
||||||
|
nodeSelector: {}
|
||||||
|
affinity: {}
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
# -- LLM provider configuration
|
# -- LLM provider configuration
|
||||||
llm:
|
llm:
|
||||||
|
|||||||
Reference in New Issue
Block a user