astroctl_infra_kubernetes_register_agent_update
astroctl infra kubernetes register agent update
Update the agent on a registered cluster
Synopsis
Update the Astro agent on a cluster that is already registered.
This re-fetches the latest agent manifest from the platform and re-applies it to the cluster. Use this to pick up image updates, configuration changes, or certificate rotations without re-registering the cluster.
The cluster must be in REGISTERED state to update the agent.
astroctl infra kubernetes register agent update [flags]
Examples
# Update agent to latest version
astroctl infra k8s register agent update --cluster-name my-cluster
# Dry-run: show updated manifest without applying
astroctl infra k8s register agent update --cluster-name my-cluster --dry-run
# Update using specific kubeconfig
astroctl infra k8s register agent update --cluster-name my-cluster --kubeconfig /path/to/kubeconfig
Options
--agent-name string Name of the registered cluster (alias for --cluster-name)
-c, --cluster-name string Name of the registered cluster
--context string Kubectl context to use
--dry-run Print updated manifest without applying
-h, --help help for update
--kubeconfig string Path to kubeconfig file (defaults to current context)
-n, --namespace string Namespace for the agent (default "astroplatform-system")
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl infra kubernetes register agent - Install the registration agent on a cluster