Page MenuHomePhabricator

Make tf-bullseye-std point to toolforge-bullseye-sssd rather than toolforge-bullseye-standalone
Closed, ResolvedPublicFeature

Description

The "standalone" image is a very bare bones image that Brooke made for folks who are using statically compiled rust things and similar as part of T277749: [Toolforge] Generic webservice not working on Kubernetes. The standalone image does not contain the basic tools like curl, awk, and jq that we put in literally all of the other containers we publish. This makes it of very little use for most folks who will be migrating cron jobs from the grid engine to the jobs framework.

Event Timeline

bd808 changed the subtype of this task from "Task" to "Feature Request".Oct 25 2022, 7:29 PM

The standalone image does not contain the basic tools like curl, awk, and jq that we put in literally all of the other containers we publish. This makes it of very little use for most folks who will be migrating cron jobs from the grid engine to the jobs framework.

Wouldn't those people use a different container? Or asking a different way, after this proposed change, what's the purpose of the standalone image?

The standalone image does not contain the basic tools like curl, awk, and jq that we put in literally all of the other containers we publish. This makes it of very little use for most folks who will be migrating cron jobs from the grid engine to the jobs framework.

Wouldn't those people use a different container? Or asking a different way, after this proposed change, what's the purpose of the standalone image?

I honestly don't think there ever was a good reason for the standalone image as I said in T277749#6927178. But maybe my real concerns are that:

  • We do not seem to have a "language agnostic" image today for the jobs framework other than this one
  • This image shows at the top of the list of images
  • "std" expands in my head to "standard" not "standalone"
  • The documentation at https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework uses --image tf-bullseye-std in every example which makes it seem like a universal solution

Change 861388 had a related patch set uploaded (by Arturo Borrero Gonzalez; author: Arturo Borrero Gonzalez):

[cloud/toolforge/jobs-framework-api@main] deployment: refresh generic image, try to avoid the standalone image

https://gerrit.wikimedia.org/r/861388

For the record:

aborrero@tools-k8s-control-1:~$ sudo -i kubectl get all -A -l app.kubernetes.io/managed-by=toolforge-jobs-framework -o yaml | egrep standalone
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      imageID: docker-pullable://docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone@sha256:d9d1018b87439cdbe4df2244927c7a02cc420f123f52ccba2baa4f95749a793d
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      imageID: docker-pullable://docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone@sha256:d9d1018b87439cdbe4df2244927c7a02cc420f123f52ccba2baa4f95749a793d
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      imageID: docker-pullable://docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone@sha256:d9d1018b87439cdbe4df2244927c7a02cc420f123f52ccba2baa4f95749a793d
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
      imageID: docker-pullable://docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone@sha256:d9d1018b87439cdbe4df2244927c7a02cc420f123f52ccba2baa4f95749a793d
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
              image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest
          image: docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest

Change 861388 merged by Arturo Borrero Gonzalez:

[cloud/toolforge/jobs-framework-api@main] deployment: refresh generic image, try to avoid the standalone image

https://gerrit.wikimedia.org/r/861388

aborrero claimed this task.
tools.arturo-test-tool@tools-sgebastion-11:~$ toolforge-jobs images | grep bullseye
tf-bullseye-std             docker-registry.tools.wmflabs.org/toolforge-bullseye-sssd:latest
tf-bullseye-std-DEPRECATED  docker-registry.tools.wmflabs.org/toolforge-bullseye-standalone:latest