Allow rule workers on the small workload node
Build and publish rule engine / release (push) Successful in 2m34s

This commit is contained in:
Ein Anderssono
2026-10-20 12:33:41 +02:00
parent f33a956494
commit 1aa22cf871
2 changed files with 27 additions and 0 deletions
@@ -26,6 +26,27 @@ spec:
imagePullSecrets:
- name: {{ . | quote }}
{{- 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:
- name: rule-engine
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
@@ -8,6 +8,12 @@ deployment:
maxSurge: 1
minReadySeconds: 5
progressDeadlineSeconds: 600
pod:
tolerations:
- key: workload-tier
operator: Equal
value: small
effect: NoSchedule
service:
port: 8080
nats: