Skip to main content
Version: 25.3

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

  1. Download the groundswell manifest.

  2. Set TOWER_ENABLE_GROUNDSWELL=true in your configmap.yml.

    To use a custom URL, set GROUNDSWELL_SERVER_URL instead.

  3. 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;
  4. Update the Groundswell ConfigMap (tower-groundswell-cfg) with your database credentials.

  5. Apply the manifests:

    kubectl apply -f configmap.yml
    kubectl apply -f groundswell.yml
  6. 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.