Run agent stages as Azure Container Apps jobs
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
For the person who operates the platform. Procedure connector.runtime.aca, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type runtime/aca.
It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- An Azure subscription, a resource group and a Container Apps environment, and a registry that holds the runner image.
- A user-assigned managed identity with pull rights on the registry: the job pulls its image with it, so no cloud credential is held by the runner.
- See the deployment guide and the
github-acatemplate.
At Azure
Section intitulée « At Azure »- Create an app registration (service principal) for the platform and a client secret; note the tenant id, client id and the secret’s Value.
- Give it a role that can create and start jobs in the resource group (for example a custom role on
Microsoft.App/jobs/*; check Azure’s built-in roles for the narrowest that fits). - Note the environment’s resource id, the managed identity’s resource id and the registry host.
- Optional: a Log Analytics workspace, so the platform can read the job’s logs. Without it, logs say where to look instead of showing nothing.
Permissions
Section intitulée « Permissions »The service principal creates and starts jobs; the managed identity only pulls images. The run’s token is
a job secret referenced by secretRef, never an environment variable in clear.
In Tranibor
Section intitulée « In Tranibor »Set runner.executor: aca in the chart and declare the connector: subscription_id, resource_group,
environment_id (required), location (default westeurope), tenant_id, client_id, client_secret
(password field; or a ready token instead of the three identity fields), identity_id, registry_server and log_analytics_workspace_id.
The job runs outside the cluster and calls the platform back, so it needs an address it can reach: the
in-cluster Service is not one. Give runs a hostname of their own, a run door: list it in
tranibor-api.runDoor.hostnames (the chart then routes it to the run’s API and to nothing else), serve
it over TLS, allow only the addresses your Container Apps environment leaves from where your ingress
can, and set global.internalApiUrl to https://<that hostname>. The deployment guide has the steps
under “The run’s API and the run door”.
Start a run on a test project: the job appears in the resource group and its execution finishes.
When it fails
Section intitulée « When it fails »AuthorizationFailed: the service principal’s role does not cover the resource group.- The job cannot pull its image: the managed identity lacks pull rights on the registry.
- No logs: no Log Analytics workspace is configured.
- A timeout: the egress allowlist must open
management.azure.comandlogin.microsoftonline.com. - The job starts and ends within seconds, “input not found”: its first call back did not get through.
A connection error means
global.internalApiUrlis not reachable from the Container Apps environment. A404means the API refused the hostname the job called: it is a public hostname of the API and not a run door, whiletranibor-api.internalApiGuardisenforce.
| Field | What to put in it |
|---|---|
client_id |
the service principal’s application id |
client_secret |
the service principal’s secret, typed once |
environment_id |
the Container Apps environment’s resource id |
identity_id |
the managed identity the job uses to pull its image |
log_analytics_workspace_id |
where the job’s logs are read |
registry_server |
the container registry’s host |
resource_group |
the resource group of the jobs |
subscription_id |
the Azure subscription |
tenant_id |
the Entra tenant |
token |
an Azure Resource Manager access token you already hold, instead of tenant_id, client_id and client_secret |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
management.azure.comlogin.microsoftonline.comapi.loganalytics.io