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.

agctl migrate

Page as Markdown

Reference for the agctl migrate command.

Migrate agentgateway resources to newer configurations

Synopsis

Migrate agentgateway resources to newer configurations.

Prints the changes as YAML by default; pass –write to apply them to the cluster.

Available migrations: virtualkeys-to-configmap

agctl migrate [flags]

Examples

agctl migrate --apply virtualkeys-to-configmap -n my-namespace | kubectl apply -f -
agctl migrate --apply virtualkeys-to-configmap -n my-namespace > migration.yaml
agctl migrate --apply virtualkeys-to-configmap -n my-namespace --write

Options

      --apply strings      migrations to run, comma-separated (virtualkeys-to-configmap)
  -h, --help               help for migrate
  -n, --namespace string   Namespace to migrate resources in
      --policy string      virtualkeys-to-configmap: only migrate the named resource (default: all matching resources in the namespace)
      --write              apply the changes to the cluster (default: print YAML)

Options inherited from parent commands

  -k, --kubeconfig string   kubeconfig

SEE ALSO

  • agctl - agctl controls and inspects Agentgateway resources