ako_ingress_diagnose
Diagnose why an Ingress lacks an AVI Virtual Service by validating IngressClass, TLS secrets, and backend Services. Returns issues with fix suggestions.
Instructions
[READ] Diagnose why a specific Ingress has no corresponding AVI Virtual Service.
Reads the Ingress and validates three things: IngressClass is 'avi' or 'avi-lb', each referenced TLS secret exists, and every backend Service exists in the namespace. Returns the Ingress annotations, a numbered issue list, and concrete fix suggestions (kubectl commands). If configuration is clean, it points you to ako_logs and ako_sync_status as next steps. Use ako_ingress_map first to find which Ingresses are missing a VS, then diagnose one here.
Args: name: Exact Ingress resource name. Fails with 'not found' if absent. namespace: K8s namespace containing the Ingress (default 'default'). context: kubeconfig context name (optional; uses current context). Discover context names with ako_clusters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| namespace | No | default | |
| context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |