Connection with Compass
Runtime Agent connects to Compass using a one-time token from the Connector and exchanges it for a certificate, which is later used to fetch Applications from the Director.
The initial connection requires the following parameters:
|RUNTIME_ID||ID of the Runtime registered in the Director|
|TOKEN||One-time token generated for the Runtime|
Runtime Agent reads this configuration from the Secret specified in the Runtime Agent Deployment (
compass-agent-configuration by default).
To see how to create the Secret, see the tutorial.
The connection status is preserved in the CompassConnection custom resource (CR). This CR also stores the Connector URL and the Director URL.
If the connection with Compass fails, Runtime Agent keeps trying to connect with the token from the Secret. If the connection is established successfully, Runtime Agent ignores the Secret until the connection is lost.
To see how to reconnect Runtime Agent with Compass, see the tutorial.