I'm currently seeing some intermittent tool failures.
On running kubectl apply -f worker-deployment.yml to recreate a deployment, I get:
tools.refill-api@tools-sgebastion-10:~$ kubectl apply -f worker-deployment.yml
Error from server: error when applying patch:
{"spec":{"template":{"spec":{"$setElementOrder/containers":[{"name":"celery"}],"containers":[{"name":"celery","resources":{"limits":{"cpu":"1.0"}}}]}}}}
to:
Resource: "apps/v1, Resource=deployments", GroupVersionKind: "apps/v1, Kind=Deployment"
Name: "refill-api-worker", Namespace: "tool-refill-api"
for: "worker-deployment.yml": admission webhook "registry-admission.tools.wmflabs.org" denied the request: The following container images did not match any of the allowed registries ([['docker-registry.tools.wmflabs.org']]): [Kind=apps/v1, Kind=Deployment, Namespace=tool-refill-api Name=refill-api-worker Image=docker-registry.tools.wmflabs.org/toolforge-python37-sssd-base:latest]
Error from server: error when applying patch:
{"spec":{"template":{"spec":{"$setElementOrder/containers":[{"name":"celery"}],"containers":[{"name":"celery","resources":{"limits":{"cpu":"0.5"}}}]}}}}
to:
Resource: "apps/v1, Resource=deployments", GroupVersionKind: "apps/v1, Kind=Deployment"
Name: "refill-api-scheduler", Namespace: "tool-refill-api"
for: "worker-deployment.yml": admission webhook "registry-admission.tools.wmflabs.org" denied the request: The following container images did not match any of the allowed registries ([['docker-registry.tools.wmflabs.org']]): [Kind=apps/v1, Kind=Deployment, Namespace=tool-refill-api Name=refill-api-scheduler Image=docker-registry.tools.wmflabs.org/toolforge-python37-sssd-base:latest]