Skip to content

Improve Agent Deployment Status #52

@g3force

Description

@g3force

Overview

Currently, it is difficult to quickly identify deployment issues within the Agent CRD. Deployment errors are not reflected in the Agent’s status.

A new Status field should be introduced in the Agent resource to track the Ready status (true/false) of the deployment. This status will allow for a rapid assessment of whether the Agent deployment is functional.

Error Handling Behavior

If the deployment is not ready or errors occur, this must be displayed in the Agent status. Errors should not be passed through 1:1; instead, they should be presented in an aggregated form.

Example: An Agent references a Secret or a ConfigMap that does not exist:

Deployment reports: Error: Secret "agent-config" not found in namespace "default"

Agent Status (Optional): Deployment not ready: Referenced resources missing

This enables fast error diagnosis without overloading the Agent status with granular deployment error logs.

Next Steps

Once completed, additional tickets should be created for other CRDs (ToolServer, Gateways, etc.) with specific instructions or references to how this implementation was handled.

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions