Skip to content

ate-controller: worker Deployment renamed <pool>-deployment → <pool>; adopt or clean up the legacy one #84

Open

Description

@marcellodesales

Found during an in-place production upgrade (Substrate 0.0.9 → 0.5.0-alpha2, kagent 0.10.3 → 1.0.0-alpha13) on EKS 1.37, GitOps-managed (Argo CD, server-side apply, kustomize-inflated charts, all Secrets provided externally — no kagent install). Fresh installs (kind and a disposable EKS) did not show it.

What happens. 0.5 names a WorkerPool's workers <pool> (workerpool_apply.go); 0.0.9 named them
<pool>-deployment. The WorkerPool keeps its name across the upgrade and owns the old Deployment, so the
0.0.9 workers (old ateom-gvisor image, same pool label) keep running next to the new ones until someone
deletes them.

Proposal: on reconcile, delete Deployments owned by the WorkerPool whose name is not the current one
(or carry a ate.dev/worker-generation label and prune the rest); at minimum a release note.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions