stack-orchestrator/stack_orchestrator/deploy/k8s
A. F. Dudley fbaa2eaa71
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 2m18s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m42s
Webapp Test / Run webapp test suite (pull_request) Failing after 6m28s
Smoke Test / Run basic test suite (pull_request) Successful in 7m33s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m44s
feat(k8s): map compose service ports to Kind extraPortMappings and support hostNetwork
_generate_kind_port_mappings now reads ports from compose services and
adds them to Kind's extraPortMappings with correct protocol handling
(TCP/UDP). Previously only port 80 for the ingress controller was mapped,
so application ports like Solana gossip/RPC were unreachable from the host.

Also adds hostNetwork support: when any compose service declares
network_mode: host, the K8s pod spec gets hostNetwork: true and
dnsPolicy: ClusterFirstWithHostNet. Required for workloads like Solana
validators that need direct host networking for UDP gossip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 04:39:07 +00:00
..
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
cluster_info.py feat(k8s): map compose service ports to Kind extraPortMappings and support hostNetwork 2026-03-03 04:39:07 +00:00
deploy_k8s.py Auto-detect which certificate to use (including wildcards). (#779) 2024-03-07 17:38:36 +00:00
helpers.py feat(k8s): map compose service ports to Kind extraPortMappings and support hostNetwork 2026-03-03 04:39:07 +00:00