Skip to content

feat: SWIM Env Vars Do Not Support DNS Hostnames #32

Description

@mvazquezc

Problem:

GRID_SWIM_ADVERTISE_ADDR and GRID_SWIM_SEEDS use SocketAddr::from_str(), which only accepts ip:port. AWS NLBs return DNS hostnames. This forces operators to resolve hostnames to IPs before deploying, and to use Elastic IPs for stability.

Proposed fix:

Accept hostnames in SWIM env vars by performing DNS resolution at startup, with a fallback to SocketAddr parsing. Alternatively, support CRD-only seed configuration where GridNetwork.spec.seeds handles DNS resolution during reconciliation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions