Shared ingress add-on (custom hostname over IPv4)
DollarBox containers are IPv6 by default and get a dedicated public IPv6 LoadBalancer address (see IPv6 and NAT64). Many clients, CDNs, and tools still need IPv4, and you may want a real hostname with automatic HTTPS instead of a raw IP. The shared ingress add-on gives you that: you get a managed hostname from us (or point your own domain at it with one CNAME record), and the shared ingress serves it over HTTP/HTTPS with an automatic Let's Encrypt certificate.
- No IP addresses to configure or look up, no Cloudflare in the path, no proxy to operate.
- The hostname you get is served by the shared ingress automatically — if one backend is down the others still answer, and you never need to know or care how many there are.
- TLS certificates are issued automatically by Let's Encrypt once your domain ownership is proven.
Pricing
The add-on costs €5 per hostname route per month (ex-VAT), billed as a subscription add-on. Creating a route on an org without the add-on returns 402 addon_required. Ask support to enable the add-on on your org, or use a comped org.
Each route maps one hostname to one service port in your org's namespace. Hostnames are globally unique across all of DollarBox — first come, first served.
Option A: managed route (recommended)
Manage in the control panel: sign in to app.dollarbox.dev and open Ingress in the top navigation — list, create (managed or custom domain), verify DNS, tune the per-route rate limit, and delete routes there. Everything below also works through the REST API. The control panel renders a HostnameRoute resource for you: a Traefik IngressRoute, a cert-manager Certificate, and the network policy that lets the ingress reach your service. You do not need kubectl mode for this.
Managed hostname — no DNS setup at all (primary option)
Ask for a managed hostname and DollarBox allocates one for you under your cluster's managed zone — apps.prod.dollarbox.dev on the production cluster:
curl -X POST https://app.dollarbox.dev/api/v1/ingress-routes/ \
-H "Authorization: Bearer $DOLLARBOX_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"managed": true,
"slug": "myapp", # optional; a random slug is allocated if omitted
"target_service": "web",
"target_port": 80
}'
The response returns "hostname": "myapp.apps.prod.dollarbox.dev" with "managed": true, "cluster_slug": "prod" and "status": "active" right away. You do not create any DNS records and do not need the TXT proof — the zone is ours and the managed name resolves to the shared ingress automatically (DNS-only, never proxied), so clients connect to the hostname and never see any infrastructure addresses:
| What clients use | What it resolves to |
|---|---|
myapp.apps.prod.dollarbox.dev | the shared ingress (round-robin across its backends) |
Per-cluster zones. The managed zone is per cluster: <slug>.apps.<cluster>.dollarbox.dev, e.g. apps.prod.dollarbox.dev for production. Each app lives on exactly one cluster's ingress, and a future cluster gets its own zone (e.g. apps.staging.dollarbox.dev) with the same scheme — the same slug on two clusters is two different, disjoint hostnames.
TLS is automatic on the managed hostname: because we own the zone, no TXT proof is needed and cert-manager issues the Let's Encrypt certificate via HTTP-01 as soon as the route is created:
curl -I https://myapp.apps.prod.dollarbox.dev/ # 200
Managed hostnames are globally unique across all of DollarBox: the full hostname is unique platform-wide, and within a cluster zone the slug alone is unique, so another org asking for a taken slug gets 409 hostname_taken. Each org can hold up to 10 managed routes (422 managed_quota_reached beyond that). They bill the same €5/route/month add-on price. Tenant-created Ingress/IngressRoute objects may never claim names under any apps.*.dollarbox.dev zone — any cluster, not just the current one (admission denies them) — managed hostnames exist only via this API, scoped to your org.
Only hostnames with an active route serve content — any other name under the managed zone gets a 404 from the shared ingress, so probing the zone never leaks which slugs exist.
Custom domain (optional): one CNAME record
To use your own domain, create a managed route first (above), then point your domain at the managed hostname with a single CNAME record — that is the only DNS setup the add-on supports:
| Type | Name | Value |
|---|---|---|
CNAME | app.example.com | myapp.apps.prod.dollarbox.dev |
Then create a second route for your custom hostname:
curl -X POST https://app.dollarbox.dev/api/v1/ingress-routes/ \
-H "Authorization: Bearer $DOLLARBOX_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"hostname": "app.example.com",
"target_service": "web",
"target_port": 80,
"tls_enabled": true
}'
target_service/target_portmust match a Service in your org's platform namespace — for a simple-mode container that is the container's service on the container port (default 80).hostnamemust be a DNS-1123 name with at least one dot;*.dollarbox.dev(including every managed zone*.apps.*.dollarbox.dev, any cluster) andcontainer-prefixes are reserved. If the hostname is taken, you get409 hostname_taken.- Point your name at the managed hostname with a CNAME record — never with A/AAAA records at cluster addresses. When the route is created we check your DNS: a CNAME chain ending at a name under the managed zone is accepted; direct A/AAAA records at cluster addresses are rejected with
422 direct_address_not_allowed("publish a CNAME record … instead"); anything else gets422 domain_not_verified. This check is the first domain-ownership proof. - The route starts
pending. Plain-HTTP routes ("tls_enabled": false) becomeactiveimmediately; TLS routes staypendinguntil the TXT proof in the next step passes.
Prove domain ownership with a TXT record
Fetch the proof record for the route:
curl https://app.dollarbox.dev/api/v1/ingress-routes/<id>/proof/ \
-H "Authorization: Bearer $DOLLARBOX_TOKEN"
Publish the returned record in your DNS zone (alongside the CNAME from the previous step):
| Type | Name | Value |
|---|---|---|
TXT | _dollarbox-verify.app.example.com | <proof_txt_value from the API> |
Then verify:
curl -X POST https://app.dollarbox.dev/api/v1/ingress-routes/<id>/verify-domain/ \
-H "Authorization: Bearer $DOLLARBOX_TOKEN"
Once the TXT record is visible (domain_verified: true), cert-manager completes the Let's Encrypt HTTP-01 challenge through the shared ingress and issues the certificate automatically. The route goes active and https://app.example.com works. If the TXT record is missing you get 422 domain_not_verified — publish it and retry.
Verify
curl -I https://app.example.com/ # 200
curl -I https://myapp.apps.prod.dollarbox.dev/ # 200 — same service via the managed hostname
List, inspect, patch, or delete routes at /api/v1/ingress-routes/ and /api/v1/ingress-routes/<id>/ (PATCH changes only the rate limits; DELETE removes the route and all its rendered objects).
Per-route rate limits
Every route gets a default rate limit (20 requests/second average, burst 40) applied by the shared ingress. Tune it per route:
curl -X PATCH https://app.dollarbox.dev/api/v1/ingress-routes/<id>/ \
-H "Authorization: Bearer $DOLLARBOX_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "rate_limit_average": 100, "rate_limit_burst": 200 }'
Set rate_limit_average to 0 to disable the rate limit for a route. Values are capped at 1000 average / 2000 burst. Unset fields keep their current values.
Option B: k8s-native Ingress (kubectl-mode orgs)
If your org has kubectl mode enabled, you can skip the managed resource and apply a standard Kubernetes Ingress yourself. The shared ingress picks it up when it uses class tenant-ingress and carries the label dollarbox.io/tenant-ingress: "true" (admission rejects tenant Ingresses without it):
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: app
labels:
dollarbox.io/tenant-ingress: "true"
annotations:
cert-manager.io/cluster-issuer: tenant-http01
spec:
ingressClassName: tenant-ingress
tls:
- hosts: ["app.example.com"]
secretName: app-tls
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web
port:
number: 80
- Backends must stay in your own namespace (cross-namespace backends are rejected by admission).
- Certificates must reference the
tenant-http01ClusterIssuer. *.dollarbox.devhosts (including every managedapps.*.dollarbox.devzone) are reserved and rejected — use your own domain, or your managed hostname via the API.- The same DNS rules apply as for the API flow: point the hostname at your managed hostname with a CNAME record (direct A/AAAA records at cluster addresses are not accepted), and port 80 of the shared ingress must be publicly reachable for the HTTP-01 challenge — which it is, since the managed hostname already resolves there.
Coexistence with the IPv6 LoadBalancer
The add-on is purely additive: your container keeps its dedicated public IPv6 LoadBalancer address from Provision a container, and you can keep pointing an AAAA record at it (see Point a hostname). Use the shared ingress for IPv4 clients and a memorable hostname with managed TLS; use the IPv6 VIP directly for IPv6-capable clients that don't need the hostname. Both can serve the same service at the same time.
Related docs
- IPv4 access options — the managed add-on vs. CDN proxy / own proxy / relay / NAT64
- Point a hostname at your dollarbox
- Cloudflare IPv4 proxy
- IPv6 and NAT64
- REST API and API reference
- Troubleshooting