diff --git a/gitea/gitea.yaml b/gitea/gitea.yaml index a20e27a..e0feee0 100644 --- a/gitea/gitea.yaml +++ b/gitea/gitea.yaml @@ -119,7 +119,14 @@ spec: kubernetes.io/arch: arm64 containers: - name: gitea-runner - image: vegardit/gitea-act-runner:latest + image: vegardit/gitea-act-runner:v0.12.0 + resources: + requests: + memory: "512Mi" + cpu: "250m" + limits: + memory: "1Gi" + cpu: "500m" env: - name: GITEA_INSTANCE_URL valueFrom: diff --git a/monitoring/prometheus-deployment.yaml b/monitoring/prometheus-deployment.yaml index 825ecf1..8f420b6 100644 --- a/monitoring/prometheus-deployment.yaml +++ b/monitoring/prometheus-deployment.yaml @@ -15,9 +15,10 @@ spec: labels: app: prometheus spec: - # Prevent scheduling on Raspberry Pi due to resource requirements (512Mi-1Gi memory, 500m-1000m CPU) + # Target the nucbox (amd64, 24Gi RAM) which is the only node with enough memory for Prometheus. nodeSelector: - hardware: high-memory + kubernetes.io/os: linux + kubernetes.io/arch: amd64 serviceAccountName: prometheus containers: - name: prometheus