feat(embedded): add network SP to environment-agent - #34
Conversation
PR Summary by QodoAdd embedded Kubernetes network service provider
AI Description
Diagram
High-Level Assessment
Files changed (47)
|
Code Review by Qodo
1. Shutdown can lose network status events
|
1ab27a2 to
aa1da5c
Compare
Implements network service provider enabled via AGENT_EMBEDDED_SPS=network and exposed at embedded://network endpoint. - Define network/v1alpha1 API spec with ports, routing levels, and Kubernetes provider hints - Implement Kubernetes store with create, get, list, and delete operations plus label-based filtering - Add validation layer for routing levels, node ports, and service type constraints - Wire HTTP handler and health checks into embedded server bundles - Add NATS monitoring for LoadBalancer Services publishing status events to dcm.network when external IPs are assigned (PENDING → READY → DELETED) - Implement StatusMonitor with Service informer, debouncer (500ms), and graceful shutdown Include unit and integration tests covering Service lifecycle, error cases and monitoring Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Paweł Waresiak <pwaresia@redhat.com>
aa1da5c to
e6afbb6
Compare
Implements network service provider enabled via
AGENT_EMBEDDED_SPS=network and exposed at embedded://network endpoint.
Include unit and integration tests covering Service lifecycle, error cases and monitoring