Skip to content

Why LoadBalancer and NodePort are blocked

Capsule denies three Service types at admission. The create fails with <Type> service types are forbidden for the tenant and nothing is created. Use ClusterIP (the default when type is omitted) for every Service, and add an Ingress for external HTTP(S).

Blocked by: Capsule Tenant.spec.serviceOptions.allowedServices.loadBalancer: false.

LoadBalancer addresses aren’t offered to tenants. All external traffic enters through the shared Traefik edge.

Use instead: a ClusterIP Service plus an Ingress with ingressClassName: traefik. See Ingress on Kestrel.

Blocked by: Capsule Tenant.spec.serviceOptions.allowedServices.nodePort: false.

Node ports bypass the shared edge and would make tenants compete for the node port range.

Use instead: the same Ingress path for external traffic. Inside your tenant, ClusterIP Services are reachable from all your namespaces (Network model).

cert-manager’s HTTP01 solver creates a NodePort Service by default, so an HTTP01 Issuer for a custom domain must set serviceType: ClusterIP. See TLS certificates.

Blocked by: Capsule Tenant.spec.serviceOptions.allowedServices.externalName: false.

ExternalName aliasing hides an external dependency until DNS resolution time.

Use instead: put the external hostname in a ConfigMap and inject it as an environment variable, or use a Pod hostAliases entry. Both keep the dependency visible in your manifest.