Configure transport security
servtuner never assumes that a network is encrypted and never infers a mode. Each connection, or hop, states one.
| Mode | What servtuner does | Use it for |
|---|---|---|
mtls |
Presents a client certificate and verifies the server | The default for servtuner’s own connections |
platform |
Speaks plain HTTP or TCP. You assert that the platform encrypts it | A mesh, or a CNI with encryption |
tls |
Verifies the server and presents no certificate | RunSpec hops to ordinary HTTPS servers |
Modes do not mix. mtls or tls with an http:// URL, or platform with certificate settings, is an error. There is no option to skip verification.
Prerequisites
Section titled “Prerequisites”- For
mtls, cert-manager with an issuer orkubernetes.io/tlsSecrets.
servtuner’s own hops
Section titled “servtuner’s own hops”Set tls.mode, and override a hop under tls.hops when it differs:
| Hop | Connection |
|---|---|
ingressApi |
Ingress or gateway to API |
benchApi |
bench to API. Must equal ingressApi |
postgres |
API to Postgres |
objectStore |
API and bench to S3 |
benchPrometheus |
Chart-level Prometheus default |
tls: mode: mtls source: cert-manager certManager: issuerRef: { kind: ClusterIssuer, name: your-issuer } hops: benchPrometheus: platformWith source: secret, name a Secret for each component. The bench Secret must exist in the runs namespace.
RunSpec hops
Section titled “RunSpec hops”Set target.tls, each upstreams[].tls and prometheus.tls. For mtls, name a Secret in secretRef. For tls with a private CA, name one in caSecretRef. Only its ca.crt is read.
Private CAs
Section titled “Private CAs”Each pod combines system CAs with the private CA and sets SSL_CERT_FILE. Do not point SSL_CERT_FILE at a private CA alone, because that replaces the system roots.
Managed vLLM
Section titled “Managed vLLM”Managed vLLM offers platform (default) and tls. Each tls target has its own server certificate. mtls is not offered.
Verify
Section titled “Verify”servtuner validate rejects contradictory RunSpecs, and Helm rejects contradictory values. After a run, Config shows the mode of every hop.
Next steps
Section titled “Next steps”Configure secrets.