fix/k8s-port-mappings-v5 #994

Open
AFDudley wants to merge 4 commits from fix/k8s-port-mappings-v5 into main
Owner
No description provided.
AFDudley added 4 commits 2026-03-04 17:14:37 +00:00
Kind's extraPortMappings only included ports 80/443 for Caddy. Compose
service ports (RPC, gossip, UDP) were never forwarded, making them
unreachable from the host. Also adds hostNetwork/dnsPolicy to the k8s
pod spec when any compose service uses network_mode: host.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
add local test runner script
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 2m17s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m1s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 5m14s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 6m49s
Webapp Test / Run webapp test suite (pull_request) Successful in 7m51s
Smoke Test / Run basic test suite (pull_request) Successful in 8m5s
f305214ce1
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When kind-mount-root is set in spec.yml, emit a single extraMount
mapping the root to /mnt instead of per-volume mounts. This allows
adding new volumes without recreating the kind cluster.

Volumes whose host path is under the root are skipped for individual
extraMounts and their PV paths resolve to /mnt/{relative_path}.
Volumes outside the root keep individual extraMounts as before.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix(k8s): use deployment namespace for pod and container lookups
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 2m2s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m34s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 3m57s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m7s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m14s
Smoke Test / Run basic test suite (pull_request) Successful in 2m20s
26dea540e9
pods_in_deployment() and containers_in_pod() were hardcoded to search
the "default" namespace, but deployments are created in a per-deployment
namespace (laconic-{name}). This caused logs() to report "Pods not
running" even when pods were healthy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 2m2s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m34s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 3m57s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m7s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m14s
Smoke Test / Run basic test suite (pull_request) Successful in 2m20s
This pull request has changes conflicting with the target branch.
  • stack_orchestrator/deploy/k8s/cluster_info.py

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/k8s-port-mappings-v5:fix/k8s-port-mappings-v5
git checkout fix/k8s-port-mappings-v5
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#994
No description provided.