Help talk:Toolforge/Kubernetes

From Wikitech
Jump to navigation Jump to search

How installing additional dependencies into a "available container type" works

If a web service depends on a package providing a particular tool, e.g. rsvg-convert or pdf2svg, what is the correct process to install it into the container of a special flavor? --- Rillke (talk) 10:58, 3 March 2019 (UTC)

And there is no mechanism for a user to install system packages inside of a container. - So the correct procedure is to send a merge/pull/change-request on the SCM/VCS or add a Phab-Task? -- Rillke (talk) 11:08, 3 March 2019 (UTC)
See Packages to be installed in Toolforge Kubernetes Images (Tracking) on Phabricator. We have been having various debates about adding some packages like the ones mentioned in the original question. The tension is between keeping the images physically small and focused on a general language runtime, and providing specialized support for particular tools (image processing, text translation, etc). The final recommendation for a particular software package request may ultimately be to use the job grid for now until a system for using customized containers is created. --BryanDavis (talk) 23:49, 3 March 2019 (UTC)

How can I see if I am running scripts on a soon-to-be-removed image?

Let's imagine I decide to start my web service with webservice --backend=kubernetes php7.2 start. 7.2 will be unsupported from 30 Nov 2020 on. Before this happens, I guess, the docker images with 7.2 are removed from docker-registry.tools.wmflabs.org. Will I get notified of the deprecation, and the removal, and if so, how? -- Rillke (talk) 11:11, 3 March 2019 (UTC)

We do not currently have a policy or procedure for this, but it is a topic that should be discussed. Phab task T213641 looks like the most directly related open task. --BryanDavis (talk) 23:53, 3 March 2019 (UTC)

Is there an automatically generated/ up-to-date list of Docker Image Tags?

Yes, it is called catalog -- Rillke (talk) 11:13, 3 March 2019 (UTC)