This section covers the components and actions taken when a user or service creates a session using the CFS sessions endpoint.
CFS-API
also posts an event to a Kafka queue.CFS-Operator
is always monitoring the Kafka queue, and handles events as they come in.CFS-Operator
creates a Kubernetes job for the session in response to a session creation event.CFS-Operator
monitors the Kubernetes job (not the pod) for completion.CFS-Operator
updates the session record in the CFS-API
.This section covers the components and actions taken when a user or service sets a desired configuration for a component, causing automatic configuration to occur.
CFS-State-Reporter
runs on the node, and contacts the CFS-API
to enable and clear the state for the current node. This will always trigger
the next steps for configuration as long as a desired configuration is set for the node.CFS-Batcher
monitors the CFS-API
, periodically querying for enabled components with a pending
configuration status. (The status is determined by the API at
query time based on the desired and current state of the component). Any components found are placed into batches.CFS-Batcher
calls the CFS-API
to create sessions for each batch, using the ansible-limit
parameter to limit each session to the components in a batch.CFS-API
creates a session record and session creation event. See Single session flow for details.CFS-Operator
monitors for session creation events. See Single session flow for details.CFS-Operator
creates a Kubernetes job. See Single session flow for details.configured
status due to failure or other reasons, return to step 4.