Actions
- Actions are a core feature within the platform designed to automate on-demand operational tasks. Architecturally, an Action executes a single, containerized step.
- Each invocation of an Action is recorded as an immutable Action Run.
Why Use Actions?
- Actions are designed to codify and automate tasks that are frequently manual, error-prone, or require ad-hoc scripting.
- Common examples include creating a database snapshot, clearing a Redis cache, running a security compliance scan, restarting a specific application pod, or executing a data migration script.
- In traditional workflows, these operational tasks create a dependency on the DevOps or Platform Engineering team, often managed through a ticketing system. This creates a significant bottleneck that slows down development cycles.
- Actions directly address this by transforming these tasks into governed, self-service capabilities for developers.
Discovering and Running an Action
To find and execute an Action on a specific resource:
- Navigate to a resource (e.g., an aws-rds instance) within an Environment on your Facets dashboard.
- Select the Actions tab associated with that resource. This view lists all Actions that have been defined to target this specific resource type.
- Review the list of available Actions, noting their names and descriptions.
- Click the Run button for the desired Action.
- A modal form will appear, prompting for any input parameters required by the Action.
- Populate the required fields and click Execute to initiate the Action Run.
Monitoring Action Runs
To monitor the progress and review the history of an Action:
- Navigate to the resource where the Action was run.
- Select the Action Runs tab. This provides a historical log of all executions for that resource.
- Click on a specific Action Run to view its details, including its real-time status, start and end timestamps, the user who triggered it, and detailed logs.
Available Actions (provided by Facets):
- Scaling of service
- Rollout restart service
- Helm history (for helm resource)
- Helm rollback (for helm resource)
You can define your customs actions as well. Read More
Updated about 2 hours ago