Skip to content

v2.1.0

Choose a tag to compare

@yandongxiao yandongxiao released this 04 Nov 11:49
· 3 commits to main since this release
00071b0

PhoenixAI Anywhere v2.1.0

PhoenixAI Anywhere 2.1 introduces CN groups, which give a single warehouse several independent pools of compute and make zone-resilient deployment and per-group scaling possible. It also makes cluster upgrades order themselves correctly, and adds a SQL editor and external catalog management to the Cluster Console. Before upgrading an existing deployment, review Upgrade and compatibility.

New features

Cluster operations

  • CN groups. A CN group is a named pool of compute nodes within a warehouse, managed as a dedicated resource, PhoenixAICnGroup, with its own image, replica count, scheduling constraints, and autoscaling policy. Each group is a complete, independent compute unit behind a single warehouse name, and a group with no healthy nodes stops receiving queries. Creating or deleting a group does not restart running pods. Requires PhoenixAI Database 4.1.6-ee, 26.2.1, or later. See Deploy CN groups and Manually scale CN groups.

    CN groups enable three things a warehouse could not do before:

    • Zone-resilient compute. Place one group per availability zone and a single warehouse survives the loss of a zone, with no change on the client side.
    • Independent scaling. Each group is sized and scaled on its own, so the pool under pressure grows without the others growing with it.
    • Capacity growth that does not disturb existing capacity. Adding a group leaves the existing groups untouched, where expanding one disturbs the group it grows. Adding a group is therefore preferable in most cases.
  • Multi-availability-zone deployment. A cluster can be distributed across availability zones, and a cluster already running in a single zone can be migrated to a multi-zone layout. New documentation covers both, including the StorageClass volume binding mode, which determines whether distribution is possible at all. See Deploy across availability zones.

  • FE and CN upgrade and downgrade ordering. The operator now guarantees the component order PhoenixAI Database requires: an upgrade updates CN before FE, and a downgrade updates FE before CN. The guarantee covers a cluster's own CN nodes, every warehouse, and every CN group. An unsupported version combination is rejected before any rollout begins. See What the operator does.

Scaling

  • Queue-based autoscaling for compute nodes. Compute nodes can scale on the query queue depth of a warehouse, using KEDA and Prometheus. This applies to a cluster's default_warehouse and to a PhoenixAIWarehouse. CN groups scale on CPU, memory, or a schedule; the queue-based method does not cover them. See Queue-based autoscaling for CN nodes.

  • Scheduled autoscaling for compute nodes. A KEDA cron trigger can scale a cluster, a warehouse, or a CN group on a fixed schedule, for workloads with predictable peaks. A single ScaledObject can combine a cron trigger with the queue trigger above, in which case the Horizontal Pod Autoscaler applies the higher of the two recommendations. A workload is managed either by KEDA or by the operator's autoScalingPolicy, never both. See Scheduled scaling with KEDA and, for CPU and memory based scaling, HPA dynamic scaling.

Cluster Console

  • SQL editor. The Cluster Console now includes a SQL editor, so queries can be authored and executed against a cluster without a separate client. Scripts are stored in a folder hierarchy, each tab maintains its own session against a selected warehouse, and a schema browser, context-aware completion, and a command palette are included. Results are exportable. The editor sits alongside query insights and profiling: a query opened from Query insights is loaded into a new tab with its statement in place, so a slow query can be modified and re-executed where it was found. See SQL editor.

  • External catalog management. The Cluster Console now creates, views, modifies, and drops external catalogs through a guided form organized by metastore and storage type. The form validates that exactly one authentication method is configured, so a catalog cannot be created that silently falls back to unauthenticated access. Modifying a catalog reduces a credential rotation to updating a single field. See Data catalog.

Support and storage

  • Azure object storage support. The console now supports Azure Blob Storage and Azure Data Lake Storage Gen2 in addition to S3 and S3-compatible storage, so an Azure deployment needs no separate S3 service for the console. Authentication is by shared key, SAS token, workload identity, a user-assigned managed identity, or a service principal. Shared key and SAS token both depend on the storage account's access key; if the account has shared key access disabled, use one of the three Microsoft Entra ID identities instead. Blob Storage and Data Lake Storage Gen2 are distinct backends, selected by whether the storage account has hierarchical namespace enabled; a storage account cannot be converted between them. See Deploy on Azure with AKS and ADLS Gen2.

  • Support bundle profiles. A support bundle selection can be saved to a file and loaded back, so support can construct the exact selection a case requires and send it as a file rather than describing it. The selection remains visible and editable before collection. A profile contains a selection only and no collection logic, so the set of data that can leave the environment is unchanged. See Reuse a selection with a bundle profile and Create support bundle.

  • Export of on-screen data. Tables can be copied as TSV or downloaded as CSV, charts can be copied or downloaded both as an image and as the underlying series data, command output and log panels can be downloaded as text, and detail panels can be copied as text. On the Monitoring tab's cluster state view, a control transfers the displayed metrics and the selected time range to the Create support bundle page with the corresponding items preselected.

  • Compliance with the restricted Pod Security Standard. The console deploys without modification into a namespace that enforces the Kubernetes restricted Pod Security Standard, with no exemption required.

Improvements

  • Two health check rules have been added, fe-pod-not-ready (critical) and cn-pod-not-ready (warning), which evaluate pod status directly and report a crash-looping or unready pod that the cluster resource alone does not reveal.
  • The log persistence health checks now treat a zero-capacity log volume as not persisted. A volume declared as 0Gi is the documented method for disabling log persistence, so a cluster in this configuration previously passed a check intended to detect logs that are lost when a pod is replaced. See Persisting logs.
  • The operator verifies FE connectivity before applying a CN workload, and reports the specific cause on failure: incorrect password, TLS mismatch, DNS resolution failure, connection refused, timeout, or a missing secret.
  • Support bundles are smaller. Log files are trimmed to the bundle's time window rather than collected in full, and the archive is delivered as a ZIP file.
  • Query insights and Audit logs render large result sets without degraded performance, and filter by the users and warehouses returned by the backend rather than by free-text entry.

Upgrade and compatibility

PhoenixAI Anywhere 2.1 supports in-place upgrade from 2.0. Upgrading the operator does not modify existing cluster resources and does not trigger a rolling restart of FE, BE, or CN pods. All Helm charts share a single version and must be upgraded together. Downgrade to 2.0 is supported.

CN groups require PhoenixAI Database 4.1.6-ee, 26.2.1, or later. All other features in this release are compatible with the database versions supported by 2.0.

Behavior changes:

  • Version changes are now applied in a fixed component order. The new ordering takes effect the first time an image version is changed after upgrading, not during the upgrade itself. While an update is deferred to preserve the order, all other changes to that StatefulSet are deferred with it, including replica changes requested by an autoscaler. See What the operator does.

  • The operator now requires SQL connectivity to FE during a version change. The operator reads each component's running version over SQL to determine the correct order. If the root credentials are not synchronized, the update is deferred and the cause is reported in the component's status.reason field. The annotation starrocks.com/skip-rollout-order-check: "true" bypasses the ordering check for an individual resource. See When the operator cannot ask FE.

  • The warehouse Helm chart now honors spec.replicas: 0. In earlier releases the value was omitted from the generated resource and the CRD default of 1 took effect, so a configuration requesting zero replicas ran one. A values file containing spec.replicas: 0 will scale that warehouse to zero replicas after this upgrade.

  • The console no longer masks values in SQL results. Whether a statement returns a credential is determined by the database and applies uniformly to all clients: ADMIN SHOW FRONTEND CONFIG returns object storage keys in plain text, while DESC STORAGE VOLUME masks its own. Control access to these statements through database privileges rather than relying on the console to redact output.