Skip to content
agentgateway has joined the Agentic AI FoundationLearn more

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

Page as Markdown

agctl migrate

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
Was this page helpful?
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.