Allow rule workers on the small workload node
Build and publish rule engine / release (push) Successful in 2m34s
Build and publish rule engine / release (push) Successful in 2m34s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user