Prepare network, DNS and certificates
Katonic is reached through one load balancer address and served from a set of hostnames that all sit under one wildcard. This stage gets the names, the certificate and the firewall ready before the install, so the platform is reachable over HTTPS the moment it is Ready.
Who can use it: your network and security teams. Nothing here needs a product role.
Prerequisites
- The domain from Plan the installation, such as
ai.example.com. - Whether you are connected or air-gapped, and whether you use a corporate proxy.
Work out the two names
The platform uses your domain, and a set of further hosts that sit one level under the domain's parent, not under the domain itself:
| Your domain | The platform | Every other host | Wildcard you need |
|---|---|---|---|
ai.example.com | ai.example.com | grafana-ai.example.com, an organisation at acme.example.com, a test environment at ai-test.example.com | *.example.com |
So you need two names: the domain itself, and a wildcard one level under its parent. Always choose a domain with at least three labels, such as ai.example.com, never the bare example.com: the hosts are built by joining the domain's first label to its parent, so a two-label domain would put them directly under the top-level domain. On AI Cloud every organisation and environment gets a host under that same wildcard. If the wildcard would cover names you already use elsewhere, choose a domain under a parent of its own, such as ai.katonic.example.com.
Prepare DNS and the certificate
- Reserve the load balancer address
The ingress gateway gets its address from your load balancer at install time. On premises you can fix it in advance from a MetalLB pool or a virtual IP. Port 443 is the only port people and applications use; port 80 only redirects to HTTPS.
- Publish the records
Point both names at that address: one record for the domain and one for the wildcard. Private DNS is fine for an internal platform. A hosts file cannot express the wildcard. On AWS, Azure, Google Cloud, Oracle Cloud and Alibaba Cloud the platform can manage the records for you; on premises you publish them.
- Obtain the certificate
One certificate whose names cover the domain and the wildcard. Prepare two files:
tls.crt: the full chain, your certificate first, then the issuing certificates. The installer refuses a file with fewer than two certificates.tls.key: the private key.
Passing both to the bootstrap creates the TLS secret and sets the custom certificate mode. If the certificate will only arrive after the install, set
networking.tls_mode: deferredand add it later. Do not install without one: with no certificate and no mode set, the platform is served over plain HTTP and browser sign-in does not work.
Open the outbound destinations
A connected install pulls images and fetches the licence over HTTPS on port 443. Allow these from the nodes and from the install machine:
| Destination | What for |
|---|---|
docker.io, registry-1.docker.io | The platform's images, and the installer's registry check |
ghcr.io, quay.io, registry.k8s.io | Images for the database operator, the identity provider, the secrets store, scheduling and monitoring |
OpsHub, opshub.katonic.ai unless Katonic gives you another address | Activates a licence key, and serves the licence signing keys and revocation list |
nvcr.io | Only if you serve models in the cluster with the NVIDIA runtimes |
The features your people switch on reach further destinations of your choosing: model providers, your identity provider, mail, and the sources your connectors read. Allow those as you enable them; see Network, nodes and outbound access.
An air-gapped install needs none of the table. It pulls everything from a registry inside your network instead; see Install without internet access.
If you use a corporate proxy
Add the proxy to the configuration:
networking:
proxy:
http_proxy: "http://proxy.example.com:3128"
https_proxy: "http://proxy.example.com:3128"
no_proxy_extra: [".example.internal"]
The platform must not send traffic between its own pods through the proxy, so it needs to know the cluster's pod and service ranges. It finds them itself on most clusters. If the preflight's proxy-cidrs check says it cannot, add them under cluster_cidrs with pods and services. The nodes' container runtime needs its own proxy settings to pull images; that is node configuration, outside the platform. Run ktctl with HTTPS_PROXY set in its shell.
If you use a private certificate authority
If your proxy, registry or other internal services present certificates from your own authority, give the platform its certificate as a PEM file of certificates only, with no private key:
networking:
trust_bundle_file: corporate-ca.pem
Verify
dig +short ai.example.com
dig +short anything.example.com
openssl x509 -in tls.crt -noout -ext subjectAltName
- Both names resolve to the load balancer address.
- The certificate lists the domain and the wildcard.