Skip to content
Latest (currently 2026.10.2) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Upgrade

Page as Markdown

Upgrade the control plane and any gateway proxies that run in your cluster.

Prepare to upgrade

Before you upgrade Solo Enterprise for agentgateway, review the following information.

  1. Review the Solo Enterprise for agentgateway release notes for any breaking changes or new features that you need to be aware of.

  2. Review the upstream agentgateway release notes for any breaking changes or new features that you need to be aware of. You can find the commit of the upstream agentgateway release in the Solo Enterprise for agentgateway release notes that you previously reviewed.

  3. Check the supported version compatibility matrix. If the version of Solo Enterprise for agentgateway that you are upgrading to requires a different version, upgrade those technologies accordingly.

    1. Decide on the Kubernetes Gateway API version that you want to use, and set it in an environment variable. The following command uses 1.6.1, but you can use any version within the Standard channel range in the compatibility matrix instead.

      export GWAPI_VERSION=1.6.1
    2. Install the custom resources of the Kubernetes Gateway API version that you want to upgrade to.

      • Standard channel:

        kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v${GWAPI_VERSION}/standard-install.yaml
      • Experimental channel: Note that some CRDs are prefixed with X to indicate that the entire CRD is experimental and subject to change.

        kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v${GWAPI_VERSION}/experimental-install.yaml

      Example output:

      customresourcedefinition.apiextensions.k8s.io/gatewayclasses.gateway.networking.k8s.io created
      customresourcedefinition.apiextensions.k8s.io/gateways.gateway.networking.k8s.io created
      customresourcedefinition.apiextensions.k8s.io/httproutes.gateway.networking.k8s.io created
      customresourcedefinition.apiextensions.k8s.io/referencegrants.gateway.networking.k8s.io created
      customresourcedefinition.apiextensions.k8s.io/grpcroutes.gateway.networking.k8s.io created
    3. Check the Kubernetes Gateway API CRDs. Remove any outdated CRDs.

      kubectl get crds -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.versions[*].name}{"\t"}{.metadata.annotations.gateway\.networking\.k8s\.io/bundle-version}{"\t"}{.metadata.annotations.gateway\.networking\.k8s\.io/channel}{"\n"}{end}' | grep gateway.networking.k8s.io

      Example output:

      gatewayclasses.gateway.networking.k8s.io  v1 v1beta1  v1.2.0	experimental
      gateways.gateway.networking.k8s.io        v1 v1beta1  v1.2.0	experimental
      grpcroutes.gateway.networking.k8s.io      v1          v1.2.0	experimental
      httproutes.gateway.networking.k8s.io      v1 v1beta1  v1.2.0	experimental

    For Kubernetes upgrades, consult your cloud infrastructure provider.

    For Istio upgrades, consult the docs based on the way that you installed Istio. Example providers:

Upgrade

  1. Set the version you want to upgrade to in an environment variable, such as the latest patch version (2026.10.2) .

    export NEW_VERSION=2026.10.2
  2. Apply the new CRDs for the control and data plane by using Helm.

    1. Optional: To check the CRDs locally, download the CRDs to a helm directory.

      helm template --version v$NEW_VERSION enterprise-agentgateway-crds oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway-crds --output-dir ./helm
    2. Upgrade the CRDs in your cluster:

      helm upgrade -i --namespace agentgateway-system --version v$NEW_VERSION enterprise-agentgateway-crds oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway-crds
  3. Make any changes to your Helm values.

    1. Get the Helm values file for your current version.

      helm get values enterprise-agentgateway -n agentgateway-system -o yaml > values.yaml
      open values.yaml
    2. Compare your current Helm chart values with the version that you want to upgrade to.

      helm show values oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway --version v$NEW_VERSION
      helm pull oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway --version v$NEW_VERSION
      tar -xvf enterprise-agentgateway-v$NEW_VERSION.tgz
      open enterprise-agentgateway/values.yaml
    3. Make any changes that you want by editing your values.yaml Helm values file or preparing the --set flags. For development v2026.10.2 builds, include the controller.image.pullPolicy=Always setting or refer to the exact image digest to avoid using cached images.

  4. Upgrade the Solo Enterprise for agentgateway control plane Helm installation.

    • Make sure to include your Helm values when you upgrade either as a configuration file or with --set flags. Otherwise, any previous custom values that you set might be overwritten.
    • When using the development build 2026.10.2, add the --set controller.image.pullPolicy=Always option to ensure you get the latest image. Alternatively, you can specify the exact image digest.
    helm upgrade -i -n agentgateway-system enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
      -f values.yaml \
      --version v$NEW_VERSION 
  5. Verify that the control plane runs the upgraded version.

    kubectl -n agentgateway-system get pod -l app.kubernetes.io/name=enterprise-agentgateway -o jsonpath='{.items[0].spec.containers[0].image}'

    Example output:

    us-docker.pkg.dev/solo-public/enterprise-agentgateway/enterprise-agentgateway-controller:2026.10.2
  6. Confirm that the control plane is up and running.

    kubectl get pods -n agentgateway-system

Clean up shared extensions after you upgrade to 2026.9.3

Version 2026.9.3 changes how the control plane manages the shared extensions for each GatewayClass: the external auth, rate limiter, and WAF servers. Each control plane installation now labels the extension resources that it creates, and deletes only its own resources. The following changes happen on their own during the upgrade.

  • The rate limiter pods restart once to get a label for their GatewayClass. Then, the rate limiter Services and PodDisruptionBudgets select only the pods of their own GatewayClass, so rate limit counters are no longer split across GatewayClasses.
  • A policy that applies to Gateways of more than one GatewayClass now sends the traffic of each Gateway to the extensions of that Gateway’s own GatewayClass.

Some leftover resources from earlier versions need manual steps. Complete the steps that apply to your cluster after you upgrade.

  1. If you run more than one control plane installation in the same cluster, upgrade every installation by following the Upgrade steps. An installation on an earlier version keeps deleting the extension RBAC of the other installations. An upgraded installation re-creates the deleted RBAC immediately.

  2. If you added RBAC that denies the control plane the delete permission on ClusterRoles and ClusterRoleBindings to protect against the deleted extension RBAC, keep that RBAC until every installation is upgraded. Then, remove that RBAC so that each control plane can clean up its own extension ClusterRoles and ClusterRoleBindings.

  3. If the WAF server is enabled, delete the old WAF ClusterRole and ClusterRoleBinding. In earlier versions, the names were waf-server-<gatewayclass>. The new names also include the namespace of the installation, waf-server-<namespace>-<gatewayclass>, and replace the old resources.

    1. List the WAF ClusterRoles and ClusterRoleBindings.

      kubectl get clusterrole,clusterrolebinding -o name | grep waf-server-

      Example output for the enterprise-agentgateway GatewayClass in the agentgateway-system namespace:

      clusterrole.rbac.authorization.k8s.io/waf-server-agentgateway-system-enterprise-agentgateway
      clusterrole.rbac.authorization.k8s.io/waf-server-enterprise-agentgateway
      clusterrolebinding.rbac.authorization.k8s.io/waf-server-agentgateway-system-enterprise-agentgateway
      clusterrolebinding.rbac.authorization.k8s.io/waf-server-enterprise-agentgateway
      
    2. Delete the ClusterRole and ClusterRoleBinding without the namespace in the name. Do not delete the resources that include the namespace.

      kubectl delete clusterrole waf-server-enterprise-agentgateway
      kubectl delete clusterrolebinding waf-server-enterprise-agentgateway
  4. If you removed a GatewayClass or turned off an extension before the upgrade, delete any leftover PodDisruptionBudget or HorizontalPodAutoscaler that you set for its extensions. Earlier versions did not clean up these resources, and a leftover rate limiter PodDisruptionBudget can block node drains. The leftover resources are named <extension>-<gatewayclass>, such as rate-limiter-<gatewayclass>, and are in the namespace of the installation. Version 2026.9.3 adds the gateway.solo.io/controller-namespace label to the extension resources that the control plane manages, so a leftover resource has the gateway.solo.io/gatewayclass label but not the gateway.solo.io/controller-namespace label.

    1. List the leftover PodDisruptionBudgets and HorizontalPodAutoscalers. The -L option shows the GatewayClass and extension of each resource.

      kubectl get pdb,hpa -n agentgateway-system \
        -l 'gateway.solo.io/gatewayclass,!gateway.solo.io/controller-namespace' \
        -L gateway.solo.io/gatewayclass,gateway.solo.io/extension
    2. Check that each listed resource belongs to a GatewayClass that you removed or to an extension that you turned off. Then, delete the leftover resources. If the list includes a resource that you want to keep, delete the leftover resources by name instead with the kubectl delete pdb <name> or kubectl delete hpa <name> command.

      kubectl delete pdb,hpa -n agentgateway-system \
        -l 'gateway.solo.io/gatewayclass,!gateway.solo.io/controller-namespace'
  5. Optional: In a maintenance window, re-create each rate limiter Deployment so that the Deployment also selects only the pods of its own GatewayClass. Kubernetes does not allow changes to the selector of an existing Deployment, so the upgrade keeps the old selector. Until you re-create the Deployment, a HorizontalPodAutoscaler for the rate limiter averages CPU across GatewayClasses. Rate limiting for the GatewayClass is briefly interrupted while the Deployment is re-created.

    1. Check the selector of the rate limiter Deployment. A Deployment that you need to re-create has no app.kubernetes.io/instance label in its selector.

      kubectl get deployment rate-limiter-enterprise-agentgateway -n agentgateway-system \
        -o jsonpath='{.spec.selector.matchLabels}{"\n"}'

      Example output of a Deployment with the old selector:

      {"app":"rate-limiter","rate-limiter":"rate-limiter"}
      
    2. Delete the Deployment. The control plane re-creates the Deployment with the new selector.

      kubectl delete deployment rate-limiter-enterprise-agentgateway -n agentgateway-system

Upgrade the UI

The management UI for Solo Enterprise for agentgateway is part of the enterprise-agentgateway Helm chart, as the enterprise-agentgateway-ui subchart. When you upgrade the control plane, the UI upgrades to the same version. You do not upgrade a separate UI release.

If you installed the UI with the separate management Helm chart, that release keeps working after the control plane upgrade. To move to the bundled UI, follow Migrate from the management chart.

  1. Verify that the UI pods are up and running.

    kubectl get pods -n agentgateway-system

    Example output:

    NAME                                                              READY   STATUS    RESTARTS   AGE
    enterprise-agentgateway-clickhouse-shard0-0                       1/1     Running   0          3m28s
    enterprise-agentgateway-ui-7b7499f4fb-k8qkv                       2/2     Running   0          3m28s
    enterprise-agentgateway-ui-k8sobjects-collector-54bd78cc9-q6mbs   1/1     Running   0          3m28s
    enterprise-agentgateway-ui-telemetry-collector-0                  1/1     Running   0          3m28s

Migrate from the management chart

If you installed the management UI with the management Helm chart and its agentgateway product, move to the bundled UI in two phases. For more about how the two charts coexist, see Install next to other management UIs.

  1. Phase 1: Run the bundled UI on the existing database. Required. The bundled UI reads the ClickHouse database of management, so you keep your history while management stays installed.
  2. Phase 2: Choose the database you keep. Optional. Choose this phase when you are ready to retire management, then retire it.
Phase 2 choiceDatabase of the bundled UIHistory
Keep the existing databaseplatformdb of managementKept.
Start with a new databaseA new agentgateway databaseNot kept.
Copy the existing databaseA copy of platformdb, named agentgatewayKept.

The commands assume that management runs in the agentgateway-system namespace. If it runs in another namespace, change the -n values and the ClickHouse address.

Before you begin, check the following requirements.

  • management is version 0.5.8 or later.
  • To remove management entirely later, you need management version 0.5.11 or later. This version has the management-crds.rbacPolicyCRD.enabled setting, which hands over the EnterpriseAgentgatewayRBACPolicy CRD.
  • If you use Argo CD, set installRBACPolicyCRD=false on the enterprise-agentgateway-crds chart before you upgrade it in Upgrade. Argo CD renders the chart without cluster access, so it cannot detect that the management chart owns the CRD. Keep the installRBACPolicyCRD=false setting until you change the CRD chart ownership in Retire management.
  • If you use the bundled ClickHouse of management and want to remove management later, turn on persistent storage with clickhouse.persistentVolume.enabled. The default storage is deleted when the pod restarts. Existing installations: If your installation does not have this setting enabled already, enabling the setting restarts the pod and deletes the current data. First, back up platformdb, as shown in the migration steps later.

Phase 1: Run the bundled UI on the existing database

Start here. The bundled UI reads the ClickHouse database of management directly, so you keep your history while management stays installed.

  1. Install the UI on the ClickHouse of management.

    1. Copy the ClickHouse Secret of management into the namespace of the bundled UI, as platformdb-clickhouse. The jq filter sets the address to the ClickHouse Service of management. If you bring your own ClickHouse, remove the .data.address line, because the Secret already has your server address.

      kubectl get secret solo-enterprise-clickhouse-config -n agentgateway-system -o json \
        | jq 'del(.metadata.namespace,.metadata.uid,.metadata.resourceVersion,.metadata.creationTimestamp,.metadata.ownerReferences,.metadata.labels,.metadata.annotations)
              | .data.address = ("management-clickhouse.agentgateway-system.svc.cluster.local" | @base64)
              | .metadata.name = "platformdb-clickhouse"' \
        | kubectl apply -n agentgateway-system -f -
    2. Create a values file for the bundled UI. Set cluster to the cluster name of your management release. If you bring your own ClickHouse, set address, port, and tls to your server. The UI runs with skipMigrations: true, so it only verifies the schema. management owns the schema while it runs.

      cat > ui-values.yaml <<EOF
      ui:
        enabled: true
        cluster: <management-cluster-name>
        clickhouse:
          enabled: false
          external:
            enabled: true
            address: management-clickhouse.agentgateway-system.svc.cluster.local
            port: 9000
            tls:
              enabled: false
        backend:
          clickhouse:
            database: platformdb
            generateConfig: false
            secretRef: platformdb-clickhouse
          database:
            skipMigrations: true
        telemetry:
          clickhouse:
            generateConfig: false
            secretRef: platformdb-clickhouse
          k8sobjects:
            enabled: false
          metrics:
            enabled: false
      EOF

      Also move each setting that you customized in management under the ui key. To get your values, run helm get values management -n agentgateway-system.

      management valueBundled UI value
      oidc.*ui.oidc.*
      ui.backend.oidc.*ui.backend.oidc.*
      ui.frontend.oidc.clientIdui.oidc.clientId
      rbac.*ui.rbac.*
      products.agentgateway.features.cost-managementui.features.costManagement
      products.agentgateway.features.cost-management-writesui.features.costManagementWrites
      licensing.*None. The UI reuses the license Secret of your enterprise-agentgateway release.
    3. Upgrade your enterprise-agentgateway release with the UI values. If you use Argo CD, set installRBACPolicyCRD=false on the enterprise-agentgateway-crds chart until you hand over the CRD in Retire management.

      helm upgrade -i enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
        --namespace agentgateway-system \
        --version v$NEW_VERSION \
        --reset-then-reuse-values \
        -f ui-values.yaml
    4. Expose the enterprise-agentgateway-ui service at your UI domain, as described in Secure the UI with HTTPS. In your identity provider, set the redirect URIs to https://<your-domain>/callback and https://<your-domain>/logout. The UI serves at the root path, not at /age.

  2. Send telemetry to the new UI.

    1. List the AgentgatewayParameters and EnterpriseAgentgatewayParameters resources that set a tracing endpoint.

      kubectl get agentgatewayparameters,EnterpriseAgentgatewayParameters -A \
        -o custom-columns='KIND:.kind,NAMESPACE:.metadata.namespace,NAME:.metadata.name,ENDPOINT:.spec.rawConfig.config.tracing.otlpEndpoint'
    2. In each resource that lists the solo-enterprise-telemetry-collector service, set the endpoint to the new collector. If you set the tracing backend in an EnterpriseAgentgatewayPolicy instead, change its backendRef name to enterprise-agentgateway-ui-telemetry-collector.

      spec:
        rawConfig:
          config:
            tracing:
              otlpProtocol: grpc
              otlpEndpoint: http://enterprise-agentgateway-ui-telemetry-collector.agentgateway-system.svc.cluster.local:4317
  3. Turn off the agentgateway product in management. Other products, such as Solo Enterprise for kagent and Solo Enterprise for Istio, keep running in management. Do not run migrations from the bundled UI while management runs, because management owns the schema.

    helm upgrade management oci://us-docker.pkg.dev/solo-public/solo-enterprise-helm/charts/management \
      --namespace agentgateway-system \
      --reset-then-reuse-values \
      --set products.agentgateway.enabled=false
  4. Turn on metrics in the bundled UI. management stops collecting agentgateway metrics in the previous step, so the metrics are never collected twice.

    helm upgrade enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
      --namespace agentgateway-system \
      --version v$NEW_VERSION \
      --reuse-values \
      --set ui.telemetry.metrics.enabled=true

You can stay on phase 1 while management runs. To retire management and keep this database, follow Retire management.

Phase 2: Choose the database you keep

To keep the existing database, skip to Retire management. Otherwise, choose one of the following options.

Option A: Start with a new database

The bundled UI uses its own agentgateway database, with no history. The database can be on the bundled ClickHouse of the UI, or on your own ClickHouse.

  1. Create a values file that points the UI at its own database. The values set the defaults explicitly, so that they replace the phase 1 values.

    cat > ui-values.yaml <<EOF
    ui:
      enabled: true
      clickhouse:
        enabled: true
        external:
          enabled: false
      backend:
        clickhouse:
          database: agentgateway
          generateConfig: true
          secretRef: ""
        database:
          skipMigrations: false
      telemetry:
        clickhouse:
          generateConfig: true
          secretRef: ""
        k8sobjects:
          enabled: true
        metrics:
          enabled: true
    EOF

    To use your own ClickHouse, set clickhouse.enabled: false and configure clickhouse.external as described in Bring your own ClickHouse. Keep the database name agentgateway. To keep the bundled data across pod restarts, see Enable persistent storage.

  2. Upgrade your enterprise-agentgateway release with the UI values.

    helm upgrade -i enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
      --namespace agentgateway-system \
      --version v$NEW_VERSION \
      --reset-then-reuse-values \
      -f ui-values.yaml
  3. If your proxies still send traces to management, send telemetry to the new UI, as in phase 1 step 2.

  4. Retire management.

Option B: Copy the existing database

Copy platformdb into a new agentgateway database with the ClickHouse BACKUP and RESTORE commands. You keep your history, and the bundled UI owns its own database.

Before you start, review the following notes.

  • The copy includes the tables of the other products. Keep them, because the UI migrations expect them.
  • To run the restore again, first run DROP DATABASE agentgateway.
  • If you restore into the bundled ClickHouse of the UI, turn on persistent storage first. With the default temporary storage, the copy is lost when the pod restarts.
  1. On the ClickHouse server that holds platformdb, back up the database. For the bundled ClickHouse of management, open a client in the management-clickhouse-shard0-0 pod in the namespace of management. Get the credentials from the management-clickhouse-auth Secret, as described in Query data directly.

    BACKUP DATABASE platformdb TO File('platformdb-copy');

    File() writes under /var/lib/clickhouse/backups/, which the default ClickHouse image allows.

  2. Restore the backup as the agentgateway database.

    • Same server: Run the following command on the same server.
      RESTORE DATABASE platformdb AS agentgateway FROM File('platformdb-copy');
    • Different server, such as the bundled ClickHouse of the UI: Copy the backup folder from one pod to the other, then run the same RESTORE command on the new server.
      kubectl cp agentgateway-system/management-clickhouse-shard0-0:/var/lib/clickhouse/backups/platformdb-copy ./platformdb-copy
      kubectl cp ./platformdb-copy agentgateway-system/enterprise-agentgateway-clickhouse-shard0-0:/var/lib/clickhouse/backups/platformdb-copy
  3. Point the UI at the agentgateway database, with ui.backend.database.skipMigrations: false. The database name comes from the ClickHouse Secret. With generateConfig: true, the chart writes the name from ui.backend.clickhouse.database. With your own Secret, set its database key.

    • Different server: Use the values and upgrade command from option A.
    • Same server: Keep the phase 1 values, but set ui.backend.clickhouse.database to agentgateway, skipMigrations to false, and turn on telemetry.k8sobjects and telemetry.metrics. Then, set the database key of the platformdb-clickhouse Secret, and upgrade your release.
      kubectl patch secret platformdb-clickhouse -n agentgateway-system \
        -p '{"stringData":{"database":"agentgateway"}}'
  4. Send telemetry to the new UI right away, as in phase 1 step 2, if you have not already. Traffic that arrives between the backup and this step stays only in platformdb.

  5. Delete the backup folder on each server that has it. The folder takes several times the data size, on the same disk as the data.

    kubectl exec -n agentgateway-system management-clickhouse-shard0-0 -- rm -rf /var/lib/clickhouse/backups/platformdb-copy
  6. Retire management.

Retire management

Retire management after phase 2, or after phase 1 when you want to keep the existing database. Remove management only if no other product is enabled in it. If other products still use management, only turn off its agentgateway product, as in phase 1.

  1. Set the version of management to upgrade to. Use version 0.5.11 or later.

    export MANAGEMENT_VERSION=0.5.11
  2. Back up your RBAC policies.

    kubectl get enterpriseagentgatewayrbacpolicies -A -o yaml > rbac-policies-backup.yaml
  3. Upgrade management to version 0.5.11 or later, and then remove the CRD from the management release. Run the two upgrades separately. The first upgrade adds the helm.sh/resource-policy: keep annotation to the EnterpriseAgentgatewayRBACPolicy CRD. If you run them as one upgrade, Helm deletes the CRD and all your RBAC policies. With a CI/CD tool like Argo CD, make each upgrade a separate commit and wait for it to sync. The CRD and your RBAC policies stay in the cluster.

    helm upgrade management oci://us-docker.pkg.dev/solo-public/solo-enterprise-helm/charts/management \
      --namespace agentgateway-system \
      --version $MANAGEMENT_VERSION \
      --reset-then-reuse-values
    helm upgrade management oci://us-docker.pkg.dev/solo-public/solo-enterprise-helm/charts/management \
      --namespace agentgateway-system \
      --version $MANAGEMENT_VERSION \
      --reset-then-reuse-values \
      --set management-crds.rbacPolicyCRD.enabled=false
  4. Make your enterprise-agentgateway-crds release the owner of the CRD. Use a enterprise-agentgateway-crds version that includes the EnterpriseAgentgatewayRBACPolicy CRD.

    kubectl annotate crd enterpriseagentgatewayrbacpolicies.enterpriseagentgateway.solo.io --overwrite \
      meta.helm.sh/release-name=enterprise-agentgateway-crds meta.helm.sh/release-namespace=agentgateway-system
    kubectl label crd enterpriseagentgatewayrbacpolicies.enterpriseagentgateway.solo.io --overwrite app.kubernetes.io/managed-by=Helm
    helm upgrade -i enterprise-agentgateway-crds oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway-crds \
      --namespace agentgateway-system \
      --version v$NEW_VERSION \
      --reset-then-reuse-values
  5. If the UI database is on the bundled ClickHouse of management, keep that ClickHouse after the uninstall. This case applies when you keep the existing database, and to option B when you restored on the same server.

    1. Annotate the ClickHouse objects with helm.sh/resource-policy: keep. The ClickHouse subchart creates the management-clickhouse ServiceAccount, the management-clickhouse-auth Secret, the management-clickhouse-config and management-clickhouse-users-config ConfigMaps, the management-clickhouse and management-clickhouse-headless Services, and the management-clickhouse-shard0 StatefulSet. The label selector also matches the data PVC.

      kubectl annotate serviceaccount,secret,configmap,service,statefulset,pvc -n agentgateway-system \
        -l app.kubernetes.io/name=clickhouse,app.kubernetes.io/instance=management \
        helm.sh/resource-policy=keep
    2. Upgrade management to stop managing the ClickHouse, and point it at the same ClickHouse Service. Helm keeps the annotated objects.

      helm upgrade management oci://us-docker.pkg.dev/solo-public/solo-enterprise-helm/charts/management \
        --namespace agentgateway-system \
        --version $MANAGEMENT_VERSION \
        --reset-then-reuse-values \
        --set clickhouse.enabled=false \
        --set clickhouse.external.enabled=true \
        --set clickhouse.external.address=management-clickhouse.agentgateway-system.svc.cluster.local \
        --set clickhouse.external.port=9000 \
        --set clickhouse.external.tls.enabled=false
  6. Uninstall management. Without the previous step, the uninstall deletes the bundled ClickHouse of management. Its data PVC stays if you turned on clickhouse.persistentVolume.enabled, because Helm does not delete the PVCs of a StatefulSet. With the default storage, the data is lost.

    helm uninstall management -n agentgateway-system

    A solo-enterprise-migrate-<database> Lease stays in the namespace of management. You can delete it.

  7. Let the bundled UI own the schema, and turn on its Kubernetes object collector.

    helm upgrade enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
      --namespace agentgateway-system \
      --version v$NEW_VERSION \
      --reuse-values \
      --set ui.backend.database.skipMigrations=false \
      --set ui.telemetry.k8sobjects.enabled=true

If you do not use the Helm CLI, adapt the steps for your tool.

Run the steps as written, with the same values.

Set the values in each HelmRelease. Before you update the enterprise-agentgateway-crds HelmRelease, run the kubectl annotate and kubectl label commands once.

Set the values in Git. Skip the kubectl annotate and kubectl label commands, because Argo CD adopts the CRD. Set installRBACPolicyCRD=true on the enterprise-agentgateway-crds chart instead.

If you uninstalled management version earlier than 0.5.11 before you removed the CRD from its release, the CRD and your RBAC policies are deleted. The next upgrade of the enterprise-agentgateway-crds release recreates the CRD. Then, apply your backup.

kubectl wait --for condition=established crd/enterpriseagentgatewayrbacpolicies.enterpriseagentgateway.solo.io
kubectl apply -f rbac-policies-backup.yaml

Known limitation: For traffic from newer proxies, the path and status columns are empty until a later release. This affects the Requests By Path and Top Slowest Paths views.