feat: add a2a-ord-demo deployment (spaceship-app + super-agent)#2
Open
zongqichen wants to merge 1 commit into
Open
feat: add a2a-ord-demo deployment (spaceship-app + super-agent)#2zongqichen wants to merge 1 commit into
zongqichen wants to merge 1 commit into
Conversation
Add Kubernetes manifests for deploying the a2a-ord-demo application (https://github.com/open-resource-discovery/a2a-ord-demo) consisting of two services: - spaceship-app: hosts two A2A crew agents (Solar System Explorer, Repair Technician) discoverable via ORD - super-agent: the Spaceship Commander that discovers crew agents via ORD and delegates tasks to them via A2A
Owner
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add deployment manifests for the a2a-ord-demo application — two A2A agents that demonstrate ORD-based agent discovery and A2A communication.
Services
a2a-spaceship-app:locala2a-super-agent:localHow it works
spaceship-appexposes an ORD document at/.well-known/open-resource-discoverydescribing two A2A agentssuper-agentreadsspaceship-app's ORD document (viaORD_SOURCE_URL) to discover available crew agentssuper-agent, it selects the appropriate crew agent and delegates via A2AThe manifests currently use locally built images with
imagePullPolicy: Never. To deploy:Once the images are published to ghcr.io, update
deployment.yamlto use the registry images and removeimagePullPolicy: Never.Accessing via port-forward
Note on
SERVER_URLSERVER_URLcontrols the base URL in A2A agent cards and ORD documents. It defaults to in-cluster Service DNS (http://spaceship-app:3000) so that super-agent can reach spaceship-app's A2A endpoints.When testing agent cards from a browser (e.g. A2A editor) via port-forward, the agent card URLs will point to the in-cluster address which the browser cannot reach. Use the direct endpoints listed above instead, or temporarily override:
kubectl set env deployment/spaceship-app SERVER_URL=http://localhost:4001localhost:4001from inside the cluster). Revert after testing:kubectl set env deployment/spaceship-app SERVER_URL=http://spaceship-app:3000