You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- docker-compose.yml: remove unused GRADER_BACKEND env var, fix duplicate
volumes key by merging into one list, tag sample-grader with
image: grader-base:local so conf.d/600.json reference resolves
- Dockerfile: standardise CMD config path to /etc/xqueue-watcher to match
docker-compose and Kubernetes manifests
- metrics.py: remove OTEL_METRIC_EXPORT_INTERVAL from docstring since it is
not wired up in _build_meter_provider()
- containergrader.py: add pod template metadata labels so the NetworkPolicy
podSelector (app.kubernetes.io/component=xqueue-grader) actually matches
grading pods; set automount_service_account_token=False on the grading pod
spec to reduce blast radius if the NetworkPolicy is misconfigured; add
_parse_memory_bytes() helper and use it for the Docker backend mem_limit
so Kubernetes-style strings like '256Mi' are converted to bytes rather
than passed raw (which Docker does not accept)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments