force_ako_sync
Force AKO to resync all Kubernetes resources with the AVI Controller by restarting the AKO pod. Previews the blast radius first; requires explicit confirmation to apply.
Instructions
[WRITE] Force AKO to resync all K8s resources with the AVI Controller.
The resync restarts the AKO pod so it rebuilds every Virtual Service, pool and VS-VIP from the cluster's current resources. Without confirm=True this only previews: it returns blast_radius (context, namespace, the pod's name, uid and phase, and the Ingresses it re-programs) and changes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user asked earlier: they have not seen what it changes yet.
Refused with confirm=True: a pod already terminating, and a pod or Ingress list that cannot be read. Use when drift is detected; may cause brief traffic disruption. Run diff_ako_sync first to see what is out of sync, then get_ako_sync_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | False (default) returns the blast radius and changes nothing. True applies it. | |
| context | No | K8s context name (optional). | |
| confirmed | No | Deprecated alias for confirm; removed in the next minor release. confirmed=False holds even when confirm=True. |