Skip to content

Kubectl-ai | MaxIterations Question | Bedrock Bug #599

@rgleme

Description

@rgleme

Hello

When I am running any command inside kubectl-ai, it tries to run multiple times until maxIterations is reached.
No matter how I change maxIterations value.
How can I only get the value intended ?

Thank you

kubectl-ai

  Hey there, what can I help you with today?

>>> list running pods

  Running: kubectl get pods

  Running: kubectl get namespaces

  Running: kubectl get nodes

  Running: kubectl get storageclass

  Running: kubectl get pods --namespace default

  Running: kubectl get pods --all-namespaces

  Running: kubectl get services

  Running: kubectl get deployment

  Running: kubectl get pv

  Running: kubectl get pvc

  Maximum number of iterations reached.

My config file

llmProvider: bedrock
model: us.anthropic.claude-sonnet-4-20250514-v1:0

maxIterations: 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions