Pipeline optimization: Kubernetes
This guide describes how to deploy the pipeline resource optimization service (Groundswell) for Seqera Platform Enterprise on Kubernetes.
Prerequisites
Before you begin, you need:
- A running Seqera Platform Enterprise Kubernetes deployment
- Access to your MySQL database
Procedure
-
Download the groundswell manifest.
-
Set
TOWER_ENABLE_GROUNDSWELL=truein yourconfigmap.yml.To use a custom URL, set
GROUNDSWELL_SERVER_URLinstead. -
Create the Groundswell database schema:
CREATE DATABASE IF NOT EXISTS `swell`;
CREATE USER 'swell'@'%' IDENTIFIED BY 'swell';
GRANT ALL PRIVILEGES ON *.* TO 'swell'@'%';
FLUSH PRIVILEGES;For managed database services (RDS, Cloud SQL, etc.):
CREATE DATABASE IF NOT EXISTS `swell`;
CREATE USER 'swell'@'%' IDENTIFIED BY 'swell';
GRANT ALL PRIVILEGES ON `%`.* TO 'swell'@'%';
FLUSH PRIVILEGES; -
Update the Groundswell ConfigMap (
tower-groundswell-cfg) with your database credentials. -
Apply the manifests:
kubectl apply -f configmap.yml
kubectl apply -f groundswell.yml -
Restart the backend:
kubectl rollout restart deployment/backend
The initContainers process waits for both databases to be ready before starting the migration and optimization service.
Verify
When pipeline optimization is active, pipelines with at least one successful run display a lightbulb icon in the Launchpad.
Configuration
See Pipeline resource optimization for additional configuration options.