Installation

0.3.x CRD Field Migration

The 0.3.x release accepts both the previous and current names for the aliased CRD spec fields below.

Praxis Grid v0.3.1 (technical preview) 5 min read

Switching projects opens that project’s default documentation release.

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

On this page

The 0.3.x release accepts both the previous and current names for the aliased CRD spec fields below. The grid-site and grid-operator charts also translate previous value names when they render resources. The SWIM field move is a breaking change in 0.3.0 and is documented separately below. Save existing SWIM seeds before applying the 0.3.0 CRD, then move them to the new field as soon as the CRD is applied. Update the aliased names below during the 0.3.x compatibility window.

Do not set both names for one field. The API schema and chart reject conflicting old and new names.

Field mapping

Resource or Helm valuePrevious fieldCurrent field
GridNetwork.specgatewayRefsconsumerGateways
GridNetwork.spec.consumerGateways[]localSiteNamesiteName
GridNetwork.spec.consumerGateways[]consumerConfigpraxisConfig
GridNetwork.spec.consumerGateways[].praxisConfigenabledgenerate
GridNetwork.spec.consumerGateways[].praxisConfigcredentialMountBasecredentialMountPath
GridNetwork.spec.tlsswimKeyRefswimKeySecretRef
GridSite.specegressgatewayEndpoint
InferenceProvider.specgatewayRefproviderGateway
InferenceProvider.specroutingClusterRefclusterName
InferenceProvider.spec.metricsConfigmetricsEndpointendpoint
InferenceProvider.spec.auth and AgentToolProvider.spec.authmanualcredentialsManagedExternally
grid-site chart gridNetwork valuesgatewayRefsconsumerGateways
grid-site chart gridNetwork.consumerGateways[]localSiteNamesiteName
grid-site chart gridNetwork.consumerGateways[]consumerConfigpraxisConfig
grid-site chart gridNetwork.consumerGateways[].praxisConfigenabledgenerate
grid-site chart gridNetwork.consumerGateways[].praxisConfigcredentialMountBasecredentialMountPath
grid-site chart gridNetwork.tlsswimKeyRefswimKeySecretRef
grid-site chart gridSite valuesegressgatewayEndpoint
grid-site chart inferenceProviders valuesroutingClusterRefclusterName
grid-site chart inferenceProviders valuesgatewayRefproviderGateway
grid-site chart inferenceProviders[].metricsConfigmetricsEndpointendpoint
grid-site chart inferenceProviders[].authmanualcredentialsManagedExternally
grid-operator rendered GridNetwork.specgatewayRefsconsumerGateways
grid-operator rendered GridNetwork.spec.consumerGateways[]localSiteNamesiteName
grid-operator rendered GridNetwork.spec.tlsswimKeyRefswimKeySecretRef
grid-operator chart grid.providers[]routingClusterRefclusterName
grid-operator chart grid.providers[]gatewayRefproviderGateway
grid-operator chart grid.providers[].metricsConfigmetricsEndpointendpoint
grid-operator chart grid.providers[].authmanualcredentialsManagedExternally

Upgrade to 0.3.x

Existing aliased CRD spec field names and chart values remain accepted in 0.3.x. Update manifests and Helm values to the current names when convenient. For the breaking SWIM field move, record each existing spec.seeds list before applying the 0.3.0 CRD. Do not move the seeds beforehand: the old CRD prunes membership.swim, so the update would be discarded. Applying the new CRD prunes spec.seeds, so restore the saved list at the new path immediately after the CRD is applied:

spec:
  membership:
    mode: Swim
    swim:
      seeds:
        - east.example:7946

Set membership.mode: Swim and restore the saved list at spec.membership.swim.seeds immediately after applying the new CRD. The old top-level spec.seeds and spec.swim fields are removed without aliases. The old spec.swim tuning values were not wired to the SWIM runtime and are no longer supported. For membership.mode: Local, remove the seed and tuning fields; Local does not use SWIM configuration.

The grid-site chart continues to accept gridNetwork.seeds and renders it at the new field path. Remove any gridNetwork.swim tuning values from chart values.

Status fields and reasons change in 0.3.x without legacy aliases. Update scripts and dashboards that read them during the 0.3.x upgrade, including overlayStatus to routingMapStatus and consumerConfigStatus to praxisConfigStatus. Status is operator-owned; do not migrate it by hand. The compatibility window covers spec fields and chart values only.

A generated consumer gateway derives an endpoint for every local InferenceProvider of its network, and under Local membership for every candidate a member’s catalog offers, without deriveTopology.fromProviders naming it. Under SWIM membership fromProviders still gates remote candidates. Delete or disable a provider that must not be served before upgrading. See Derived endpoint topology.

If any GridSite sets spec.sovereigntyZone, upgrade every gateway before the operator that publishes the zone map. Before enabling the sovereignty fence in enforce mode, verify that every gateway has accepted a config carrying the expected zones. Follow the sovereignty rollout procedure as an additional prerequisite to the operator upgrade below.

Upgrade CRDs, custom resources, and charts in this order:

  1. Record existing spec.seeds lists, then apply the 0.3.x CRDs. When the platform owns the CRDs, apply the chart’s CRD templates before installing the charts with crds.enabled=false.
  2. Immediately apply Swim GridNetwork resources with the saved seeds at spec.membership.swim.seeds; do this before upgrading either chart.
  3. Upgrade grid-operator.
  4. Upgrade grid-site.
  5. Apply remaining custom resources and Helm values using the current field names.

For a rollback, roll back grid-site before grid-operator so the older operator does not receive current field names. Restore custom resources and values only after the older CRDs and charts are ready.

Previous status field or reasonCurrent status field or reason
distributedProviderCountremoteProviderCount
consumerConfigStatuspraxisConfigStatus
overlayStatusroutingMapStatus
OverlayRenderFailedRoutingMapRenderFailed
OverlayApplyFailedRoutingMapApplyFailed
ConsumerConfigRenderFailedPraxisConfigRenderFailed
ConsumerConfigApplyFailedPraxisConfigApplyFailed
ConsumerConfigErrorPraxisConfigError
ConsumerConfigDisabledPraxisConfigDisabled
EgressMissingGatewayAddressMissing

Grid ID on GitOps-managed members

The operator copies a status-only grid ID into an empty spec.gridId once, and a CEL rule then refuses any change to it. The grid-site chart always renders gridId, empty unless gridNetwork.gridId is set. Argo CD, with client-side or server-side apply, then tries to reset the copied ID to the empty value, the CEL rule refuses it, and self-heal fails on every retry. Leaving the field out does not help, because removing a previously applied value is also a change.

Set gridNetwork.gridId to the member’s current status.gridId in the same change that upgrades the operator:

kubectl get gridnetwork <name> -o jsonpath='{.status.gridId}{"\n"}'

Alternatively, have the Application ignore the field:

spec:
  ignoreDifferences:
    - group: grid.praxis.fast
      kind: GridNetwork
      jsonPointers:
        - /spec/gridId
  syncPolicy:
    syncOptions:
      - RespectIgnoreDifferences=true

RespectIgnoreDifferences keeps a sync from writing the ignored field.

A plain helm upgrade is unaffected. Helm 3 patches only what changed between the previous and the new manifest, and an empty gridId in both leaves the copied ID in place. helm upgrade --force replaces the object and fails the same way as Argo CD.

Before upgrading after the compatibility window

  1. Back up the affected custom resources and Helm values.
  2. Update manifests and Helm values using the mapping above.
  3. Pause the operator before installing CRD schemas that remove the aliases.
  4. Apply the updated custom resources and upgrade grid-site with its updated values.
  5. Start the later operator after all affected resources use the current names.