ako_sync_force
Force AKO to resync Kubernetes resources with the AVI Controller after detecting drift. Requires confirmed=true to execute; otherwise returns a preview. May cause brief traffic disruption.
Instructions
[WRITE] Force AKO to resync all K8s resources with the AVI Controller.
Returns a one-line result. Use when drift is detected; may cause brief traffic disruption. Run ako_sync_diff first to see what is out of sync, then ako_sync_status.
SAFETY: requires confirmed=True; without it you get a preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | K8s context name (optional). | |
| confirmed | No | false (the default) returns a preview and changes nothing; true forces the resync, which restarts the AKO pod so it rebuilds every Virtual Service, pool and VS-VIP from the cluster's current resources — brief traffic disruption is possible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |