Conversation
Signed-off-by: Paige Patton <[email protected]>
✅ Deploy Preview for krkn-chaos ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Review Summary by QodoAdd health check plugins documentation and developer guide
WalkthroughsDescription• Add comprehensive health check plugins documentation for developers • Document HTTP and KubeVirt health check plugin configurations • Provide step-by-step guide for creating custom health check plugins • Add cross-references between health check and developer guide pages Diagramflowchart LR
A["Developers Guide Index"] -->|"links to"| B["Health Check Plugins Guide"]
B -->|"documents"| C["HTTP Health Check Plugin"]
B -->|"documents"| D["KubeVirt Health Check Plugin"]
B -->|"guides creation of"| E["Custom Health Check Plugins"]
C -->|"cross-references"| F["HTTP Health Checks Page"]
D -->|"cross-references"| G["KubeVirt Checks Page"]
F -->|"links to"| B
G -->|"links to"| B
File Changes1. content/en/docs/developers-guide/_index.md
|
Code Review by Qodo
1. KubeVirt config nesting mismatch
|
| kubevirt_checks: | ||
| interval: 5 | ||
| config: | ||
| namespace: "my-namespace" | ||
| node_name: "worker-1" # optional: filter VMIs by node | ||
| exit_on_failure: false | ||
| disconnected_mode: false # track VMs that become unreachable | ||
| only_failures: true # only record failed checks in telemetry | ||
| batch_size: 10 # VMIs to check concurrently (0 = no limit) | ||
| ssh_port: 22 | ||
| ssh_user: "cloud-user" | ||
| ssh_private_key: "/path/to/key" | ||
| ``` |
There was a problem hiding this comment.
1. Kubevirt config nesting mismatch 🐞 Bug ✓ Correctness
The new Health Check Plugins page documents kubevirt_checks configuration nested under a config: key and uses field names that conflict with existing virt-check docs, so users copying the example will produce a config that doesn’t match the documented kubevirt_checks shape elsewhere in this site.
Agent Prompt
## Issue description
`health-check-plugins.md` documents `kubevirt_checks` in a nested `config:` structure with different field names than the existing `virt-checks.md` and `config.md` pages, which will cause users to build incorrect configs.
## Issue Context
This repo is the docs site; consistency across docs is required to prevent misconfiguration.
## Fix Focus Areas
- content/en/docs/developers-guide/health-check-plugins.md[71-90]
- content/en/docs/krkn/virt-checks.md[39-50]
- content/en/docs/krkn/config.md[337-351]
## What to change
- Update the KubeVirt example to match the documented `kubevirt_checks` shape (top-level fields), and use the same field names (`disconnected` vs `disconnected_mode`, `node_names` vs `node_name`, etc.).
- If the nested `config:` shape is actually the intended new schema, then update *all* related docs pages (`virt-checks.md`, `config.md`) accordingly and clarify migration.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Documentation Update
Related Feature:
Please include the branch name where you have made changes or added new features/scenario that we need on the website (e.g.,
krkn/new_scenario) in the title of this PR.Changes:
Documenting krkn-chaos/krkn#1176