diff --git a/services/ai-llm/batch-deployment.yaml b/services/ai-llm/batch-deployment.yaml index a95769a7..2adc648f 100644 --- a/services/ai-llm/batch-deployment.yaml +++ b/services/ai-llm/batch-deployment.yaml @@ -18,6 +18,8 @@ spec: automountServiceAccountToken: false nodeSelector: kubernetes.io/hostname: titan-23 + tolerations: + - {key: veles.bstein.dev/simulation, operator: Equal, value: "true", effect: NoSchedule} securityContext: seccompProfile: {type: RuntimeDefault} containers: diff --git a/services/ai-llm/batch-seed-job.yaml b/services/ai-llm/batch-seed-job.yaml index 18b20203..260c6d0f 100644 --- a/services/ai-llm/batch-seed-job.yaml +++ b/services/ai-llm/batch-seed-job.yaml @@ -2,7 +2,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: ollama-batch-seed-v1 + name: ollama-batch-seed-v2 namespace: ai spec: backoffLimit: 2 @@ -16,6 +16,8 @@ spec: restartPolicy: Never nodeSelector: kubernetes.io/hostname: titan-23 + tolerations: + - {key: veles.bstein.dev/simulation, operator: Equal, value: "true", effect: NoSchedule} containers: - name: seed image: ollama/ollama@sha256:0c0a83210471fb50226bcdc2d6611d20ab13ae87e024cc304c94a6a5765c5e65