Inframan doesn’t give services a generated public URL. Without a domain, a service is only reachable from inside the cluster.
Add a domain
1
Find the load balancer address
Open the infrastructure and select the Domains tab. It shows the infrastructure’s load balancer IP. On AWS there’s one IP per zone.
2
Create the DNS record
At your DNS provider, create an A record for the domain, such as
api.example.com, pointing at that IP. On AWS, create one A record per IP.3
Add it in Inframan
Under Application Domains, enter the Domain and add it. Inframan checks the DNS record first, and refuses the domain if it doesn’t resolve to the load balancer yet. DNS changes can take a few minutes to spread.
4
Wait for the certificate
The domain shows provisioning while Let’s Encrypt validates it and issues the certificate, then active. If it shows failed, check the DNS record and retry.
5
Use it in inframan.yaml
inframan.yaml
https://api.example.com.Route paths to different services
Several services can share one domain on different paths:inframan.yaml
example.com/api/orders reach api as /orders, and everything else reaches web. A prefix matches whole path segments, so /api doesn’t catch /api-docs.
A domain per environment
Give non-production its own hostname with an environment override:inframan.yaml
Rules
- A domain routes only on the infrastructure it was added to. Using it from an application on another infrastructure fails the release with
DOMAIN_ON_OTHER_INFRASTRUCTURE. - A domain that isn’t active yet fails the release with
DOMAIN_NOT_ACTIVE, and one that was never added fails withDOMAIN_NOT_FOUND. - Each domain can be added once.
- Wildcard domains aren’t supported.
- Domains serve HTTP and HTTPS only.