Jobs
Jobs in Ctrlplane represent external running processes, typically integrating with your existing CI/CD tools such as GitHub Actions, GitLab CI/CD, Kubernetes Jobs, Argo Workflows, and others. These jobs reflect the status of processes running in external systems, providing a centralized view of your deployment activities across various platforms.
Purpose of Jobs in Ctrlplane
The primary purpose of jobs in Ctrlplane is to:
- Reflect the status of external processes
- Provide a unified view of deployment activities
- Enable orchestration and coordination across different CI/CD tools
It’s important to note that Ctrlplane is not meant to replace your existing CI/CD tools, but rather to complement them by providing additional orchestration capabilities.
Job Creation Triggers
Jobs in Ctrlplane can be created by various events:
- New releases
- New resources added to an environment
- Changes in filtering labels of an environment or resource
- Manual intervention
- Triggering of a runbook
Job Agents
Job agents are the key components that facilitate the integration between Ctrlplane and external CI/CD systems. When a job needs to be triggered, Ctrlplane uses the appropriate job agent to initiate the process in the underlying CI/CD tool.
Job agents are responsible for:
- Triggering jobs in the external system
- Keeping the job status in Ctrlplane synchronized with the external system
Benefits of Using Ctrlplane for Job Management
While it’s recommended to use the native interfaces of your CI/CD tools for real-time information, Ctrlplane offers several advantages:
- Centralized View: Ctrlplane provides a unified interface to monitor jobs across different CI/CD platforms.
- Advanced Orchestration: Based on configured policies, resources, and environments, Ctrlplane can orchestrate complex deployment scenarios that may involve multiple CI/CD systems.
- Automated Triggering: Ctrlplane can automatically trigger jobs based on various events, reducing manual intervention.
- Cross-Platform Coordination: Ctrlplane can coordinate jobs across different CI/CD platforms, enabling more complex deployment strategies.
Best Practices
- Use Native Tools for Detailed Monitoring: While Ctrlplane provides status updates, use the native interfaces of your CI/CD tools for detailed, real-time information about job execution.
- Leverage Ctrlplane for Orchestration: Use Ctrlplane’s features to orchestrate complex deployment scenarios that involve multiple systems or stages.
- Regular Synchronization: Ensure that your job agents are configured to regularly synchronize status information between Ctrlplane and your CI/CD tools.
By leveraging jobs and job agents in Ctrlplane, you can streamline your deployment processes, gain better visibility across your CI/CD landscape, and implement more sophisticated deployment strategies that span multiple tools and platforms.