higress-console
by Higress
Management console for Higress
About this chart
Higress Console Helm Chart
Installs the console components of cloud-native gateway Higress
Note: It is highly recommended to install the whole package of Higress. Please visit https://higress.io/docs/user/quickstart/ for details.
Console sessions and upgrades
Console sessions are stored server-side in the shared Kubernetes API, with one Secret per session in the console namespace. All console replicas use this store, and the console service account must retain its Secret read, write, list, and delete permissions. Session Secrets contain only the username and creation/last-access timestamps. The bearer session ID is represented by a SHA-256 hash in the Secret name and is not stored in the Secret data.
Upgrading to the server-side session store invalidates all existing console sessions. Each user must log in once after the upgrade.
| Configuration key | Environment variable | Default | Meaning |
|---|---|---|---|
higress-console.admin.session.idle-timeout | HIGRESS_CONSOLE_ADMIN_SESSION_IDLE_TIMEOUT | 1800000 ms (30 minutes) | Maximum time between requests before the server removes a session. Set to 0 to disable idle expiry. |
higress-console.admin.session.absolute-timeout | HIGRESS_CONSOLE_ADMIN_SESSION_ABSOLUTE_TIMEOUT | 28800000 ms (8 hours) | Maximum session lifetime, regardless of request activity. Set to 0 to disable absolute expiry. |
higress-console.admin.cookie.max-age | HIGRESS_CONSOLE_ADMIN_COOKIE_MAX_AGE | 2592000 seconds (30 days) | Cookie Max-Age used only when login requests set autoLogin to true. |
Both session timeout values are expressed in milliseconds. Negative values are rejected. When autoLogin is false, the browser receives a session cookie without Max-Age. autoLogin and the cookie maximum age do not change either server-side timeout; in particular, a persistent cookie cannot extend a configured absolute session lifetime.
To reduce session-store writes, persisting lastAccessAt is throttled to min(60000 ms, idle-timeout / 2) when idle expiry is enabled. This keeps the persisted timestamp at most half an idle window behind request activity. When idle-timeout is 0, idle expiry is disabled and the touch interval remains 60 seconds. Absolute expiry is checked independently and is not extended by touches.
TLS and authentication
The console container serves plain HTTP on port 8080. For production deployments, terminate TLS at an Ingress or another trusted reverse proxy instead of exposing the Service directly. Direct Service access and kubectl port-forward do not provide transport encryption.
When ingress.enabled=true and ingress.tlsSecretName is set, the chart creates a TLS Ingress, redirects HTTP to HTTPS, and automatically sets HIGRESS_CONSOLE_ADMIN_COOKIE_SECURE=true for the console pod. If TLS is terminated outside this chart, set the same environment variable explicitly:
podEnvs:
HIGRESS_CONSOLE_ADMIN_COOKIE_SECURE: "true"
HTTP Basic authentication for console APIs is disabled by default. Cookie-based login continues to work without it. If existing automation requires Basic authentication, opt in explicitly:
admin:
basicAuth:
enabled: true
The equivalent environment variable is HIGRESS_CONSOLE_ADMIN_BASIC_AUTH_ENABLED=true. Enable Basic authentication only for clients that require it, and use HTTPS for those connections.
Upgrade note: login rate limiting
The console now limits failed form logins and failed HTTP Basic authentication attempts. Defaults are 5 failures within
10 minutes per budget, followed by a 15-minute lock. The API returns HTTP 429 with a Retry-After header, and the login
page reports the remaining lock time.
Budgets are independent per authentication source. Form login uses form:<username>:<ip> and Basic authentication uses
basic:<username>:<ip>, so repeated Basic authentication failures with old credentials do not lock out the form login
for the same account and address, and vice versa. A successful authentication resets only its own source budget. If you
tested an earlier build with a shared budget, expect failed attempts in one source no longer to affect the other.
The lock check happens before password verification, and only verified failures increment the failure count. Correct
credentials never consume the budget. Expired states are pruned before writes. At capacity, a new key evicts the oldest
state without an active lock; active locks are never evicted. If every entry is actively locked, the new key is not
tracked and fails open until capacity is available, while all existing locks remain enforced. This saturation behavior
does not return HTTP 503. Missing or blank client addresses use unknown, so they remain subject to a shared budget per
account and source.
The chart keeps the console defaults. Override them through podEnvs when needed:
podEnvs:
HIGRESS_CONSOLE_LOGIN_FAILURE_LIMIT: "5"
HIGRESS_CONSOLE_LOGIN_FAILURE_WINDOW_SECONDS: "600"
HIGRESS_CONSOLE_LOGIN_LOCK_SECONDS: "900"
All three values must be at least 1. 0 (and negative values) is invalid and is treated as 1.
The console ships with server.forward-headers-strategy=none, so all requests behind a proxy can appear to come from the
proxy address and share one budget per account and source. When the proxy is trusted and clients cannot reach the
console directly, enable forwarded-header handling, for example:
podEnvs:
SERVER_FORWARD_HEADERS_STRATEGY: "native"
Only enable this for trusted proxies; otherwise clients can spoof forwarding headers and evade or manipulate budgets.
Write-only credential API responses
Provider and consumer credentials are write-only:
GET /v1/ai/providers,GET /v1/ai/providers/{name}, andPUT /v1/ai/providers/{name}no longer return providertokensor credential fields inrawConfigs(apiTokens,awsAccessKey,awsSecretKey,vertexAuthKey). They return only redacted metadata such astokenCountand the*Configuredflags.GET /v1/consumers,GET /v1/consumers/{name}, andPUT /v1/consumers/{name}no longer return key-auth credentialvalues; they return metadata such ascredentialCount.POST /v1/ai/providersandPOST /v1/consumersare create-only. If the name already exists, they return409 Conflictwithout any stored credential values. A successful create returns the submitted credentials exactly once (tokensand credential fields inrawConfigsfor providers,valuesfor consumers); the credentials cannot be read again through the API afterwards.- Scripts that relied on
POSTas an upsert must usePUT /v1/ai/providers/{name}orPUT /v1/consumers/{name}to update an existing resource. - External scripts that perform read-modify-write must be updated: omit a credential field to keep the existing value, send a new value to replace it, or send an explicit empty value to clear it.
Deploy higress-console with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has higress-console on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charthigress-console is pinned at v2.2.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply