Repository navigation
ate-setup deploy apiserver works on kind clusters
#2682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Dmitry Berkovich (dberkov)
merged 2 commits into
agent-substrate:main
from
HavenXia:kind-apiserver-overlay
Oct 15, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
manifests/ate-install/kind/ate-api-server/kustomization.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # Copyright 2026 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
|
|
||
| resources: | ||
| - ../../ate-api-server.yaml | ||
|
|
||
| # OTEL_TRACES_SAMPLER pins ate-api-server to parentbased_always_on so every API | ||
| # call it roots is traced; the other components keep their binary defaults and | ||
| # follow its sampled flag via their ParentBased samplers. It stays an inline | ||
| # patch rather than a key in ate-otel-config.yaml because that ConfigMap is | ||
| # shared by every component via envFrom -- putting always_on there would pin the | ||
| # router and the control plane to 100% too, undoing their per-component ratios. | ||
| # | ||
| # The storage settings point ate-api-server's object-store plugin at the same | ||
| # rustfs the ../atelet overlay points atelet's at: both ends of an external | ||
| # snapshot's life have to agree on where it lives. | ||
| patches: | ||
| - patch: |- | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: ate-api-server | ||
| namespace: ate-system | ||
| spec: | ||
| template: | ||
| spec: | ||
| containers: | ||
| - name: ate-api-server | ||
| env: | ||
| - name: OTEL_TRACES_SAMPLER | ||
| value: parentbased_always_on | ||
| initContainers: | ||
| - name: objectstore-plugin | ||
| env: | ||
| - name: ATE_STORAGE_BACKEND | ||
| value: s3 | ||
| - name: AWS_REGION | ||
| value: us-east-1 | ||
| - name: AWS_ENDPOINT_URL | ||
| value: http://rustfs.ate-system.svc:9000 | ||
| - name: AWS_S3_USE_PATH_STYLE | ||
| value: "true" | ||
| # TODO: use a secret / identity management | ||
| - name: AWS_ACCESS_KEY_ID | ||
| value: rustfsadmin | ||
| - name: AWS_SECRET_ACCESS_KEY | ||
| value: rustfsadmin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 nit 🟢 –
DeployAteletstill inlines its kind path (e.Cfg.Path(installDir + "/kind/atelet"),deploy.go:473) while this andpostgresManifestPathare helpers. AnateletManifestPathwould letTestAPIServerManifestMatchesSystemBundlecover the atelet DaemonSet too, guarding the same bug class for the other single-component redeploy. Fine as a follow-up.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added