Skip to content

ate-setup deploy apiserver works on kind clusters - #2682

Merged
Dmitry Berkovich (dberkov) merged 2 commits into
agent-substrate:mainfrom
HavenXia:kind-apiserver-overlay
Oct 15, 2026
Merged

Dmitry Berkovich (dberkov) merged 2 commits into
agent-substrate:mainfrom
HavenXia:kind-apiserver-overlay

Conversation

@HavenXia

@HavenXia Haven Xia (HavenXia) commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

On kind, ate-setup deploy apiserver doesn't work because the kind settings for ate-api-server lived only as an inline patch in the kind system bundle, so this command dropped them.

The patch now lives in its own overlay, manifests/ate-install/kind/ate-api-server, the way kind/atelet already works.

Found while running the upgrade E2E on kind, where ate-setup deploy apiserver timed out.
Part of #1686

  • Tests pass
  • Appropriate changes to documentation are included in the PR

}

// apiServerManifestPath is the ate-api-server manifest for the environment.
func (e *Env) apiServerManifestPath() string {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 nit 🟢 – DeployAtelet still inlines its kind path (e.Cfg.Path(installDir + "/kind/atelet"), deploy.go:473) while this and postgresManifestPath are helpers. An ateletManifestPath would let TestAPIServerManifestMatchesSystemBundle cover the atelet DaemonSet too, guarding the same bug class for the other single-component redeploy. Fine as a follow-up.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

On kind, the system bundle patches ate-api-server so its object-store
plugin uses the in-cluster rustfs. deploy apiserver rendered the base
ate-api-server.yaml instead. A kind redeploy therefore reset the plugin
to GCS, and the new pod never became ready.

Move the patch into a kind/ate-api-server overlay, the same way
kind/atelet is set up. The kind bundle builds on that overlay and
DeployAteAPIServer applies it on kind. The rendered kind bundles are
unchanged.
Give atelet the same manifest path helper as ate-api-server, and
compare its DaemonSet against the system bundle in the same test. If a
kind redeploy of atelet ever went back to the base file, it would hit
the bug ate-api-server had, and the test would catch it.
@dberkov
Dmitry Berkovich (dberkov) added this pull request to the merge queue Oct 15, 2026
Merged via the queue into agent-substrate:main with commit 826c9fa Oct 15, 2026
15 checks passed
@HavenXia
Haven Xia (HavenXia) deleted the kind-apiserver-overlay branch October 28, 2026 16:26
@HavenXia
Haven Xia (HavenXia) restored the kind-apiserver-overlay branch October 28, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants