diff --git a/litellm/litellm.yaml b/litellm/litellm.yaml index 6bb68fb..537dc1f 100644 --- a/litellm/litellm.yaml +++ b/litellm/litellm.yaml @@ -112,6 +112,13 @@ spec: env: - name: STORE_MODEL_IN_DB value: "True" + resources: + requests: + memory: "512Mi" + cpu: "250m" + limits: + memory: "1Gi" + cpu: "500m" volumes: - name: config-volume configMap: diff --git a/monitoring/prometheus-deployment.yaml b/monitoring/prometheus-deployment.yaml index 8f420b6..31596bc 100644 --- a/monitoring/prometheus-deployment.yaml +++ b/monitoring/prometheus-deployment.yaml @@ -15,10 +15,9 @@ spec: labels: app: prometheus spec: - # Target the nucbox (amd64, 24Gi RAM) which is the only node with enough memory for Prometheus. + # Prevent scheduling on Raspberry Pi due to resource requirements (512Mi-1Gi memory, 500m-1000m CPU) nodeSelector: - kubernetes.io/os: linux - kubernetes.io/arch: amd64 + hardware: high-memory serviceAccountName: prometheus containers: - name: prometheus @@ -40,10 +39,10 @@ spec: mountPath: /prometheus resources: requests: - memory: "512Mi" + memory: "1Gi" cpu: "500m" limits: - memory: "1Gi" + memory: "2Gi" cpu: "1000m" volumes: - name: prometheus-config