kubectl-ai icon indicating copy to clipboard operation
kubectl-ai copied to clipboard

Add eval for describing nginx deployment

Open dineshcsdev opened this issue 7 months ago • 2 comments

dineshcsdev avatar May 09 '25 07:05 dineshcsdev

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar May 09 '25 07:05 google-cla[bot]

✨ Added evaluation logic for describe nginx in k8s-bench.

🧪 What this PR does:

  • Introduced basic round() usage to evaluate command output.
  • Modified function name from round_ to round to simplify usage.
  • Ensured compatibility with latest kubectl output format.

📦 Why this PR? This adds support to evaluate the output of kubectl describe nginx, improving the AI's ability to score command answers effectively.

🧠 Suggestions and feedback welcome!

dineshcsdev avatar May 09 '25 08:05 dineshcsdev