fix(k8s): reduce bootstrap cluster to single node#507
Closed
casey-brooks wants to merge 1 commit into
Closed
Conversation
Contributor
Author
Test & lint summary
Local full k3d apply could not complete in this container because Docker cannot mount |
noa-lucent
approved these changes
May 19, 2026
noa-lucent
left a comment
There was a problem hiding this comment.
Code review complete. The changes align with #506: defaults now produce a single k3d node, k3d server/agent counts are validated and wired through apply.sh and the composite action, and CI logs include the requested resource and Kubernetes diagnostics.
Collaborator
|
CI is green ( |
Collaborator
|
Closing per request: repository requires CODEOWNERS approval from |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
servers=1,agents=0).apply.shand the provision composite action.Closes #506
Tests / checks
bash -n apply.sh .github/scripts/verify_platform_health.sh— passedshellcheck apply.sh .github/scripts/verify_platform_health.sh— passed with no errorsactionlint— passed with no errorsterraform -chdir=stacks/k8s fmt -check -diff— passed with no formatting diffsterraform -chdir=stacks/k8s validate— passedterraform -chdir=stacks/k8s plan -input=false -var servers=1 -var agents=0 -var domain=agyn.dev -var port=2496 -out=/tmp/k8s-single-node.tfplan— passed; plan showsservers = 1,agents = 0terraform -chdir=stacks/k8s planinvalid-count checks — passed; 2 invalid cases failed as expectedPATH=/tmp:$PATH K3D_SERVERS=0 K3D_AGENTS=0 ./apply.sh -yandPATH=/tmp:$PATH K3D_SERVERS=1 K3D_AGENTS=bad ./apply.sh -y— passed; 2 invalid env cases failed as expectedNote: local full k3d apply could not complete in this container because Docker cannot mount
sysfsfor k3d (operation not permitted). Static validation and plan checks passed locally.