2 Commits
Author SHA1 Message Date
Gitea Actions 452eedd6d6 Release 0.1.6 [auto-version-bump] 2026-10-20 12:33:52 +02:00
Ein Anderssono 1aa22cf871 Allow rule workers on the small workload node
Build and publish rule engine / release (push) Successful in 2m34s
2026-10-20 12:33:41 +02:00
7 changed files with 33 additions and 6 deletions
Generated
+1 -1
View File
@@ -13,7 +13,7 @@ dependencies = [
[[package]] [[package]]
name = "ai-spel-rule-engine" name = "ai-spel-rule-engine"
version = "0.1.5" version = "0.1.6"
dependencies = [ dependencies = [
"async-nats", "async-nats",
"axum", "axum",
+1 -1
View File
@@ -3,7 +3,7 @@ members = ["crates/rule-engine"]
resolver = "2" resolver = "2"
[workspace.package] [workspace.package]
version = "0.1.5" version = "0.1.6"
edition = "2024" edition = "2024"
license = "MIT" license = "MIT"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://gitea.k3s.k0.nu/ai-spel/ai-spel-rule-engine/raw/tag/v0.1.5/contracts/rule-evaluation-v1.schema.json", "$id": "https://gitea.k3s.k0.nu/ai-spel/ai-spel-rule-engine/raw/tag/v0.1.6/contracts/rule-evaluation-v1.schema.json",
"title": "AI Spel Luau rule evaluation contract v1", "title": "AI Spel Luau rule evaluation contract v1",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
+1 -1
View File
@@ -8,7 +8,7 @@ spec:
source: source:
repoURL: harbor.k3s.k0.nu/ai-spel repoURL: harbor.k3s.k0.nu/ai-spel
chart: ai-spel-rule-engine chart: ai-spel-rule-engine
targetRevision: "0.1.5" targetRevision: "0.1.6"
helm: helm:
releaseName: ai-spel-rule-engine releaseName: ai-spel-rule-engine
destination: destination:
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: ai-spel-rule-engine name: ai-spel-rule-engine
description: Isolated, sandboxed Luau proposal evaluator description: Isolated, sandboxed Luau proposal evaluator
type: application type: application
version: 0.1.5 version: 0.1.6
appVersion: "0.1.5" appVersion: "0.1.6"
@@ -26,6 +26,27 @@ spec:
imagePullSecrets: imagePullSecrets:
- name: {{ . | quote }} - name: {{ . | quote }}
{{- end }} {{- end }}
{{- with .Values.pod.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
{{- end }}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/instance: {{ .Release.Name }}
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/instance: {{ .Release.Name }}
containers: containers:
- name: rule-engine - name: rule-engine
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
@@ -8,6 +8,12 @@ deployment:
maxSurge: 1 maxSurge: 1
minReadySeconds: 5 minReadySeconds: 5
progressDeadlineSeconds: 600 progressDeadlineSeconds: 600
pod:
tolerations:
- key: workload-tier
operator: Equal
value: small
effect: NoSchedule
service: service:
port: 8080 port: 8080
nats: nats: