Skip to content

build(k8s): move SearXNG to 2026.11.12 after searxng-check #5093

Open

Description

@dan-petty

Problem or Motivation

k8s/devops/searxng/deployment.yaml pins docker.io/searxng/searxng:2026.10.23-629368e40 by digest. The newest is 2026.11.12-de722ab1b (digest sha256:0b104e2e1117b0ca83a36f3ac6ecda7d9ee948ccea6ead74750a03e1b856229a). Renovate (#4893) will offer each new calendar tag, and none can merge alone:

Research of 2026-11-12 (research-k8s, record image:docker.io/searxng/searxng).

Proposed Solution & Architectural Design

  1. Run uv run devops k8s searxng-check against the new image on the cluster.
  2. Set the pin and SEARXNG_IMAGE together.
  3. Give Renovate a way to run the check, or group SearXNG as a manual update, so each new tag does not open a pull request that fails the gate.

Done when SearXNG runs the new image and the gate row passes.

Target Subsystem

Kubernetes & Minikube Automation

Existing Tool Considered

devops k8s searxng-check exists. No new code beyond the Renovate rule.

Source: #4893

Alternatives check of 2026-11-27: in-use.
The repository already uses this tool.
Tool: renovatebot/renovate (https://github.com/renovatebot/renovate), AGPL-3.0, last activity 2026-11-27, maintained.
Reason: The issue already names Renovate as the tool that opens the SearXNG tag and digest bump (#4893), and the searches confirmed no other maintained tool covers it; the live cluster check stays a person step, which Renovate need not do.

Covers:

  • Proposes the new calendar tag together with its image digest
  • Opens one pull request per pinned Deployment image
  • Holds the update for approval on the Dependency Dashboard
  • Applies one grouping rule to the pinned image refs

Lacks:

  • Cannot run the live searxng-check against the cluster
  • No cluster access; the runner pod holds no Kubernetes token
  • Needs a person to approve and merge each image bump
  • Does not verify the reply, engine or NetworkPolicy rows

Proposed design

Problem statement

The issue asks for the SearXNG Deployment to run the 2026.11.12 image after a live check. The premise is stale. The Deployment at the commit being refined already pins docker.io/searxng/searxng:2026.11.26-b5605b8f2@sha256:462d8dbeadd7c7c304be08d47084f5caba70f47a9145a01fd25990a7944e61b7 for the searxng container and the render-settings init container, which is newer than the 2026.11.12-de722ab1b of the issue. The module src/devops_cli/k8s/searxng_check.py holds no SEARXNG_IMAGE, and the k8s gate row does not compare a constant with the pin. Renovate delivered the bump, so this item changes no image and adds no code. The one open step is the live uv run devops k8s searxng-check on the cluster, which a person runs after the merge.

Acceptance criteria

Requirement: One pinned image for both SearXNG containers

The SearXNG Deployment MUST keep the searxng container and the render-settings init container on one image string in one Deployment.

Scenario: k8s gate row

  • WHEN uv run devops ci --check --only k8s runs on the tree.
  • THEN The k8s gate checks pass, and the gate row finds the two SearXNG containers in one Deployment on one image string.

Requirement: Pending a person after the merge

The pinned SearXNG image MUST pass the live uv run devops k8s searxng-check on the cluster.

Scenario: Live searxng-check of the pinned image

  • WHEN A person runs uv run devops k8s searxng-check against the cluster that runs the pinned image.
  • THEN The command reports no problem for the reply, the category, the engine, the bang, the unused-category and the NetworkPolicy rows, and exits 0.

Existing Tool Considered

renovatebot/renovate (https://github.com/renovatebot/renovate), verdict in-use, from the alternatives check of 2026-11-27 in the issue body. The alternatives block in the issue body lists what the tool covers and lacks. Renovate carries each SearXNG calendar tag with its digest, as the comment in k8s/devops/searxng/deployment.yaml says, and the tree already holds the pin 2026.11.26-b5605b8f2. This item adds no new code and no pin change. Renovate cannot run the live uv run devops k8s searxng-check; the criterion Pending a person after the merge holds that step.

Key questions

  • Which image does the SearXNG Deployment pin at the commit being refined?: Both the searxng container and the render-settings init container run docker.io/searxng/searxng:2026.11.26-b5605b8f2@sha256:462d8dbeadd7c7c304be08d47084f5caba70f47a9145a01fd25990a7944e61b7. That image is newer than the 2026.11.12-de722ab1b of the issue, so no image change remains. [sources: k8s/devops/searxng/deployment.yaml]
  • Does src/devops_cli/k8s/searxng_check.py hold SEARXNG_IMAGE, and does the k8s gate row compare it with the Deployment pin?: No. The module holds the rows of the live check and no SEARXNG_IMAGE. The k8s gate row takes the searxng and render-settings containers out of the exact-image set. It asserts only that both containers sit in one Deployment with one image string, so a new tag cannot fail it. [sources: src/devops_cli/k8s/searxng_check.py, tests/gate/k8s_checks/devops_runtime.py]
  • Who runs the live uv run devops k8s searxng-check, and where?: A person with access to the cluster runs it on the cluster against the pinned image. The command reads the Service and the throwaway pods of the cluster, so no other host can run it. The roadmap runner pod holds no Kubernetes token. [sources: src/devops_cli/k8s/searxng_check.py, CONTEXT.md]
  • Does this item set the SearXNG pin, or does the Renovate update carry it?: The Renovate update carries the tag and the digest. The comment in k8s/devops/searxng/deployment.yaml says that Renovate bumps the tag and the digest together, and the tree already holds a pin newer than the issue names. This item changes no image and adds no second source for the pin. (best practice) [sources: k8s/devops/searxng/deployment.yaml, tests/gate/k8s_checks/devops_runtime.py]
    • Chosen: Keep the Renovate-delivered pin. The tree pins 2026.11.26-b5605b8f2, which is newer than the 2026.11.12-de722ab1b of the issue. The k8s gate row passes, and Renovate carries each new tag with its digest.
    • Rejected: Set the pin to 2026.11.12-de722ab1b in this item. That image is older than the pin in the tree. The change would downgrade the running image and duplicate the Renovate update.
    • Rejected: Hold the SearXNG image for approval in the Renovate configuration. The k8s gate row no longer compares a constant with the pin, so a new SearXNG tag cannot fail the gate. The rule fixes no failure.
  • Is the live check a block before the merge, or a step after it?: A step after the merge. The pin is already in the tree, so no merge waits on the check, and the roadmap runner pod holds no Kubernetes token. The item records the check as the criterion Pending a person after the merge. (best practice) [sources: k8s/devops/searxng/deployment.yaml, CONTEXT.md]
    • Chosen: Record the live check as a post-merge person step. The pin already merged, so the item holds no merge for the check, and only a person with cluster access can run it.
    • Rejected: Hold the item Blocked until a person runs the check. The pin is already in the tree, so the block would hold an item that has no remaining code change.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    on Nov 12, 2026
  2. added
    type/infra
    scope/k8s
    status/new
    value/medium
    effort/low
    on Nov 12, 2026
  3. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P3-Low. This is a routine version bump blocked on cluster access; it can wait without blocking other work.
    • Related: test(k8s): live check of the SearXNG service #3929, which asks for a different change. Both concern the SearXNG k8s deployment and the searxng-check tool, but #3929 creates the live check while this candidate runs that check to validate a version bump.
  4. added
    priority/p3-low
    on Nov 12, 2026
  5. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    Alternatives check: in-use

    Reason: The searches turned up no tool that runs this project's live devops k8s searxng-check against a new image, but Renovate — the dependency-update bot the issue already says offers the SearXNG tags — is an open, maintained tool whose configuration covers the third part of the need: grouping the SearXNG image as a manual/approval update instead of opening pull requests that fail the gate. It cannot reach the cluster or edit SEARXNG_IMAGE, so the pin change and the check stay manual.

    The repository already uses this tool.

    Tool: renovatebot/renovate (https://github.com/renovatebot/renovate)

    • License: AGPL-3.0
    • Last activity: 2026-11-15
    • Maintained: yes

    Covers:

    • Groups or holds the SearXNG image tag as a manual update, so new calendar tags no longer open pull requests that fail the k8s gate row
    • Runs commands after an upgrade in the same pull request (postUpgradeTasks) for a self-hosted Renovate run
    • Already the source of the SearXNG tag pull requests (feat(deps): track regular version updates with Renovate #4893), so the rule needs no new tool

    Lacks:

    • Cannot run uv run devops k8s searxng-check against the new image on the cluster
    • Cannot set the deployment pin and the SEARXNG_IMAGE constant together
    • Does not perform the version bump or make the gate row pass; a person must still run the check and update the constant

    Tools considered:

    Searches run:

    • Renovate packageRules group Kubernetes image updates manual approval dependencyDashboardApproval, results: 5
    • SearXNG docker image release tags upgrade notes, results: 5
    • renovatebot renovate documentation, results: 5
    • searxng searxng github container image, results: 5
    • renovate postUpgradeTasks run command after dependency update self-hosted, results: 5
    • docs.renovatebot.com configuration options postUpgradeTasks, results: 5
    • Renovate group docker image updates packageRules disable automerge dependency dashboard approval, results: 5

    Sources:

    Checked on 2026-11-15. A person decides what this means for the item. The check changes no label and closes no issue.

  6. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor

    Step 3 of this item moves to #6051 (PR #6052). Each SearXNG update gets its own Renovate branch, and waits for an approval on the Dependency Dashboard. The note of the rule now names the engine names file, devops k8s searxng-check and SEARXNG_IMAGE.

    This item keeps steps 1 and 2: run the live check against the new image and set the pin and SEARXNG_IMAGE together. Renovate now proposes 2026.10.30-ffa88e3ba (#6029) and 2026.11.15-2d500cb6b. After #6052 merges, approve the tag on the Dashboard when you can run the check.

  7. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Owner question: See Suspected block and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  8. devops-cli-service commented on Nov 23, 2026

    @devops-cli-service
    Contributor

    Owner question: See the first point of Open questions in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  9. added
    status/ready
    and removed
    status/new
    on Nov 28, 2026
  10. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p3-lowscope/k8ssource/agentstatus/readytype/infravalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions