You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(kagent): Default Kagent bundled agents crash loop due to missing secrets #89
When installing Kagent without the --set agents.*.enabled=false flags documented in kagent-feast-mcp/README.md (lines 138-149), the default bundled agents (argo-rollouts-conversion-agent, cilium-debug-agent, k8s-agent, etc.) crash loop with CreateContainerConfigError because they expect a kagent-openai secret that doesn't exist in this project's setup.
These agents collectively consume ~2.3GB of RAM before crashing, which on constrained environments (e.g., 8GB WSL2 hosts) prevents the actual kubeflow-docs-agent pod from being scheduled.
Current Mitigation
The README Step 6 already includes the correct --set flags to disable these agents. However:
If a contributor installs kagent from the upstream kagent docs (without these flags), they hit this crash with no explanation.
There's no troubleshooting entry for CreateContainerConfigError or kagent-openai secret in the README.
Proposed Fix
Add a Troubleshooting entry to kagent-feast-mcp/README.md under the existing Troubleshooting section:
### Default agents crash with CreateContainerConfigError
If you installed kagent without the `--set agents.*.enabled=false` flags from Step 6,
the bundled agents will crash because they require a `kagent-openai` secret.
Either reinstall with the flags above, or delete the extra agents:
kubectl delete agent argo-rollouts-conversion-agent cilium-debug-agent \
cilium-manager-agent cilium-policy-agent helm-agent istio-agent \
k8s-agent kgateway-agent observability-agent promql-agent -n <YOUR_NAMESPACE>
Hi — I’d be happy to help improve the documentation around this.
I can add a clear troubleshooting section in kagent-feast-mcp/README.md explaining:
The CreateContainerConfigError symptom
Why the default bundled agents expect the kagent-openai secret
How to reinstall Kagent with the correct --set agents.*.enabled=false flags
How to clean up already-created agents if the flags were missed
I’ll structure it under the existing Troubleshooting section to keep onboarding smoother for new contributors, especially those working in constrained local environments.
Please let me know if this aligns with expectations, and I can open a PR.
Activity
asfandyar-prog commentedon Mar 2, 2026
Hi — I’d be happy to help improve the documentation around this.
I can add a clear troubleshooting section in kagent-feast-mcp/README.md explaining:
The CreateContainerConfigError symptom
Why the default bundled agents expect the kagent-openai secret
How to reinstall Kagent with the correct --set agents.*.enabled=false flags
How to clean up already-created agents if the flags were missed
I’ll structure it under the existing Troubleshooting section to keep onboarding smoother for new contributors, especially those working in constrained local environments.
Please let me know if this aligns with expectations, and I can open a PR.
chasecadet commentedon Nov 20, 2026
Thank you for reporting this!
We are closing pre-restructure issues targeting the legacy
server/,server-https/,manifests/,kagent-feast-mcp/, or in-processSentenceTransformerprototype code. In #207, #210, #233, #240, and #249,kubeflow/docs-agentmigrated to dedicated TEI (text-embeddings-inference), FastMCP (docs-agent-mcp/mcp-server/), shared modular KFP pipelines (docs-agent-mcp/pipelines/), and Helm charts (docs-agent-mcp/charts/).If you still observe an equivalent issue on the current
mainstack, please feel free to open a new issue using the current issue templates.